Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
func NewCollector(program string, opts ...Option) prometheus.Collector
NewCollector returns a collector that exports metrics about current version information.
Types ¶
type Option ¶ added in v1.24.0
type Option func(*options)
func WithExtraConstLabels ¶ added in v1.24.0
func WithExtraConstLabels(l prometheus.Labels) Option
Click to show internal directories.
Click to hide internal directories.