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

Unified Diff: appengine/machine_provider/metrics.py

Issue 2705273003: Roll infra_libs and gae_ts_mon in luci-py, and add field_specs to all metrics (Closed)
Patch Set: Rebase Created 3 years, 9 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/gce-backend/metrics.py ('k') | appengine/swarming/swarming_bot/bot_code/bot_main.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/machine_provider/metrics.py
diff --git a/appengine/machine_provider/metrics.py b/appengine/machine_provider/metrics.py
index 13b8b7ad330ced156be88b8167b8a4148ea8e27c..4620c8e00b635a895a93d2ad682d55650238b45f 100644
--- a/appengine/machine_provider/metrics.py
+++ b/appengine/machine_provider/metrics.py
@@ -9,29 +9,29 @@ import gae_ts_mon
lease_requests_deduped = gae_ts_mon.CounterMetric(
'machine_provider/lease_requests/deduped',
- description='Number of lease requests deduplicated.',
-)
+ 'Number of lease requests deduplicated.',
+ None)
lease_requests_expired = gae_ts_mon.CounterMetric(
'machine_provider/lease_requests/expired',
- description='Number of lease requests expired.',
-)
+ 'Number of lease requests expired.',
+ None)
lease_requests_fulfilled = gae_ts_mon.CounterMetric(
'machine_provider/lease_requests/fulfilled',
- description='Number of lease requests fulfilled.',
-)
+ 'Number of lease requests fulfilled.',
+ None)
lease_requests_received = gae_ts_mon.CounterMetric(
'machine_provider/lease_requests/received',
- description='Number of lease requests received.',
-)
+ 'Number of lease requests received.',
+ None)
pubsub_messages_sent = gae_ts_mon.CounterMetric(
'machine_provider/pubsub_messages/sent',
- description='Number of Pub/Sub messages sent.',
-)
+ 'Number of Pub/Sub messages sent.',
+ [gae_ts_mon.StringField('target')])
« no previous file with comments | « appengine/gce-backend/metrics.py ('k') | appengine/swarming/swarming_bot/bot_code/bot_main.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698