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

Unified Diff: infra_libs/ts_mon/common/metrics.py

Issue 2119933003: Add Configurable metric_name_prefix (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Add trailing slash Created 4 years, 5 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 | « infra_libs/ts_mon/common/interface.py ('k') | infra_libs/ts_mon/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: infra_libs/ts_mon/common/metrics.py
diff --git a/infra_libs/ts_mon/common/metrics.py b/infra_libs/ts_mon/common/metrics.py
index 4596f4c90885aa259ca405e8b60c7448017330ee..33a543761940d2f758dd5294ec722b361daeadbb 100644
--- a/infra_libs/ts_mon/common/metrics.py
+++ b/infra_libs/ts_mon/common/metrics.py
@@ -94,7 +94,7 @@ class Metric(object):
"""
metric_pb = collection_pb.data.add()
- metric_pb.metric_name_prefix = '/chrome/infra/'
+ metric_pb.metric_name_prefix = interface.state.metric_name_prefix
metric_pb.name = self._name
if self._description is not None:
metric_pb.description = self._description
« no previous file with comments | « infra_libs/ts_mon/common/interface.py ('k') | infra_libs/ts_mon/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698