Documentation
¶
Overview ¶
Package telemetry sets up logging (and, later, metrics).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
Metrics is the daemon's Prometheus registry. This file is the only place that imports the Prometheus client: the HTTP layer reports through ObserveHTTP and serves Handler. A nil *Metrics records nothing.
func NewMetrics ¶
NewMetrics returns a registry with the Go runtime and process collectors, the build version and the HTTP request metrics.
Click to show internal directories.
Click to hide internal directories.