Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NAME = "gcp-exporter" VERSION = "dev" REVISION = "HEAD" BRANCH = "HEAD" BUILT = "now" )
Functions ¶
This section is empty.
Types ¶
type AppVersionInfo ¶
type AppVersionInfo struct { Name string Version string Revision string Branch string GOVersion string BuiltAt time.Time OS string Architecture string }
var AppVersion AppVersionInfo
func (*AppVersionInfo) Extended ¶
func (v *AppVersionInfo) Extended() string
func (*AppVersionInfo) Line ¶
func (v *AppVersionInfo) Line() string
func (*AppVersionInfo) ShortLine ¶
func (v *AppVersionInfo) ShortLine() string
func (*AppVersionInfo) UserAgent ¶
func (v *AppVersionInfo) UserAgent() string
func (*AppVersionInfo) VersionCollector ¶
func (v *AppVersionInfo) VersionCollector() *prometheus.GaugeVec
Click to show internal directories.
Click to hide internal directories.