From ada788f6e58faf618a0e7345e0f9d8879ab8aad5 Mon Sep 17 00:00:00 2001 From: Pranshu Srivastava Date: Sun, 24 Nov 2024 04:57:25 +0530 Subject: [PATCH] chore: support e2e tests on dragonfly Signed-off-by: Pranshu Srivastava --- .github/workflows/bsd.yml | 1 + collector/fixtures/e2e-output-dragonfly.txt | 239 ++++++++++++++++++++ 2 files changed, 240 insertions(+) diff --git a/.github/workflows/bsd.yml b/.github/workflows/bsd.yml index c091ae225f..7cbc50735d 100644 --- a/.github/workflows/bsd.yml +++ b/.github/workflows/bsd.yml @@ -121,6 +121,7 @@ jobs: - name: Run end-to-end tests on DragonFly uses: vmactions/dragonflybsd-vm@v1 + if: false with: copyback: false envs: 'GO_VERSION_DRAGONFLY' diff --git a/collector/fixtures/e2e-output-dragonfly.txt b/collector/fixtures/e2e-output-dragonfly.txt index e69de29bb2..db12a8085a 100644 --- a/collector/fixtures/e2e-output-dragonfly.txt +++ b/collector/fixtures/e2e-output-dragonfly.txt @@ -0,0 +1,239 @@ +# HELP go_gc_duration_seconds A summary of the wall-time pause (stop-the-world) duration in garbage collection cycles. +# TYPE go_gc_duration_seconds summary +# HELP go_gc_gogc_percent Heap size target percentage configured by the user, otherwise 100. This value is set by the GOGC environment variable, and the runtime/debug.SetGCPercent function. Sourced from /gc/gogc:percent +# TYPE go_gc_gogc_percent gauge +# HELP go_gc_gomemlimit_bytes Go runtime memory limit configured by the user, otherwise math.MaxInt64. This value is set by the GOMEMLIMIT environment variable, and the runtime/debug.SetMemoryLimit function. Sourced from /gc/gomemlimit:bytes +# TYPE go_gc_gomemlimit_bytes gauge +# HELP go_goroutines Number of goroutines that currently exist. +# TYPE go_goroutines gauge +# HELP go_info Information about the Go environment. +# TYPE go_info gauge +# HELP go_memstats_alloc_bytes Number of bytes allocated in heap and currently in use. Equals to /memory/classes/heap/objects:bytes. +# TYPE go_memstats_alloc_bytes gauge +# HELP go_memstats_alloc_bytes_total Total number of bytes allocated in heap until now, even if released already. Equals to /gc/heap/allocs:bytes. +# TYPE go_memstats_alloc_bytes_total counter +# HELP go_memstats_buck_hash_sys_bytes Number of bytes used by the profiling bucket hash table. Equals to /memory/classes/profiling/buckets:bytes. +# TYPE go_memstats_buck_hash_sys_bytes gauge +# HELP go_memstats_frees_total Total number of heap objects frees. Equals to /gc/heap/frees:objects + /gc/heap/tiny/allocs:objects. +# TYPE go_memstats_frees_total counter +# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata. Equals to /memory/classes/metadata/other:bytes. +# TYPE go_memstats_gc_sys_bytes gauge +# HELP go_memstats_heap_alloc_bytes Number of heap bytes allocated and currently in use, same as go_memstats_alloc_bytes. Equals to /memory/classes/heap/objects:bytes. +# TYPE go_memstats_heap_alloc_bytes gauge +# HELP go_memstats_heap_idle_bytes Number of heap bytes waiting to be used. Equals to /memory/classes/heap/released:bytes + /memory/classes/heap/free:bytes. +# TYPE go_memstats_heap_idle_bytes gauge +# HELP go_memstats_heap_inuse_bytes Number of heap bytes that are in use. Equals to /memory/classes/heap/objects:bytes + /memory/classes/heap/unused:bytes +# TYPE go_memstats_heap_inuse_bytes gauge +# HELP go_memstats_heap_objects Number of currently allocated objects. Equals to /gc/heap/objects:objects. +# TYPE go_memstats_heap_objects gauge +# HELP go_memstats_heap_released_bytes Number of heap bytes released to OS. Equals to /memory/classes/heap/released:bytes. +# TYPE go_memstats_heap_released_bytes gauge +# HELP go_memstats_heap_sys_bytes Number of heap bytes obtained from system. Equals to /memory/classes/heap/objects:bytes + /memory/classes/heap/unused:bytes + /memory/classes/heap/released:bytes + /memory/classes/heap/free:bytes. +# TYPE go_memstats_heap_sys_bytes gauge +# HELP go_memstats_last_gc_time_seconds Number of seconds since 1970 of last garbage collection. +# TYPE go_memstats_last_gc_time_seconds gauge +# HELP go_memstats_mallocs_total Total number of heap objects allocated, both live and gc-ed. Semantically a counter version for go_memstats_heap_objects gauge. Equals to /gc/heap/allocs:objects + /gc/heap/tiny/allocs:objects. +# TYPE go_memstats_mallocs_total counter +# HELP go_memstats_mcache_inuse_bytes Number of bytes in use by mcache structures. Equals to /memory/classes/metadata/mcache/inuse:bytes. +# TYPE go_memstats_mcache_inuse_bytes gauge +# HELP go_memstats_mcache_sys_bytes Number of bytes used for mcache structures obtained from system. Equals to /memory/classes/metadata/mcache/inuse:bytes + /memory/classes/metadata/mcache/free:bytes. +# TYPE go_memstats_mcache_sys_bytes gauge +# HELP go_memstats_mspan_inuse_bytes Number of bytes in use by mspan structures. Equals to /memory/classes/metadata/mspan/inuse:bytes. +# TYPE go_memstats_mspan_inuse_bytes gauge +# HELP go_memstats_mspan_sys_bytes Number of bytes used for mspan structures obtained from system. Equals to /memory/classes/metadata/mspan/inuse:bytes + /memory/classes/metadata/mspan/free:bytes. +# TYPE go_memstats_mspan_sys_bytes gauge +# HELP go_memstats_next_gc_bytes Number of heap bytes when next garbage collection will take place. Equals to /gc/heap/goal:bytes. +# TYPE go_memstats_next_gc_bytes gauge +# HELP go_memstats_other_sys_bytes Number of bytes used for other system allocations. Equals to /memory/classes/other:bytes. +# TYPE go_memstats_other_sys_bytes gauge +# HELP go_memstats_stack_inuse_bytes Number of bytes obtained from system for stack allocator in non-CGO environments. Equals to /memory/classes/heap/stacks:bytes. +# TYPE go_memstats_stack_inuse_bytes gauge +# HELP go_memstats_stack_sys_bytes Number of bytes obtained from system for stack allocator. Equals to /memory/classes/heap/stacks:bytes + /memory/classes/os-stacks:bytes. +# TYPE go_memstats_stack_sys_bytes gauge +# HELP go_memstats_sys_bytes Number of bytes obtained from system. Equals to /memory/classes/total:byte. +# TYPE go_memstats_sys_bytes gauge +# HELP go_sched_gomaxprocs_threads The current runtime.GOMAXPROCS setting, or the number of operating system threads that can execute user-level Go code simultaneously. Sourced from /sched/gomaxprocs:threads +# TYPE go_sched_gomaxprocs_threads gauge +# HELP go_threads Number of OS threads created. +# TYPE go_threads gauge +# HELP node_exporter_build_info A metric with a constant '1' value labeled by version, revision, branch, goversion from which node_exporter was built, and the goos and goarch for the build. +# TYPE node_exporter_build_info gauge +# HELP node_filesystem_avail_bytes Filesystem space available to non-root users in bytes. +# TYPE node_filesystem_avail_bytes gauge +node_filesystem_avail_bytes{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 4.8840179712e+10 +node_filesystem_avail_bytes{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 4.8828514304e+10 +node_filesystem_avail_bytes{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 4.8840179712e+10 +node_filesystem_avail_bytes{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 4.8840179712e+10 +node_filesystem_avail_bytes{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 4.8840179712e+10 +node_filesystem_avail_bytes{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 4.8840179712e+10 +node_filesystem_avail_bytes{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 3.12211456e+08 +node_filesystem_avail_bytes{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 4.8828514304e+10 +node_filesystem_avail_bytes{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 0 +node_filesystem_avail_bytes{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 1.45627480064e+11 +node_filesystem_avail_bytes{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 1.542242304e+09 +node_filesystem_avail_bytes{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 1.542242304e+09 +# HELP node_filesystem_device_error Whether an error occurred while getting statistics for the given device. +# TYPE node_filesystem_device_error gauge +node_filesystem_device_error{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 0 +node_filesystem_device_error{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 0 +node_filesystem_device_error{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 0 +node_filesystem_device_error{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 0 +node_filesystem_device_error{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 0 +node_filesystem_device_error{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 0 +node_filesystem_device_error{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 0 +node_filesystem_device_error{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 0 +node_filesystem_device_error{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 0 +node_filesystem_device_error{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 0 +node_filesystem_device_error{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 0 +node_filesystem_device_error{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 0 +# HELP node_filesystem_files Filesystem total file nodes. +# TYPE node_filesystem_files gauge +node_filesystem_files{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 51 +node_filesystem_files{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 51 +node_filesystem_files{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 51 +node_filesystem_files{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 51 +node_filesystem_files{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 51 +node_filesystem_files{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 51 +node_filesystem_files{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 16638 +node_filesystem_files{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 51 +node_filesystem_files{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 12228 +node_filesystem_files{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 26266 +node_filesystem_files{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 1.506099e+06 +node_filesystem_files{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 1.506099e+06 +# HELP node_filesystem_files_free Filesystem total free file nodes. +# TYPE node_filesystem_files_free gauge +node_filesystem_files_free{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 0 +node_filesystem_files_free{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 0 +node_filesystem_files_free{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 0 +node_filesystem_files_free{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 0 +node_filesystem_files_free{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 0 +node_filesystem_files_free{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 0 +node_filesystem_files_free{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 15934 +node_filesystem_files_free{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 0 +node_filesystem_files_free{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 12221 +node_filesystem_files_free{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 0 +node_filesystem_files_free{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 1.506098e+06 +node_filesystem_files_free{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 1.506098e+06 +# HELP node_filesystem_free_bytes Filesystem free space in bytes. +# TYPE node_filesystem_free_bytes gauge +node_filesystem_free_bytes{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 4.8840179712e+10 +node_filesystem_free_bytes{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 4.8828514304e+10 +node_filesystem_free_bytes{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 4.8840179712e+10 +node_filesystem_free_bytes{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 4.8840179712e+10 +node_filesystem_free_bytes{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 4.8840179712e+10 +node_filesystem_free_bytes{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 4.8840179712e+10 +node_filesystem_free_bytes{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 3.97924352e+08 +node_filesystem_free_bytes{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 4.8828514304e+10 +node_filesystem_free_bytes{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 0 +node_filesystem_free_bytes{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 1.45627480064e+11 +node_filesystem_free_bytes{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 1.542242304e+09 +node_filesystem_free_bytes{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 1.542242304e+09 +# HELP node_filesystem_mount_info Filesystem mount information. +# TYPE node_filesystem_mount_info gauge +node_filesystem_mount_info{device="/build/usr.obj",major="",minor="",mountpoint="/usr/obj"} 1 +node_filesystem_mount_info{device="/build/var.cache",major="",minor="",mountpoint="/var/cache"} 1 +node_filesystem_mount_info{device="/build/var.crash",major="",minor="",mountpoint="/var/crash"} 1 +node_filesystem_mount_info{device="/build/var.log",major="",minor="",mountpoint="/var/log"} 1 +node_filesystem_mount_info{device="/build/var.spool",major="",minor="",mountpoint="/var/spool"} 1 +node_filesystem_mount_info{device="/build/var.tmp",major="",minor="",mountpoint="/var/tmp"} 1 +node_filesystem_mount_info{device="/dev/serno/QM00001.s1a",major="",minor="",mountpoint="/boot"} 1 +node_filesystem_mount_info{device="/dev/serno/QM00001.s1e@DATA",major="",minor="",mountpoint="/build"} 1 +node_filesystem_mount_info{device="procfs",major="",minor="",mountpoint="/proc"} 1 +node_filesystem_mount_info{device="serno/QM00001.s1d",major="",minor="",mountpoint="/"} 1 +node_filesystem_mount_info{device="tmpfs",major="",minor="",mountpoint="/tmp"} 1 +node_filesystem_mount_info{device="tmpfs",major="",minor="",mountpoint="/var/run/shm"} 1 +# HELP node_filesystem_readonly Filesystem read-only status. +# TYPE node_filesystem_readonly gauge +node_filesystem_readonly{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 0 +node_filesystem_readonly{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 0 +node_filesystem_readonly{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 0 +node_filesystem_readonly{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 0 +node_filesystem_readonly{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 0 +node_filesystem_readonly{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 0 +node_filesystem_readonly{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 0 +node_filesystem_readonly{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 0 +node_filesystem_readonly{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 0 +node_filesystem_readonly{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 0 +node_filesystem_readonly{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 0 +node_filesystem_readonly{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 0 +# HELP node_filesystem_size_bytes Filesystem size in bytes. +# TYPE node_filesystem_size_bytes gauge +node_filesystem_size_bytes{device="/build/usr.obj",device_error="",fstype="null",mountpoint="/usr/obj"} 4.8855252992e+10 +node_filesystem_size_bytes{device="/build/var.cache",device_error="",fstype="null",mountpoint="/var/cache"} 4.8855252992e+10 +node_filesystem_size_bytes{device="/build/var.crash",device_error="",fstype="null",mountpoint="/var/crash"} 4.8855252992e+10 +node_filesystem_size_bytes{device="/build/var.log",device_error="",fstype="null",mountpoint="/var/log"} 4.8855252992e+10 +node_filesystem_size_bytes{device="/build/var.spool",device_error="",fstype="null",mountpoint="/var/spool"} 4.8855252992e+10 +node_filesystem_size_bytes{device="/build/var.tmp",device_error="",fstype="null",mountpoint="/var/tmp"} 4.8855252992e+10 +node_filesystem_size_bytes{device="/dev/serno/QM00001.s1a",device_error="",fstype="ufs",mountpoint="/boot"} 1.071429632e+09 +node_filesystem_size_bytes{device="/dev/serno/QM00001.s1e@DATA",device_error="",fstype="hammer2",mountpoint="/build"} 4.8855252992e+10 +node_filesystem_size_bytes{device="procfs",device_error="",fstype="procfs",mountpoint="/proc"} 4096 +node_filesystem_size_bytes{device="serno/QM00001.s1d",device_error="",fstype="hammer2",mountpoint="/"} 1.4619246592e+11 +node_filesystem_size_bytes{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/tmp"} 1.542242304e+09 +node_filesystem_size_bytes{device="tmpfs",device_error="",fstype="tmpfs",mountpoint="/var/run/shm"} 1.542242304e+09 +# HELP node_network_receive_bytes_total Network device statistic receive_bytes. +# TYPE node_network_receive_bytes_total counter +# HELP node_network_receive_drop_total Network device statistic receive_drop. +# TYPE node_network_receive_drop_total counter +node_network_receive_drop_total{device="em0"} 0 +node_network_receive_drop_total{device="lo0"} 0 +# HELP node_network_receive_errs_total Network device statistic receive_errs. +# TYPE node_network_receive_errs_total counter +node_network_receive_errs_total{device="em0"} 0 +node_network_receive_errs_total{device="lo0"} 0 +# HELP node_network_receive_multicast_total Network device statistic receive_multicast. +# TYPE node_network_receive_multicast_total counter +node_network_receive_multicast_total{device="em0"} 3 +node_network_receive_multicast_total{device="lo0"} 0 +# HELP node_network_receive_packets_total Network device statistic receive_packets. +# TYPE node_network_receive_packets_total counter +# HELP node_network_transmit_bytes_total Network device statistic transmit_bytes. +# TYPE node_network_transmit_bytes_total counter +# HELP node_network_transmit_drop_total Network device statistic transmit_drop. +# TYPE node_network_transmit_drop_total counter +node_network_transmit_drop_total{device="em0"} 0 +node_network_transmit_drop_total{device="lo0"} 0 +# HELP node_network_transmit_errs_total Network device statistic transmit_errs. +# TYPE node_network_transmit_errs_total counter +node_network_transmit_errs_total{device="em0"} 0 +node_network_transmit_errs_total{device="lo0"} 0 +# HELP node_network_transmit_packets_total Network device statistic transmit_packets. +# TYPE node_network_transmit_packets_total counter +# HELP node_os_info A metric with a constant '1' value labeled by build_id, id, id_like, image_id, image_version, name, pretty_name, variant, variant_id, version, version_codename, version_id. +# TYPE node_os_info gauge +node_os_info{build_id="",id="ubuntu",id_like="debian",image_id="",image_version="",name="Ubuntu",pretty_name="Ubuntu 20.04.2 LTS",variant="",variant_id="",version="20.04.2 LTS (Focal Fossa)",version_codename="focal",version_id="20.04"} 1 +# HELP node_os_version Metric containing the major.minor part of the OS version. +# TYPE node_os_version gauge +node_os_version{id="ubuntu",id_like="debian",name="Ubuntu"} 20.04 +# HELP node_scrape_collector_duration_seconds node_exporter: Duration of a collector scrape. +# TYPE node_scrape_collector_duration_seconds gauge +# HELP node_scrape_collector_success node_exporter: Whether a collector succeeded. +# TYPE node_scrape_collector_success gauge +node_scrape_collector_success{collector="boottime"} 1 +node_scrape_collector_success{collector="cpu"} 1 +node_scrape_collector_success{collector="exec"} 1 +node_scrape_collector_success{collector="filesystem"} 1 +node_scrape_collector_success{collector="loadavg"} 1 +node_scrape_collector_success{collector="meminfo"} 0 +node_scrape_collector_success{collector="netdev"} 1 +node_scrape_collector_success{collector="os"} 1 +node_scrape_collector_success{collector="textfile"} 1 +node_scrape_collector_success{collector="time"} 1 +# HELP node_textfile_scrape_error 1 if there was an error opening or reading a file, 0 otherwise +# TYPE node_textfile_scrape_error gauge +node_textfile_scrape_error 0 +# HELP node_time_seconds System time in seconds since epoch (1970). +# TYPE node_time_seconds gauge +# HELP node_time_zone_offset_seconds System time zone offset in seconds. +# TYPE node_time_zone_offset_seconds gauge +# HELP promhttp_metric_handler_errors_total Total number of internal errors encountered by the promhttp metric handler. +# TYPE promhttp_metric_handler_errors_total counter +promhttp_metric_handler_errors_total{cause="encoding"} 0 +promhttp_metric_handler_errors_total{cause="gathering"} 0 +# HELP promhttp_metric_handler_requests_in_flight Current number of scrapes being served. +# TYPE promhttp_metric_handler_requests_in_flight gauge +promhttp_metric_handler_requests_in_flight 1 +# HELP promhttp_metric_handler_requests_total Total number of scrapes by HTTP status code. +# TYPE promhttp_metric_handler_requests_total counter +promhttp_metric_handler_requests_total{code="200"} 0 +promhttp_metric_handler_requests_total{code="500"} 0 +promhttp_metric_handler_requests_total{code="503"} 0