Skip to content

Commit 0199ae7

Browse files
authored
Merge pull request #56 from parca-dev/fix-go-labels-metrics
Fix go custom labels metrics
2 parents 88e5d89 + 2f26c53 commit 0199ae7

2 files changed

Lines changed: 25 additions & 5 deletions

File tree

metrics/ids.go

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metrics/metrics.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1979,18 +1979,32 @@
19791979
"field": "agent.errors.trace_event_read_error",
19801980
"id": 274
19811981
},
1982+
{
1983+
"description": "Number of attempts to read Go custom labels",
1984+
"type": "counter",
1985+
"name": "UnwindGoCustomLabelsAttempts",
1986+
"field": "bpf.golabels.attempts",
1987+
"id": 275
1988+
},
1989+
{
1990+
"description": "Number of failures reading Go custom labels",
1991+
"type": "counter",
1992+
"name": "UnwindGoCustomLabelsFailures",
1993+
"field": "bpf.golabls.errors.no_proc_info",
1994+
"id": 276
1995+
},
19821996
{
19831997
"description": "Number of attempted LuaJIT unwinds",
19841998
"type": "counter",
19851999
"name": "UnwindLuaJITAttempts",
19862000
"field": "bpf.luajit.attempts",
1987-
"id": 275
2001+
"id": 277
19882002
},
19892003
{
19902004
"description": "Number of times we didn't find an entry for this process in the LuaJIT process info array",
19912005
"type": "counter",
19922006
"name": "UnwindLuaJITErrNoProcInfo",
19932007
"field": "bpf.luajit.errors.no_proc_info",
1994-
"id": 276
2008+
"id": 278
19952009
}
19962010
]

0 commit comments

Comments
 (0)