etcdserver: use Counter for proposals_failed_total
It only ever goes up.
This commit is contained in:
@ -52,7 +52,7 @@ var (
|
|||||||
Name: "proposals_pending",
|
Name: "proposals_pending",
|
||||||
Help: "The current number of pending proposals to commit.",
|
Help: "The current number of pending proposals to commit.",
|
||||||
})
|
})
|
||||||
proposalsFailed = prometheus.NewGauge(prometheus.GaugeOpts{
|
proposalsFailed = prometheus.NewCounter(prometheus.CounterOpts{
|
||||||
Namespace: "etcd",
|
Namespace: "etcd",
|
||||||
Subsystem: "server",
|
Subsystem: "server",
|
||||||
Name: "proposals_failed_total",
|
Name: "proposals_failed_total",
|
||||||
|
Reference in New Issue
Block a user