commit
44fda7985a
|
@ -47,7 +47,7 @@ var (
|
||||||
fileDescriptorUsed = prometheus.NewGauge(prometheus.GaugeOpts{
|
fileDescriptorUsed = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||||
Namespace: "etcd",
|
Namespace: "etcd",
|
||||||
Subsystem: "server",
|
Subsystem: "server",
|
||||||
Name: "file_descriptors_used_totol",
|
Name: "file_descriptors_used_total",
|
||||||
Help: "The total number of file descriptors used.",
|
Help: "The total number of file descriptors used.",
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
|
@ -20,8 +20,10 @@ var (
|
||||||
// TODO: save_fsync latency?
|
// TODO: save_fsync latency?
|
||||||
// TODO: save_encoding latency?
|
// TODO: save_encoding latency?
|
||||||
saveDurations = prometheus.NewSummary(prometheus.SummaryOpts{
|
saveDurations = prometheus.NewSummary(prometheus.SummaryOpts{
|
||||||
Name: "snapshot_save_total_durations_microseconds",
|
Namespace: "etcd",
|
||||||
Help: "The total latency distributions of save called by snapshot.",
|
Subsystem: "snapshot",
|
||||||
|
Name: "save_total_durations_microseconds",
|
||||||
|
Help: "The total latency distributions of save called by snapshot.",
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue