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

Unified Diff: appengine/tsmon/standardmetrics.go

Issue 2870293002: Introduce luci-go components version metric. (Closed)
Patch Set: luci-go/appengine is actually not imported by anything >_< Created 3 years, 7 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/gaemiddleware/version.go ('k') | common/tsmon/versions/versions.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 54432b14d0dda632c29c0d8008a527779f268c55..b5c3a3c4d24d7b4fa2de26a4238b754a3468ae2f 100644
--- a/appengine/tsmon/standardmetrics.go
+++ b/appengine/tsmon/standardmetrics.go
@@ -12,6 +12,7 @@ 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/versions"
)
var (
@@ -40,6 +41,7 @@ func collectGlobalMetrics(c context.Context) {
//
// It is called by each individual process right before flushing the metrics.
func collectProcessMetrics(c context.Context, s *tsmonSettings) {
+ versions.Report(c)
if s.ReportRuntimeStats {
runtimestats.Report(c)
}
« no previous file with comments | « appengine/gaemiddleware/version.go ('k') | common/tsmon/versions/versions.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698