Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Registry exposes the SLI registry so that additional SLIs can be // added on a per-component basis. Registry = metrics.NewKubeRegistry() )
Functions ¶
func ObserveHealthcheck ¶
func Register ¶
func Register(registry k8smetrics.KubeRegistry)
func ResetHealthMetrics ¶
func ResetHealthMetrics()
Types ¶
type HealthcheckStatus ¶
type HealthcheckStatus string
const ( Success HealthcheckStatus = "success" Error HealthcheckStatus = "error" )
type SLIMetrics ¶
type SLIMetrics struct{}
func (SLIMetrics) Install ¶
func (s SLIMetrics) Install(m mux)
Install adds the DefaultMetrics handler
type SLIMetricsWithReset ¶
type SLIMetricsWithReset struct{}
func (SLIMetricsWithReset) Install ¶
func (s SLIMetricsWithReset) Install(m mux)
Install adds the DefaultMetrics handler
Click to show internal directories.
Click to hide internal directories.