From 03209025db834856ce719d3eb4e96df10f72db88 Mon Sep 17 00:00:00 2001 From: pipiland2612 Date: Thu, 9 Oct 2025 10:36:59 +0300 Subject: [PATCH] fix bug Signed-off-by: pipiland2612 --- prometheus/collectors/go_collector_go124_test.go | 2 ++ prometheus/collectors/go_collector_go125_test.go | 2 ++ prometheus/go_collector_metrics_go124_test.go | 3 ++- prometheus/go_collector_metrics_go125_test.go | 3 ++- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/prometheus/collectors/go_collector_go124_test.go b/prometheus/collectors/go_collector_go124_test.go index 3933de410..358b6a81f 100644 --- a/prometheus/collectors/go_collector_go124_test.go +++ b/prometheus/collectors/go_collector_go124_test.go @@ -62,6 +62,7 @@ func withAllMetrics() []string { "go_godebug_non_default_behavior_gotypesalias_events_total", "go_godebug_non_default_behavior_http2client_events_total", "go_godebug_non_default_behavior_http2server_events_total", + "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", "go_godebug_non_default_behavior_httplaxcontentlength_events_total", "go_godebug_non_default_behavior_httpmuxgo121_events_total", "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", @@ -183,6 +184,7 @@ func withDebugMetrics() []string { "go_godebug_non_default_behavior_gotypesalias_events_total", "go_godebug_non_default_behavior_http2client_events_total", "go_godebug_non_default_behavior_http2server_events_total", + "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", "go_godebug_non_default_behavior_httplaxcontentlength_events_total", "go_godebug_non_default_behavior_httpmuxgo121_events_total", "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", diff --git a/prometheus/collectors/go_collector_go125_test.go b/prometheus/collectors/go_collector_go125_test.go index bc570717f..874f3cecb 100644 --- a/prometheus/collectors/go_collector_go125_test.go +++ b/prometheus/collectors/go_collector_go125_test.go @@ -64,6 +64,7 @@ func withAllMetrics() []string { "go_godebug_non_default_behavior_gotypesalias_events_total", "go_godebug_non_default_behavior_http2client_events_total", "go_godebug_non_default_behavior_http2server_events_total", + "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", "go_godebug_non_default_behavior_httplaxcontentlength_events_total", "go_godebug_non_default_behavior_httpmuxgo121_events_total", "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", @@ -190,6 +191,7 @@ func withDebugMetrics() []string { "go_godebug_non_default_behavior_gotypesalias_events_total", "go_godebug_non_default_behavior_http2client_events_total", "go_godebug_non_default_behavior_http2server_events_total", + "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", "go_godebug_non_default_behavior_httplaxcontentlength_events_total", "go_godebug_non_default_behavior_httpmuxgo121_events_total", "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", diff --git a/prometheus/go_collector_metrics_go124_test.go b/prometheus/go_collector_metrics_go124_test.go index 6c5d124e1..75c55aab8 100644 --- a/prometheus/go_collector_metrics_go124_test.go +++ b/prometheus/go_collector_metrics_go124_test.go @@ -52,6 +52,7 @@ var ( "/godebug/non-default-behavior/gotypesalias:events": "go_godebug_non_default_behavior_gotypesalias_events_total", "/godebug/non-default-behavior/http2client:events": "go_godebug_non_default_behavior_http2client_events_total", "/godebug/non-default-behavior/http2server:events": "go_godebug_non_default_behavior_http2server_events_total", + "/godebug/non-default-behavior/httpcookiemaxnum:events": "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", "/godebug/non-default-behavior/httplaxcontentlength:events": "go_godebug_non_default_behavior_httplaxcontentlength_events_total", "/godebug/non-default-behavior/httpmuxgo121:events": "go_godebug_non_default_behavior_httpmuxgo121_events_total", "/godebug/non-default-behavior/httpservecontentkeepheaders:events": "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", @@ -109,4 +110,4 @@ var ( } ) -const expectedRuntimeMetricsCardinality = 172 +const expectedRuntimeMetricsCardinality = 173 diff --git a/prometheus/go_collector_metrics_go125_test.go b/prometheus/go_collector_metrics_go125_test.go index bc2548581..e0276a294 100644 --- a/prometheus/go_collector_metrics_go125_test.go +++ b/prometheus/go_collector_metrics_go125_test.go @@ -54,6 +54,7 @@ var ( "/godebug/non-default-behavior/gotypesalias:events": "go_godebug_non_default_behavior_gotypesalias_events_total", "/godebug/non-default-behavior/http2client:events": "go_godebug_non_default_behavior_http2client_events_total", "/godebug/non-default-behavior/http2server:events": "go_godebug_non_default_behavior_http2server_events_total", + "/godebug/non-default-behavior/httpcookiemaxnum:events": "go_godebug_non_default_behavior_httpcookiemaxnum_events_total", "/godebug/non-default-behavior/httplaxcontentlength:events": "go_godebug_non_default_behavior_httplaxcontentlength_events_total", "/godebug/non-default-behavior/httpmuxgo121:events": "go_godebug_non_default_behavior_httpmuxgo121_events_total", "/godebug/non-default-behavior/httpservecontentkeepheaders:events": "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total", @@ -114,4 +115,4 @@ var ( } ) -const expectedRuntimeMetricsCardinality = 177 +const expectedRuntimeMetricsCardinality = 178