etcdserver: use Counter for proposals_failed_total

It only ever goes up.
This commit is contained in:
Gyu-Ho Lee 2016-08-10 09:27:51 -07:00
parent b6f5b6b1c9
commit d219e96359

View File

@ -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",