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

Unified Diff: appengine/tsmon/standardmetrics.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: Specify the unit of logdog/collector/subscription/processing_time_ms with types.Milliseconds 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 | « appengine/tsmon/middleware_test.go ('k') | client/cmd/luci_machine_tokend/status.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/tsmon/standardmetrics.go
diff --git a/appengine/tsmon/standardmetrics.go b/appengine/tsmon/standardmetrics.go
index c8bcfec6e77d57b8f5c46a51db4a0aa95163cd2e..88ece53568e47ae6bad2a7acec0576dec1f0edf4 100644
--- a/appengine/tsmon/standardmetrics.go
+++ b/appengine/tsmon/standardmetrics.go
@@ -12,12 +12,14 @@ import (
"github.com/luci/luci-go/common/tsmon"
"github.com/luci/luci-go/common/tsmon/metric"
"github.com/luci/luci-go/common/tsmon/runtimestats"
+ "github.com/luci/luci-go/common/tsmon/types"
)
var (
defaultVersion = metric.NewCallbackString(
"appengine/default_version",
- "Name of the version currently marked as default.")
+ "Name of the version currently marked as default.",
+ types.MetricMetadata{})
)
// collectGlobalMetrics populates service-global metrics.
« no previous file with comments | « appengine/tsmon/middleware_test.go ('k') | client/cmd/luci_machine_tokend/status.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698