forked from forgejo/forgejo
[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
|
@ -26,7 +26,7 @@ var (
|
|||
)
|
||||
|
||||
// DescriptionPProfLabel is a label set on goroutines that have a process attached
|
||||
const DescriptionPProfLabel = "process-description"
|
||||
const DescriptionPProfLabel = "processDescription"
|
||||
|
||||
// PIDPProfLabel is a label set on goroutines that have a process attached
|
||||
const PIDPProfLabel = "pid"
|
||||
|
@ -35,7 +35,7 @@ const PIDPProfLabel = "pid"
|
|||
const PPIDPProfLabel = "ppid"
|
||||
|
||||
// ProcessTypePProfLabel is a label set on goroutines that have a process attached
|
||||
const ProcessTypePProfLabel = "process-type"
|
||||
const ProcessTypePProfLabel = "processType"
|
||||
|
||||
// IDType is a pid type
|
||||
type IDType string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue