New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 706912 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug

Blocking:
issue 670879



Sign in to add a comment

GlobalCallbacks in tsmon don't work properly (in the context of sysmon)

Project Member Reported by bpastene@chromium.org, Mar 30 2017

Issue description

I added a series of new metrics in sysmon, and registered them as a GlobalCallback. After deploying them however, they never showed up in monarch. After redeploying them with r9719a8037ed28e0bb1f87f7267c7d25a6e23a20f (which changes them to non global callback), their streams finally started showing up.

Here's sysmon versions over time for a bot: http://shortn/_9ApbdT06Sa
And here's the docker metrics finally showing up after deploying the global fix: http://shortn/_El5X7HbFWf

Looks pretty correlated. Could be I was holding it wrong, but it seems something is broken.
 
Blocking: 670879
Owner: dsansome@chromium.org
Status: Started (was: Untriaged)
Project Member

Comment 3 by bugdroid1@chromium.org, Apr 3 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/external/github.com/luci/luci-go.git/+/82564cfcaebd57e7d65bb40997a050538a9845b8

commit 82564cfcaebd57e7d65bb40997a050538a9845b8
Author: dsansome <dsansome@chromium.org>
Date: Mon Apr 03 23:48:21 2017

Make global callbacks usable outside appengine.

This moves the ResetGlobalCallbackMetrics call inside tsmon's Flush, and adds
a InvokeGlobalCallbacksOnFlush that defaults to true but is set to false on
appengine.

BUG= 706912 

Review-Url: https://codereview.chromium.org/2795613002

[modify] https://crrev.com/82564cfcaebd57e7d65bb40997a050538a9845b8/appengine/tsmon/middleware.go
[modify] https://crrev.com/82564cfcaebd57e7d65bb40997a050538a9845b8/common/tsmon/context.go

Status: Fixed (was: Started)
Status: Verified (was: Fixed)
Confirmed; thanks Dave!

Sign in to add a comment