Skip to content

Commit db4db7b

Browse files
authored
Update runtime metrics for Go v1.23 and v1.24 (#1833)
1 parent 99d380e commit db4db7b

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

prometheus/collectors/go_collector_go123_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",
@@ -169,6 +170,7 @@ func withSchedulerMetrics() []string {
169170

170171
func withDebugMetrics() []string {
171172
return withBaseMetrics([]string{
173+
"go_godebug_non_default_behavior_allowmultiplevcs_events_total",
172174
"go_godebug_non_default_behavior_asynctimerchan_events_total",
173175
"go_godebug_non_default_behavior_execerrdot_events_total",
174176
"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_go123_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.

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)