Skip to content

Commit 43c1967

Browse files
committed
Revert "Fix ilm metric labels (prometheus-community#677)"
This reverts commit a5f33bb.
1 parent 6a857bb commit 43c1967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/ilm_status.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func NewIlmStatus(logger log.Logger, client *http.Client, url *url.URL) *IlmStat
7979
Desc: prometheus.NewDesc(
8080
prometheus.BuildFQName(namespace, subsystem, "status"),
8181
"Current status of ilm. Status can be STOPPED, RUNNING, STOPPING.",
82-
[]string{"operation_mode"}, nil,
82+
ilmStatuses, nil,
8383
),
8484
Value: func(ilm *IlmStatusResponse, status string) float64 {
8585
if ilm.OperationMode == status {

0 commit comments

Comments
 (0)