OLD | NEW |
1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 syntax = "proto3"; | 5 syntax = "proto3"; |
6 | 6 |
7 package recipe_engine; | 7 package recipe_engine; |
8 | 8 |
9 // Arguments is a protobuf that can be supplied to the recipe engine through its | 9 // Arguments is a protobuf that can be supplied to the recipe engine through its |
10 // "--operational-args-path" command-line parameter in JSONPB format. | 10 // "--operational-args-path" command-line parameter in JSONPB format. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 message AnnotationFlags { | 57 message AnnotationFlags { |
58 // If true, emit CURRENT_TIMESTAMP annotations. | 58 // If true, emit CURRENT_TIMESTAMP annotations. |
59 bool emit_timestamp = 1; | 59 bool emit_timestamp = 1; |
60 | 60 |
61 // If true, emit all input properties as annotations at the beginning of | 61 // If true, emit all input properties as annotations at the beginning of |
62 // recipe engine execution. | 62 // recipe engine execution. |
63 bool emit_initial_properties = 2; | 63 bool emit_initial_properties = 2; |
64 } | 64 } |
65 // Annotation control flags. | 65 // Annotation control flags. |
66 AnnotationFlags annotation_flags = 2; | 66 AnnotationFlags annotation_flags = 2; |
| 67 |
| 68 // LogDog flags. |
| 69 // |
| 70 // If the "streamserver_uri" is provided, recipe output will be forwarded |
| 71 // through LogDog streams using Milo's Annotation Protobuf instead of |
| 72 // STDOUT/STDERR and classic @@@annotations@@@. |
| 73 message LogDogFlags { |
| 74 // The LogDog streamserver URI. |
| 75 string streamserver_uri = 1; |
| 76 |
| 77 // The log stream base name. If provided, generated stream names will be |
| 78 // prefixed with "<name_base>/". This must be a valid LogDog stream name. |
| 79 string name_base = 2; |
| 80 |
| 81 // If true, tee output through STDOUT/STDERR using inline @@@annotation@@@ |
| 82 // markers in addition to LogDog streaming. |
| 83 bool tee = 3; |
| 84 } |
| 85 LogDogFlags logdog = 3; |
67 } | 86 } |
OLD | NEW |