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

Unified Diff: common/tsmon/types/metric.go

Issue 2123853002: Added unit annotation supports onto tsmon in go. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: 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
Index: common/tsmon/types/metric.go
diff --git a/common/tsmon/types/metric.go b/common/tsmon/types/metric.go
index 91a89998485c89b1a73d506600fd384f7bf6079a..fca2c3a5b344f981100452df0442e5e439b3c657 100644
--- a/common/tsmon/types/metric.go
+++ b/common/tsmon/types/metric.go
@@ -14,6 +14,7 @@ import (
// Concrete types are defined in the "metrics" package.
type Metric interface {
Info() MetricInfo
+ Metadata() MetricMetadata
// SetFixedResetTime overrides the reset time for this metric. Usually cells
// take the current time when they're first assigned a value, but it can be

Powered by Google App Engine
This is Rietveld 408576698