Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultDisableGoCollector = false DefaultDisableProcCollector = false DefaultHTTPEndpointPath = "/metrics" )
View Source
const DaemonTypeMetricsd boot.DaemonType = "metricsd"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cfg ¶
type Metricsd ¶
type Metricsd interface {
boot.Daemon
Register(prometheus.Collector) error
MustRegister(...prometheus.Collector)
RegisterMetric(prometheus.Metric) error
SetGauge(string, float64)
AddGauge(string, float64)
SubGauge(string, float64)
IncGauge(string)
DecGauge(string)
IncCounter(string)
AddCounter(string, float64)
}
Click to show internal directories.
Click to hide internal directories.