Documentation ¶
Overview ¶
Package metrics provides metrics and instrumentation functions for the metrics API server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterMetrics ¶
func RegisterMetrics(registrationFunc func(metrics.Registerable) error) error
RegisterMetrics registers API server metrics, given a registration function.
Types ¶
type FreshnessObserver ¶
FreshnessObserver captures individual observations of the timestamp of metrics.
func NewFreshnessObserver ¶
func NewFreshnessObserver(apiGroup string) FreshnessObserver
NewFreshnessObserver creates a FreshnessObserver for a given metrics API group.
Click to show internal directories.
Click to hide internal directories.