Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCountValue ¶ added in v1.1.5
func GetCountValue(summaryMetric prometheus.Summary) (int, error)
GetCountValue is used for validation. It returns the number of times a Summary metric has recorded an observation.
func GetValue ¶ added in v1.1.5
func GetValue(gaugeMetric prometheus.Gauge) (int, error)
GetValue is used for validation. It returns a Gauge metric's value.
func GetVecValue ¶ added in v1.1.5
func GetVecValue(gaugeVecMetric *prometheus.GaugeVec, labels prometheus.Labels) (int, error)
GetVecValue is used for validation. It returns a Gauge Vec metric's value, or 0 if the label doesn't exist for the metric.
func NotifyIfErrors ¶
NotifyIfErrors writes any non-nil errors to a testing utility
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.