Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" GoVersion = runtime.Version() )
Set via compiler flags
View Source
var ( BuildInfo = prometheus.NewGaugeFunc( prometheus.GaugeOpts{ Name: "theatre_build_info", Help: "A metric with a constant '1' value labeled by version, commit, goversion from which %s was built, and the goos and goarch for the build.", ConstLabels: prometheus.Labels{ "version": Version, "commit": Commit, "goversion": GoVersion, "goos": runtime.GOOS, "goarch": runtime.GOARCH, }, }, func() float64 { return 1 }, ) )
Functions ¶
func NewCommonOptions ¶
func NewCommonOptions(cmd *kingpin.Application) *commonOptions
func VersionStanza ¶
func VersionStanza() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.