|
@@ -90,6 +90,12 @@ var (
|
|
|
Name: "slow_read_indexes_total",
|
|
Name: "slow_read_indexes_total",
|
|
|
Help: "The total number of pending read indexes not in sync with leader's or timed out read index requests.",
|
|
Help: "The total number of pending read indexes not in sync with leader's or timed out read index requests.",
|
|
|
})
|
|
})
|
|
|
|
|
+ readIndexFailed = prometheus.NewCounter(prometheus.CounterOpts{
|
|
|
|
|
+ Namespace: "etcd",
|
|
|
|
|
+ Subsystem: "server",
|
|
|
|
|
+ Name: "read_indexes_failed_total",
|
|
|
|
|
+ Help: "The total number of failed read indexes seen.",
|
|
|
|
|
+ })
|
|
|
quotaBackendBytes = prometheus.NewGauge(prometheus.GaugeOpts{
|
|
quotaBackendBytes = prometheus.NewGauge(prometheus.GaugeOpts{
|
|
|
Namespace: "etcd",
|
|
Namespace: "etcd",
|
|
|
Subsystem: "server",
|
|
Subsystem: "server",
|
|
@@ -131,6 +137,7 @@ func init() {
|
|
|
prometheus.MustRegister(proposalsFailed)
|
|
prometheus.MustRegister(proposalsFailed)
|
|
|
prometheus.MustRegister(leaseExpired)
|
|
prometheus.MustRegister(leaseExpired)
|
|
|
prometheus.MustRegister(slowReadIndex)
|
|
prometheus.MustRegister(slowReadIndex)
|
|
|
|
|
+ prometheus.MustRegister(readIndexFailed)
|
|
|
prometheus.MustRegister(quotaBackendBytes)
|
|
prometheus.MustRegister(quotaBackendBytes)
|
|
|
prometheus.MustRegister(currentVersion)
|
|
prometheus.MustRegister(currentVersion)
|
|
|
prometheus.MustRegister(currentGoVersion)
|
|
prometheus.MustRegister(currentGoVersion)
|