mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: use Counter for proposals_failed_total
It only ever goes up.
This commit is contained in:
parent
b6f5b6b1c9
commit
d219e96359
@ -52,7 +52,7 @@ var (
|
||||
Name: "proposals_pending",
|
||||
Help: "The current number of pending proposals to commit.",
|
||||
})
|
||||
proposalsFailed = prometheus.NewGauge(prometheus.GaugeOpts{
|
||||
proposalsFailed = prometheus.NewCounter(prometheus.CounterOpts{
|
||||
Namespace: "etcd",
|
||||
Subsystem: "server",
|
||||
Name: "proposals_failed_total",
|
||||
|
Loading…
x
Reference in New Issue
Block a user