Skip to content

Commit b84c5e3

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

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
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_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)