Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExporterVersionCollector ¶
func NewExporterVersionCollector() prometheus.Collector
NewExporterVersionCollector registers a Gauge metric describing the exporter version.
func RegisterExporterCollectors ¶
func RegisterExporterCollectors(registry *prometheus.Registry)
RegisterExporterCollectors registers the following collectors in the given prometheus.Registry:
- prometheus.NewProcessCollector
- prometheus.NewGoCollector
- collectors.NewExporterVersionCollector
This is intended to be used to expose metrics about the exporter.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.