[FIX] make pprof labels conformant with prometheus spec
This commit is contained in:
parent
ec459b23c8
commit
c8f515dff7
5 changed files with 11 additions and 11 deletions
|
@ -44,7 +44,7 @@ func (g *Manager) notify(msg systemdNotifyMsg) {
|
|||
}
|
||||
|
||||
func (g *Manager) start() {
|
||||
// Now label this and all goroutines created by this goroutine with the graceful-lifecycle manager
|
||||
// Now label this and all goroutines created by this goroutine with the gracefulLifecycle manager
|
||||
pprof.SetGoroutineLabels(g.managerCtx)
|
||||
defer pprof.SetGoroutineLabels(g.ctx)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue