# Functions
NewBuildInfoCollector returns a collector collecting a single metric "go_build_info" with the constant value 1 and three labels "path", "version", and "checksum".
NewDBStatsCollector returns a collector that exports metrics about the given *sql.DB.
NewExpvarCollector returns a newly allocated expvar Collector.
NewGoCollector returns a collector that exports metrics about the current Go process using debug.GCStats using runtime/metrics.
NewProcessCollector returns a collector which exports the current state of process metrics including CPU, memory and file descriptor usage as well as the process start time.
WithGoCollections allows enabling different collections for Go collector on top of base metrics like go_goroutines, go_threads, go_gc_duration_seconds, go_memstats_last_gc_time_seconds, go_info.
# Constants
GoRuntimeMemStatsCollection represents the metrics represented by runtime.MemStats structure such as go_memstats_alloc_bytes go_memstats_alloc_bytes_total go_memstats_sys_bytes go_memstats_lookups_total go_memstats_mallocs_total go_memstats_frees_total go_memstats_heap_alloc_bytes go_memstats_heap_sys_bytes go_memstats_heap_idle_bytes go_memstats_heap_inuse_bytes go_memstats_heap_released_bytes go_memstats_heap_objects go_memstats_stack_inuse_bytes go_memstats_stack_sys_bytes go_memstats_mspan_inuse_bytes go_memstats_mspan_sys_bytes go_memstats_mcache_inuse_bytes go_memstats_mcache_sys_bytes go_memstats_buck_hash_sys_bytes go_memstats_gc_sys_bytes go_memstats_other_sys_bytes go_memstats_next_gc_bytes so the metrics known from pre client_golang v1.12.0, except skipped go_memstats_gc_cpu_fraction (see https://github.com/m3db/prometheus_client_golang/issues/842#issuecomment-861812034 for explanation.
GoRuntimeMetricsCollection is the new set of metrics represented by runtime/metrics package and follows consistent naming.
# Structs
ProcessCollectorOpts defines the behavior of a process metrics collector created with NewProcessCollector.
# Type aliases
No description provided by the author