[FIX] make pprof labels conformant with prometheus spec

This commit is contained in:
TheFox0x7 2024-03-31 00:03:38 +01:00 committed by GitHub
parent c01935e9d0
commit 1a0c9df87f
5 changed files with 11 additions and 11 deletions

View file

@ -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)