Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "unknown" Revision = "unknown" Branch = "unknown" GoVersion = runtime.Version() )
Build information. Populated at build-time. Note: Removed BuildUser and BuildDate for reproducible builds
Functions ¶
func BuildInfoHandler ¶
func NewCollector ¶
func NewCollector(program string) prometheus.Collector
NewCollector returns a collector that exports metrics about current version information.
Types ¶
type BuildInfoFeatures ¶
type BuildInfoResponse ¶
Click to show internal directories.
Click to hide internal directories.