Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Info ¶
type Info struct { GitCommit string `json:"gitCommit"` GitVersion string `json:"gitVersion"` BuildDate string `json:"buildDate"` }
Info holds build information.
type InfoMetrics ¶ added in v1.24.0
InfoMetrics hold a gauge whose tags include build information.
func NewInfoMetrics ¶ added in v1.24.0
func NewInfoMetrics(metricsFactory metrics.Factory) *InfoMetrics
NewInfoMetrics returns a InfoMetrics
Click to show internal directories.
Click to hide internal directories.