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

Unified Diff: appengine/tsmon/middleware.go

Issue 2290993002: Always set presence/up from go tsmon apps. (Closed)
Patch Set: Created 4 years, 4 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 | common/tsmon/metric/metric_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/tsmon/middleware.go
diff --git a/appengine/tsmon/middleware.go b/appengine/tsmon/middleware.go
index de5a41c888897c2535a976dd9a1a08e59c51a42d..6a4632763598fb391fbc655163def9c7c76f29ba 100644
--- a/appengine/tsmon/middleware.go
+++ b/appengine/tsmon/middleware.go
@@ -99,7 +99,6 @@ func (s *State) Middleware(c *router.Context, next router.Handler) {
c.Writer = nrw
defer func() {
dur := clock.Now(ctx).Sub(started)
- metric.UpdatePresenceMetrics(ctx)
metric.UpdateServerMetrics(ctx, "/", nrw.Status(), dur,
contentLength, nrw.Size(), userAgent[0])
}()
« no previous file with comments | « no previous file | common/tsmon/metric/metric_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698