Documentation
¶
Overview ¶
Package setup contains common logic for setting up the export package across binaries.
Index ¶
Constants ¶
View Source
const ( HABackendNone = "none" HABackendKubernetes = "kube" )
Supported HA backend modes.
Variables ¶
This section is empty.
Functions ¶
func FromFlags ¶
func FromFlags(a *kingpin.Application, userAgent string) func(log.Logger, prometheus.Registerer) (*export.Exporter, error)
FromFlags returns a constructor for a new exporter that is configured through flags that are registered with the given application. The constructor must be called after the flags have been parsed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.