Skip to content

Commit 9a94386

Browse files
committed
Rename failure metrics
1 parent b7fc8a1 commit 9a94386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

distributor.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func NewDistributor(cfg DistributorConfig) (*Distributor, error) {
114114
}, []string{"ingester"}),
115115
ingesterAppendFailures: prometheus.NewCounterVec(prometheus.CounterOpts{
116116
Namespace: "prometheus",
117-
Name: "distributor_ingester_appends_total",
117+
Name: "distributor_ingester_append_failures_total",
118118
Help: "The total number of failed batch appends sent to ingesters.",
119119
}, []string{"ingester"}),
120120
ingesterQueries: prometheus.NewCounterVec(prometheus.CounterOpts{
@@ -124,7 +124,7 @@ func NewDistributor(cfg DistributorConfig) (*Distributor, error) {
124124
}, []string{"ingester"}),
125125
ingesterQueryFailures: prometheus.NewCounterVec(prometheus.CounterOpts{
126126
Namespace: "prometheus",
127-
Name: "distributor_ingester_appends_total",
127+
Name: "distributor_ingester_query_failures_total",
128128
Help: "The total number of failed queries sent to ingesters.",
129129
}, []string{"ingester"}),
130130
}, nil

0 commit comments

Comments
 (0)