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

Unified Diff: appengine/swarming/swarming_rpcs.py

Issue 2212073002: Add endpoint and cron job to aggregate all dimensions and values (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Address nits Created 4 years, 4 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 | « appengine/swarming/server/bot_management.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/swarming_rpcs.py
diff --git a/appengine/swarming/swarming_rpcs.py b/appengine/swarming/swarming_rpcs.py
index 9f3c667e6e1863676273d594f02abe9f07d722ed..e000c40a23e95d38870f85a7ca1422ca8a11a0a1 100644
--- a/appengine/swarming/swarming_rpcs.py
+++ b/appengine/swarming/swarming_rpcs.py
@@ -383,6 +383,13 @@ class BotsCount(messages.Message):
busy = messages.IntegerField(5)
+class BotsDimensions(messages.Message):
+ """Returns all the dimensions and dimension possibilities in the fleet."""
+ bots_dimensions = messages.MessageField(StringListPair, 1, repeated=True)
+ # Time at which this summary was calculated.
+ ts = message_types.DateTimeField(2)
+
+
class BotEvent(messages.Message):
# Timestamp of this event.
ts = message_types.DateTimeField(1)
« no previous file with comments | « appengine/swarming/server/bot_management.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698