Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDurationMetrics ¶
RegisterTickDuration creates and registers a histogram metric for scrape duration, suitable for use in the overall manager.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func NewManager(metricSrc sources.MetricSource, metricSink sink.MetricSink, resolution time.Duration) *Manager
func (*Manager) CheckHealth ¶
CheckHealth checks the health of the manager by looking at tick times, and checking if we have at least one node in the collected data. It implements the health checker func part of the healthz checker.
Click to show internal directories.
Click to hide internal directories.