mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-01 04:12:10 +00:00
[FIX] make pprof labels conformant with prometheus spec
This commit is contained in:
parent
c01935e9d0
commit
1a0c9df87f
5 changed files with 11 additions and 11 deletions
|
@ -29,7 +29,7 @@ const (
|
|||
)
|
||||
|
||||
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