Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Version information passed to Prometheus version package. Package path as used by linker changes based on vendoring being used or not, so it's easier just to use stable Agent path, and pass it to Prometheus in the code.
Functions ¶
func NewCollector ¶ added in v0.33.1
func NewCollector(program string) prometheus.Collector
NewCollector returns a collector that exports metrics about current version information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.