Skip to content

Commit ed48174

Browse files
mac2000SuperQ
andcommitted
simplify metric name by removing redundant number_of_ prefix
Co-authored-by: Ben Kochie <[email protected]> Signed-off-by: Alexandr Marchenko <[email protected]>
1 parent 2a320bf commit ed48174

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/indices_settings.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func NewIndicesSettings(logger log.Logger, client *http.Client, url *url.URL) *I
9393
{
9494
Type: prometheus.GaugeValue,
9595
Desc: prometheus.NewDesc(
96-
prometheus.BuildFQName(namespace, "indices_settings", "number_of_replicas"),
96+
prometheus.BuildFQName(namespace, "indices_settings", "replicas"),
9797
"index setting number_of_replicas",
9898
defaultIndicesTotalFieldsLabels, nil,
9999
),

0 commit comments

Comments
 (0)