Documentation ¶
Overview ¶
Package build contains build-related variables set at compile time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "N/A" ID = "N/A" Time = "N/A" GitSHA = "N/A" GitDirtyStr = "-1" GitDirty int PhpspyGitSHA = "N/A" )
Functions ¶
func PrettyJSON ¶ added in v0.0.35
func PrettyJSON() string
func PrometheusBuildLabels ¶ added in v0.0.38
func PrometheusBuildLabels() prometheus.Labels
PrometheusBuildLabels returns a map of the labels that will be exposed in the build_info metric
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.