Versions in this module Expand all Collapse all v1 v1.0.0 Oct 23, 2023 Changes in this version + var MetricsAll = GoRuntimeMetricsRule + var MetricsGC = GoRuntimeMetricsRule + var MetricsMemory = GoRuntimeMetricsRule + var MetricsScheduler = GoRuntimeMetricsRule + func NewBuildInfoCollector() prometheus.Collector + func NewDBStatsCollector(db *sql.DB, dbName string) prometheus.Collector + func NewExpvarCollector(exports map[string]*prometheus.Desc) prometheus.Collector + func NewGoCollector(opts ...func(o *internal.GoCollectorOptions)) prometheus.Collector + func NewProcessCollector(opts ProcessCollectorOpts) prometheus.Collector + func WithGoCollections(flags GoCollectionOption) func(options *internal.GoCollectorOptions) + func WithGoCollectorMemStatsMetricsDisabled() func(options *internal.GoCollectorOptions) + func WithGoCollectorRuntimeMetrics(rules ...GoRuntimeMetricsRule) func(options *internal.GoCollectorOptions) + func WithoutGoCollectorRuntimeMetrics(matchers ...*regexp.Regexp) func(options *internal.GoCollectorOptions) + type GoCollectionOption uint32 + const GoRuntimeMemStatsCollection + const GoRuntimeMetricsCollection + type GoRuntimeMetricsRule struct + Matcher *regexp.Regexp + type ProcessCollectorOpts struct + Namespace string + PidFn func() (int, error) + ReportErrors bool