Skip to content

Commit f0916e7

Browse files
committed
Update runtime metrics for Go v1.24 and v1.23
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 parent 99d380e commit f0916e7

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

prometheus/collectors/go_collector_go123_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func withAllMetrics() []string {
5252
"go_gc_scan_stack_bytes",
5353
"go_gc_scan_total_bytes",
5454
"go_gc_stack_starting_size_bytes",
55-
"go_godebug_non_default_behavior_asynctimerchan_events_total",
55+
"go_godebug_non_default_behavior_allowmultiplevcs_events_total",
5656
"go_godebug_non_default_behavior_execerrdot_events_total",
5757
"go_godebug_non_default_behavior_gocachehash_events_total",
5858
"go_godebug_non_default_behavior_gocachetest_events_total",
@@ -169,6 +169,7 @@ func withSchedulerMetrics() []string {
169169

170170
func withDebugMetrics() []string {
171171
return withBaseMetrics([]string{
172+
"go_godebug_non_default_behavior_allowmultiplevcs_events_total",
172173
"go_godebug_non_default_behavior_asynctimerchan_events_total",
173174
"go_godebug_non_default_behavior_execerrdot_events_total",
174175
"go_godebug_non_default_behavior_gocachehash_events_total",

prometheus/collectors/go_collector_go124_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ func withAllMetrics() []string {
5252
"go_gc_scan_stack_bytes",
5353
"go_gc_scan_total_bytes",
5454
"go_gc_stack_starting_size_bytes",
55+
"go_godebug_non_default_behavior_allowmultiplevcs_events_total",
5556
"go_godebug_non_default_behavior_asynctimerchan_events_total",
5657
"go_godebug_non_default_behavior_execerrdot_events_total",
5758
"go_godebug_non_default_behavior_gocachehash_events_total",
@@ -172,6 +173,7 @@ func withSchedulerMetrics() []string {
172173

173174
func withDebugMetrics() []string {
174175
return withBaseMetrics([]string{
176+
"go_godebug_non_default_behavior_allowmultiplevcs_events_total",
175177
"go_godebug_non_default_behavior_asynctimerchan_events_total",
176178
"go_godebug_non_default_behavior_execerrdot_events_total",
177179
"go_godebug_non_default_behavior_gocachehash_events_total",

prometheus/go_collector_metrics_go124_test.go

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)