Debian Codegraph @

prometheus/go_collector_metrics_go126_test.go

raw ◀ ▶
1 Debian patch touch this file
1 // Code generated by gen_go_collector_metrics_set.go; DO NOT EDIT.
•2 //go:generate go run gen_go_collector_metrics_set.go go1.26
3
•4 //go:build go1.26 && !go1.27
5 // +build go1.26,!go1.27
6
7 package prometheus
8
9 var (
10 expectedRuntimeMetrics = map[string]string{
11 "/cgo/go-to-c-calls:calls": "go_cgo_go_to_c_calls_calls_total",
12 "/cpu/classes/gc/mark/assist:cpu-seconds": "go_cpu_classes_gc_mark_assist_cpu_seconds_total",
13 "/cpu/classes/gc/mark/dedicated:cpu-seconds": "go_cpu_classes_gc_mark_dedicated_cpu_seconds_total",
14 "/cpu/classes/gc/mark/idle:cpu-seconds": "go_cpu_classes_gc_mark_idle_cpu_seconds_total",
15 "/cpu/classes/gc/pause:cpu-seconds": "go_cpu_classes_gc_pause_cpu_seconds_total",
16 "/cpu/classes/gc/total:cpu-seconds": "go_cpu_classes_gc_total_cpu_seconds_total",
17 "/cpu/classes/idle:cpu-seconds": "go_cpu_classes_idle_cpu_seconds_total",
18 "/cpu/classes/scavenge/assist:cpu-seconds": "go_cpu_classes_scavenge_assist_cpu_seconds_total",
19 "/cpu/classes/scavenge/background:cpu-seconds": "go_cpu_classes_scavenge_background_cpu_seconds_total",
20 "/cpu/classes/scavenge/total:cpu-seconds": "go_cpu_classes_scavenge_total_cpu_seconds_total",
21 "/cpu/classes/total:cpu-seconds": "go_cpu_classes_total_cpu_seconds_total",
22 "/cpu/classes/user:cpu-seconds": "go_cpu_classes_user_cpu_seconds_total",
•23 "/gc/cleanups/executed:cleanups": "go_gc_cleanups_executed_cleanups_total",
24 "/gc/cleanups/queued:cleanups": "go_gc_cleanups_queued_cleanups_total",
25 "/gc/cycles/automatic:gc-cycles": "go_gc_cycles_automatic_gc_cycles_total",
26 "/gc/cycles/forced:gc-cycles": "go_gc_cycles_forced_gc_cycles_total",
27 "/gc/cycles/total:gc-cycles": "go_gc_cycles_total_gc_cycles_total",
•28 "/gc/finalizers/executed:finalizers": "go_gc_finalizers_executed_finalizers_total",
29 "/gc/finalizers/queued:finalizers": "go_gc_finalizers_queued_finalizers_total",
30 "/gc/gogc:percent": "go_gc_gogc_percent",
31 "/gc/gomemlimit:bytes": "go_gc_gomemlimit_bytes",
32 "/gc/heap/allocs-by-size:bytes": "go_gc_heap_allocs_by_size_bytes",
33 "/gc/heap/allocs:bytes": "go_gc_heap_allocs_bytes_total",
34 "/gc/heap/allocs:objects": "go_gc_heap_allocs_objects_total",
35 "/gc/heap/frees-by-size:bytes": "go_gc_heap_frees_by_size_bytes",
36 "/gc/heap/frees:bytes": "go_gc_heap_frees_bytes_total",
37 "/gc/heap/frees:objects": "go_gc_heap_frees_objects_total",
38 "/gc/heap/goal:bytes": "go_gc_heap_goal_bytes",
39 "/gc/heap/live:bytes": "go_gc_heap_live_bytes",
40 "/gc/heap/objects:objects": "go_gc_heap_objects_objects",
41 "/gc/heap/tiny/allocs:objects": "go_gc_heap_tiny_allocs_objects_total",
42 "/gc/limiter/last-enabled:gc-cycle": "go_gc_limiter_last_enabled_gc_cycle",
43 "/gc/pauses:seconds": "go_gc_pauses_seconds",
44 "/gc/scan/globals:bytes": "go_gc_scan_globals_bytes",
45 "/gc/scan/heap:bytes": "go_gc_scan_heap_bytes",
46 "/gc/scan/stack:bytes": "go_gc_scan_stack_bytes",
47 "/gc/scan/total:bytes": "go_gc_scan_total_bytes",
48 "/gc/stack/starting-size:bytes": "go_gc_stack_starting_size_bytes",
49 "/godebug/non-default-behavior/allowmultiplevcs:events": "go_godebug_non_default_behavior_allowmultiplevcs_events_total",
50 "/godebug/non-default-behavior/asynctimerchan:events": "go_godebug_non_default_behavior_asynctimerchan_events_total",
51 "/godebug/non-default-behavior/containermaxprocs:events": "go_godebug_non_default_behavior_containermaxprocs_events_total",
•52 "/godebug/non-default-behavior/cryptocustomrand:events": "go_godebug_non_default_behavior_cryptocustomrand_events_total",
53 "/godebug/non-default-behavior/embedfollowsymlinks:events": "go_godebug_non_default_behavior_embedfollowsymlinks_events_total",
54 "/godebug/non-default-behavior/execerrdot:events": "go_godebug_non_default_behavior_execerrdot_events_total",
55 "/godebug/non-default-behavior/gocachehash:events": "go_godebug_non_default_behavior_gocachehash_events_total",
56 "/godebug/non-default-behavior/gocachetest:events": "go_godebug_non_default_behavior_gocachetest_events_total",
57 "/godebug/non-default-behavior/gocacheverify:events": "go_godebug_non_default_behavior_gocacheverify_events_total",
58 "/godebug/non-default-behavior/gotestjsonbuildtext:events": "go_godebug_non_default_behavior_gotestjsonbuildtext_events_total",
59 "/godebug/non-default-behavior/gotypesalias:events": "go_godebug_non_default_behavior_gotypesalias_events_total",
•60 "/godebug/non-default-behavior/htmlmetacontenturlescape:events": "go_godebug_non_default_behavior_htmlmetacontenturlescape_events_total",
61 "/godebug/non-default-behavior/http2client:events": "go_godebug_non_default_behavior_http2client_events_total",
62 "/godebug/non-default-behavior/http2server:events": "go_godebug_non_default_behavior_http2server_events_total",
63 "/godebug/non-default-behavior/httpcookiemaxnum:events": "go_godebug_non_default_behavior_httpcookiemaxnum_events_total",
64 "/godebug/non-default-behavior/httplaxcontentlength:events": "go_godebug_non_default_behavior_httplaxcontentlength_events_total",
65 "/godebug/non-default-behavior/httpmuxgo121:events": "go_godebug_non_default_behavior_httpmuxgo121_events_total",
66 "/godebug/non-default-behavior/httpservecontentkeepheaders:events": "go_godebug_non_default_behavior_httpservecontentkeepheaders_events_total",
67 "/godebug/non-default-behavior/installgoroot:events": "go_godebug_non_default_behavior_installgoroot_events_total",
68 "/godebug/non-default-behavior/multipartmaxheaders:events": "go_godebug_non_default_behavior_multipartmaxheaders_events_total",
69 "/godebug/non-default-behavior/multipartmaxparts:events": "go_godebug_non_default_behavior_multipartmaxparts_events_total",
70 "/godebug/non-default-behavior/multipathtcp:events": "go_godebug_non_default_behavior_multipathtcp_events_total",
71 "/godebug/non-default-behavior/netedns0:events": "go_godebug_non_default_behavior_netedns0_events_total",
72 "/godebug/non-default-behavior/panicnil:events": "go_godebug_non_default_behavior_panicnil_events_total",
73 "/godebug/non-default-behavior/randautoseed:events": "go_godebug_non_default_behavior_randautoseed_events_total",
74 "/godebug/non-default-behavior/randseednop:events": "go_godebug_non_default_behavior_randseednop_events_total",
75 "/godebug/non-default-behavior/rsa1024min:events": "go_godebug_non_default_behavior_rsa1024min_events_total",
76 "/godebug/non-default-behavior/tarinsecurepath:events": "go_godebug_non_default_behavior_tarinsecurepath_events_total",
77 "/godebug/non-default-behavior/tls10server:events": "go_godebug_non_default_behavior_tls10server_events_total",
78 "/godebug/non-default-behavior/tls3des:events": "go_godebug_non_default_behavior_tls3des_events_total",
79 "/godebug/non-default-behavior/tlsmaxrsasize:events": "go_godebug_non_default_behavior_tlsmaxrsasize_events_total",
80 "/godebug/non-default-behavior/tlsrsakex:events": "go_godebug_non_default_behavior_tlsrsakex_events_total",
81 "/godebug/non-default-behavior/tlssha1:events": "go_godebug_non_default_behavior_tlssha1_events_total",
82 "/godebug/non-default-behavior/tlsunsafeekm:events": "go_godebug_non_default_behavior_tlsunsafeekm_events_total",
83 "/godebug/non-default-behavior/updatemaxprocs:events": "go_godebug_non_default_behavior_updatemaxprocs_events_total",
•84 "/godebug/non-default-behavior/urlmaxqueryparams:events": "go_godebug_non_default_behavior_urlmaxqueryparams_events_total",
85 "/godebug/non-default-behavior/urlstrictcolons:events": "go_godebug_non_default_behavior_urlstrictcolons_events_total",
86 "/godebug/non-default-behavior/winreadlinkvolume:events": "go_godebug_non_default_behavior_winreadlinkvolume_events_total",
87 "/godebug/non-default-behavior/winsymlink:events": "go_godebug_non_default_behavior_winsymlink_events_total",
88 "/godebug/non-default-behavior/x509keypairleaf:events": "go_godebug_non_default_behavior_x509keypairleaf_events_total",
89 "/godebug/non-default-behavior/x509negativeserial:events": "go_godebug_non_default_behavior_x509negativeserial_events_total",
90 "/godebug/non-default-behavior/x509rsacrt:events": "go_godebug_non_default_behavior_x509rsacrt_events_total",
91 "/godebug/non-default-behavior/x509sha256skid:events": "go_godebug_non_default_behavior_x509sha256skid_events_total",
92 "/godebug/non-default-behavior/x509usefallbackroots:events": "go_godebug_non_default_behavior_x509usefallbackroots_events_total",
93 "/godebug/non-default-behavior/x509usepolicies:events": "go_godebug_non_default_behavior_x509usepolicies_events_total",
94 "/godebug/non-default-behavior/zipinsecurepath:events": "go_godebug_non_default_behavior_zipinsecurepath_events_total",
95 "/memory/classes/heap/free:bytes": "go_memory_classes_heap_free_bytes",
96 "/memory/classes/heap/objects:bytes": "go_memory_classes_heap_objects_bytes",
97 "/memory/classes/heap/released:bytes": "go_memory_classes_heap_released_bytes",
98 "/memory/classes/heap/stacks:bytes": "go_memory_classes_heap_stacks_bytes",
99 "/memory/classes/heap/unused:bytes": "go_memory_classes_heap_unused_bytes",
100 "/memory/classes/metadata/mcache/free:bytes": "go_memory_classes_metadata_mcache_free_bytes",
101 "/memory/classes/metadata/mcache/inuse:bytes": "go_memory_classes_metadata_mcache_inuse_bytes",
102 "/memory/classes/metadata/mspan/free:bytes": "go_memory_classes_metadata_mspan_free_bytes",
103 "/memory/classes/metadata/mspan/inuse:bytes": "go_memory_classes_metadata_mspan_inuse_bytes",
104 "/memory/classes/metadata/other:bytes": "go_memory_classes_metadata_other_bytes",
105 "/memory/classes/os-stacks:bytes": "go_memory_classes_os_stacks_bytes",
106 "/memory/classes/other:bytes": "go_memory_classes_other_bytes",
107 "/memory/classes/profiling/buckets:bytes": "go_memory_classes_profiling_buckets_bytes",
108 "/memory/classes/total:bytes": "go_memory_classes_total_bytes",
109 "/sched/gomaxprocs:threads": "go_sched_gomaxprocs_threads",
•110 "/sched/goroutines-created:goroutines": "go_sched_goroutines_created_goroutines_total",
111 "/sched/goroutines/not-in-go:goroutines": "go_sched_goroutines_not_in_go_goroutines",
112 "/sched/goroutines/runnable:goroutines": "go_sched_goroutines_runnable_goroutines",
113 "/sched/goroutines/running:goroutines": "go_sched_goroutines_running_goroutines",
114 "/sched/goroutines/waiting:goroutines": "go_sched_goroutines_waiting_goroutines",
115 "/sched/goroutines:goroutines": "go_sched_goroutines_goroutines",
116 "/sched/latencies:seconds": "go_sched_latencies_seconds",
117 "/sched/pauses/stopping/gc:seconds": "go_sched_pauses_stopping_gc_seconds",
118 "/sched/pauses/stopping/other:seconds": "go_sched_pauses_stopping_other_seconds",
119 "/sched/pauses/total/gc:seconds": "go_sched_pauses_total_gc_seconds",
120 "/sched/pauses/total/other:seconds": "go_sched_pauses_total_other_seconds",
•121 "/sched/threads/total:threads": "go_sched_threads_total_threads",
122 "/sync/mutex/wait/total:seconds": "go_sync_mutex_wait_total_seconds_total",
123 }
124
125 expMetrics = map[string]string{
126 "/gc/gogc:percent": "go_gc_gogc_percent",
127 "/gc/gomemlimit:bytes": "go_gc_gomemlimit_bytes",
128 "/sched/gomaxprocs:threads": "go_sched_gomaxprocs_threads",
129 }
130 )
131
•132 const expectedRuntimeMetricsCardinality = 192