Skip to content

Commit 398dd62

Browse files
authored
Merge pull request #57 from parca-dev/fix-native-labels-metrics
fix native labels metrics
2 parents 0199ae7 + 153a8fb commit 398dd62

File tree

2 files changed

+76
-6
lines changed

2 files changed

+76
-6
lines changed

metrics/ids.go

Lines changed: 24 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: 52 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1990,21 +1990,70 @@
19901990
"description": "Number of failures reading Go custom labels",
19911991
"type": "counter",
19921992
"name": "UnwindGoCustomLabelsFailures",
1993-
"field": "bpf.golabls.errors.no_proc_info",
1993+
"field": "bpf.golabels.errors.no_proc_info",
19941994
"id": 276
19951995
},
1996+
{
1997+
"description": "Number of failures to get TSD base for native custom labels",
1998+
"type": "counter",
1999+
"name": "UnwindNativeCustomLabelsErrReadTsdBase",
2000+
"field": "bpf.nativelabels.errors.read_tsd_base",
2001+
"id": 277
2002+
},
2003+
{
2004+
"description": "Number of failures to read native custom labels thread-local object",
2005+
"type": "counter",
2006+
"name": "UnwindNativeCustomLabelsErrReadData",
2007+
"field": "bpf.nativelabels.errors.read_data",
2008+
"id": 278
2009+
},
2010+
{
2011+
"description": "Number of failures to read native custom labels key buffer",
2012+
"type": "counter",
2013+
"name": "UnwindNativeCustomLabelsErrReadKey",
2014+
"field": "bpf.nativelabels.errors.read_key",
2015+
"id": 279
2016+
},
2017+
{
2018+
"description": "Number of failures to read native custom labels value buffer",
2019+
"type": "counter",
2020+
"name": "UnwindNativeCustomLabelsErrReadValue",
2021+
"field": "bpf.nativelabels.errors.read_value",
2022+
"id": 280
2023+
},
2024+
{
2025+
"description": "Number of successful reads of native custom labels",
2026+
"type": "counter",
2027+
"name": "UnwindNativeCustomLabelsReadSuccesses",
2028+
"field": "bpf.nativelabels.read.successes",
2029+
"id": 281
2030+
},
2031+
{
2032+
"description": "Total number of failures to add native custom labels",
2033+
"type": "counter",
2034+
"name": "UnwindNativeCustomLabelsAddErrors",
2035+
"field": "bpf.nativelabels.add.errors",
2036+
"id": 282
2037+
},
2038+
{
2039+
"description": "Number of successes adding native custom labels",
2040+
"type": "counter",
2041+
"name": "UnwindNativeCustomLabelsAddSuccesses",
2042+
"field": "bpf.nativelabels.add.successes",
2043+
"id": 283
2044+
},
19962045
{
19972046
"description": "Number of attempted LuaJIT unwinds",
19982047
"type": "counter",
19992048
"name": "UnwindLuaJITAttempts",
20002049
"field": "bpf.luajit.attempts",
2001-
"id": 277
2050+
"id": 284
20022051
},
20032052
{
20042053
"description": "Number of times we didn't find an entry for this process in the LuaJIT process info array",
20052054
"type": "counter",
20062055
"name": "UnwindLuaJITErrNoProcInfo",
20072056
"field": "bpf.luajit.errors.no_proc_info",
2008-
"id": 278
2057+
"id": 285
20092058
}
20102059
]

0 commit comments

Comments
 (0)