Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version string Revision string Branch string BuildUser string BuildDate string GoVersion = runtime.Version() )
Build information. Populated at build-time.
Functions ¶
func BuildContext ¶
func BuildContext() string
BuildContext returns goVersion, buildUser and buildDate information.
func NewCollector ¶
func NewCollector(program string) *prometheus.GaugeVec
NewCollector returns a collector which exports metrics about current version information.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.