Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Unified Diff: recipe_engine/arguments.proto

Issue 2265673002: Add LogDog / annotation protobuf support. (Closed) Base URL: https://github.com/luci/recipes-py@step-formal-struct
Patch Set: pylint, fix comments Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | recipe_engine/arguments_pb2.py » ('j') | recipe_engine/stream_logdog.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_engine/arguments.proto
diff --git a/recipe_engine/arguments.proto b/recipe_engine/arguments.proto
index e639466d9979435e435d00e5c715339c5f36bc44..579cd41d13cdc12d79d5613ead632669d82949c7 100644
--- a/recipe_engine/arguments.proto
+++ b/recipe_engine/arguments.proto
@@ -64,4 +64,23 @@ message Arguments {
}
// Annotation control flags.
AnnotationFlags annotation_flags = 2;
+
+ // LogDog flags.
+ //
+ // If the "streamserver_uri" is provided, recipe output will be forwarded
+ // through LogDog streams using Milo's Annotation Protobuf instead of
+ // STDOUT/STDERR and classic @@@annotations@@@.
+ message LogDogFlags {
+ // The LogDog streamserver URI.
+ string streamserver_uri = 1;
+
+ // The log stream base name. If provided, generated stream names will be
+ // prefixed with "<name_base>/". This must be a valid LogDog stream name.
+ string name_base = 2;
+
+ // If true, tee output through STDOUT/STDERR using inline @@@annotation@@@
+ // markers in addition to LogDog streaming.
+ bool tee = 3;
+ }
+ LogDogFlags logdog = 3;
}
« no previous file with comments | « no previous file | recipe_engine/arguments_pb2.py » ('j') | recipe_engine/stream_logdog.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698