Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BaseCheck ¶
type BaseCheck struct { MessageOK string MessageNOK string StateMetric *prometheus.GaugeVec DurationMetric *prometheus.GaugeVec // contains filtered or unexported fields }
BaseCheck basic check functionality
func (*BaseCheck) ReportResults ¶
func (c *BaseCheck) ReportResults(result []interface{}, err error, duration float64, values ...string)
ReportResults report the check results
Click to show internal directories.
Click to hide internal directories.