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

Unified Diff: appengine/gce-backend/metrics.py

Issue 2708113002: Revert of Add field_specs to all metrics in luci-py (Closed)
Patch Set: Created 3 years, 10 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 | appengine/machine_provider/metrics.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/gce-backend/metrics.py
diff --git a/appengine/gce-backend/metrics.py b/appengine/gce-backend/metrics.py
index aeafba5faac8df93986983d0b568514bb94652eb..e8cb950ce1239220f01228ac5525b6c85211bc92 100644
--- a/appengine/gce-backend/metrics.py
+++ b/appengine/gce-backend/metrics.py
@@ -26,16 +26,14 @@
GLOBAL_METRICS = {
'instances': gae_ts_mon.GaugeMetric(
'machine_provider/gce_backend/instances',
- 'Current count of the number of instances.',
- [gae_ts_mon.StringField('instance_template')]
+ description='Current count of the number of instances.',
),
}
config_valid = gae_ts_mon.BooleanMetric(
'machine_provider/gce_backend/config/valid',
- 'Whether or not the current config is valid.',
- [gae_ts_mon.StringField('config')],
+ description='Whether or not the current config is valid.',
)
« no previous file with comments | « no previous file | appengine/machine_provider/metrics.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698