| 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.22 |
| 3 |
|
| 4 |
//go:build go1.22 && !go1.23 |
| 5 |
// +build go1.22,!go1.23 |
| 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/cycles/automatic:gc-cycles": "go_gc_cycles_automatic_gc_cycles_total", |
| 24 |
"/gc/cycles/forced:gc-cycles": "go_gc_cycles_forced_gc_cycles_total", |
| 25 |
"/gc/cycles/total:gc-cycles": "go_gc_cycles_total_gc_cycles_total", |
| 26 |
"/gc/gogc:percent": "go_gc_gogc_percent", |
| 27 |
"/gc/gomemlimit:bytes": "go_gc_gomemlimit_bytes", |
| 28 |
"/gc/heap/allocs-by-size:bytes": "go_gc_heap_allocs_by_size_bytes", |
| 29 |
"/gc/heap/allocs:bytes": "go_gc_heap_allocs_bytes_total", |
| 30 |
"/gc/heap/allocs:objects": "go_gc_heap_allocs_objects_total", |
| 31 |
"/gc/heap/frees-by-size:bytes": "go_gc_heap_frees_by_size_bytes", |
| 32 |
"/gc/heap/frees:bytes": "go_gc_heap_frees_bytes_total", |
| 33 |
"/gc/heap/frees:objects": "go_gc_heap_frees_objects_total", |
| 34 |
"/gc/heap/goal:bytes": "go_gc_heap_goal_bytes", |
| 35 |
"/gc/heap/live:bytes": "go_gc_heap_live_bytes", |
| 36 |
"/gc/heap/objects:objects": "go_gc_heap_objects_objects", |
| 37 |
"/gc/heap/tiny/allocs:objects": "go_gc_heap_tiny_allocs_objects_total", |
| 38 |
"/gc/limiter/last-enabled:gc-cycle": "go_gc_limiter_last_enabled_gc_cycle", |
| 39 |
"/gc/pauses:seconds": "go_gc_pauses_seconds", |
| 40 |
"/gc/scan/globals:bytes": "go_gc_scan_globals_bytes", |
| 41 |
"/gc/scan/heap:bytes": "go_gc_scan_heap_bytes", |
| 42 |
"/gc/scan/stack:bytes": "go_gc_scan_stack_bytes", |
| 43 |
"/gc/scan/total:bytes": "go_gc_scan_total_bytes", |
| 44 |
"/gc/stack/starting-size:bytes": "go_gc_stack_starting_size_bytes", |
| 45 |
"/godebug/non-default-behavior/execerrdot:events": "go_godebug_non_default_behavior_execerrdot_events_total", |
| 46 |
"/godebug/non-default-behavior/gocachehash:events": "go_godebug_non_default_behavior_gocachehash_events_total", |
| 47 |
"/godebug/non-default-behavior/gocachetest:events": "go_godebug_non_default_behavior_gocachetest_events_total", |
| 48 |
"/godebug/non-default-behavior/gocacheverify:events": "go_godebug_non_default_behavior_gocacheverify_events_total", |
| 49 |
"/godebug/non-default-behavior/gotypesalias:events": "go_godebug_non_default_behavior_gotypesalias_events_total", |
| 50 |
"/godebug/non-default-behavior/http2client:events": "go_godebug_non_default_behavior_http2client_events_total", |
| 51 |
"/godebug/non-default-behavior/http2server:events": "go_godebug_non_default_behavior_http2server_events_total", |
| 52 |
"/godebug/non-default-behavior/httplaxcontentlength:events": "go_godebug_non_default_behavior_httplaxcontentlength_events_total", |
| 53 |
"/godebug/non-default-behavior/httpmuxgo121:events": "go_godebug_non_default_behavior_httpmuxgo121_events_total", |
| 54 |
"/godebug/non-default-behavior/installgoroot:events": "go_godebug_non_default_behavior_installgoroot_events_total", |
| 55 |
"/godebug/non-default-behavior/jstmpllitinterp:events": "go_godebug_non_default_behavior_jstmpllitinterp_events_total", |
| 56 |
"/godebug/non-default-behavior/multipartmaxheaders:events": "go_godebug_non_default_behavior_multipartmaxheaders_events_total", |
| 57 |
"/godebug/non-default-behavior/multipartmaxparts:events": "go_godebug_non_default_behavior_multipartmaxparts_events_total", |
| 58 |
"/godebug/non-default-behavior/multipathtcp:events": "go_godebug_non_default_behavior_multipathtcp_events_total", |
| 59 |
"/godebug/non-default-behavior/netedns0:events": "go_godebug_non_default_behavior_netedns0_events_total", |
| 60 |
"/godebug/non-default-behavior/panicnil:events": "go_godebug_non_default_behavior_panicnil_events_total", |
| 61 |
"/godebug/non-default-behavior/randautoseed:events": "go_godebug_non_default_behavior_randautoseed_events_total", |
| 62 |
"/godebug/non-default-behavior/tarinsecurepath:events": "go_godebug_non_default_behavior_tarinsecurepath_events_total", |
| 63 |
"/godebug/non-default-behavior/tls10server:events": "go_godebug_non_default_behavior_tls10server_events_total", |
| 64 |
"/godebug/non-default-behavior/tlsmaxrsasize:events": "go_godebug_non_default_behavior_tlsmaxrsasize_events_total", |
| 65 |
"/godebug/non-default-behavior/tlsrsakex:events": "go_godebug_non_default_behavior_tlsrsakex_events_total", |
| 66 |
"/godebug/non-default-behavior/tlsunsafeekm:events": "go_godebug_non_default_behavior_tlsunsafeekm_events_total", |
| 67 |
"/godebug/non-default-behavior/x509sha1:events": "go_godebug_non_default_behavior_x509sha1_events_total", |
| 68 |
"/godebug/non-default-behavior/x509usefallbackroots:events": "go_godebug_non_default_behavior_x509usefallbackroots_events_total", |
| 69 |
"/godebug/non-default-behavior/x509usepolicies:events": "go_godebug_non_default_behavior_x509usepolicies_events_total", |
| 70 |
"/godebug/non-default-behavior/zipinsecurepath:events": "go_godebug_non_default_behavior_zipinsecurepath_events_total", |
| 71 |
"/memory/classes/heap/free:bytes": "go_memory_classes_heap_free_bytes", |
| 72 |
"/memory/classes/heap/objects:bytes": "go_memory_classes_heap_objects_bytes", |
| 73 |
"/memory/classes/heap/released:bytes": "go_memory_classes_heap_released_bytes", |
| 74 |
"/memory/classes/heap/stacks:bytes": "go_memory_classes_heap_stacks_bytes", |
| 75 |
"/memory/classes/heap/unused:bytes": "go_memory_classes_heap_unused_bytes", |
| 76 |
"/memory/classes/metadata/mcache/free:bytes": "go_memory_classes_metadata_mcache_free_bytes", |
| 77 |
"/memory/classes/metadata/mcache/inuse:bytes": "go_memory_classes_metadata_mcache_inuse_bytes", |
| 78 |
"/memory/classes/metadata/mspan/free:bytes": "go_memory_classes_metadata_mspan_free_bytes", |
| 79 |
"/memory/classes/metadata/mspan/inuse:bytes": "go_memory_classes_metadata_mspan_inuse_bytes", |
| 80 |
"/memory/classes/metadata/other:bytes": "go_memory_classes_metadata_other_bytes", |
| 81 |
"/memory/classes/os-stacks:bytes": "go_memory_classes_os_stacks_bytes", |
| 82 |
"/memory/classes/other:bytes": "go_memory_classes_other_bytes", |
| 83 |
"/memory/classes/profiling/buckets:bytes": "go_memory_classes_profiling_buckets_bytes", |
| 84 |
"/memory/classes/total:bytes": "go_memory_classes_total_bytes", |
| 85 |
"/sched/gomaxprocs:threads": "go_sched_gomaxprocs_threads", |
| 86 |
"/sched/goroutines:goroutines": "go_sched_goroutines_goroutines", |
| 87 |
"/sched/latencies:seconds": "go_sched_latencies_seconds", |
| 88 |
"/sched/pauses/stopping/gc:seconds": "go_sched_pauses_stopping_gc_seconds", |
| 89 |
"/sched/pauses/stopping/other:seconds": "go_sched_pauses_stopping_other_seconds", |
| 90 |
"/sched/pauses/total/gc:seconds": "go_sched_pauses_total_gc_seconds", |
| 91 |
"/sched/pauses/total/other:seconds": "go_sched_pauses_total_other_seconds", |
| 92 |
"/sync/mutex/wait/total:seconds": "go_sync_mutex_wait_total_seconds_total", |
| 93 |
} |
| 94 |
|
| 95 |
expMetrics = map[string]string{ |
| 96 |
"/gc/gogc:percent": "go_gc_gogc_percent", |
| 97 |
"/gc/gomemlimit:bytes": "go_gc_gomemlimit_bytes", |
| 98 |
"/sched/gomaxprocs:threads": "go_sched_gomaxprocs_threads", |
| 99 |
} |
| 100 |
) |
| 101 |
|
| 102 |
const expectedRuntimeMetricsCardinality = 162 |