Skip to content

Commit

Permalink
Revert "Fix ilm metric labels (prometheus-community#677)"
Browse files Browse the repository at this point in the history
This reverts commit a5f33bb.
  • Loading branch information
jaimeyh authored Jun 14, 2024
1 parent 55d9dac commit 74ebb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/ilm_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func NewIlmStatus(logger log.Logger, client *http.Client, url *url.URL) *IlmStat
Desc: prometheus.NewDesc(
prometheus.BuildFQName(namespace, subsystem, "status"),
"Current status of ilm. Status can be STOPPED, RUNNING, STOPPING.",
[]string{"operation_mode"}, nil,
ilmStatuses, nil,
),
Value: func(ilm *IlmStatusResponse, status string) float64 {
if ilm.OperationMode == status {
Expand Down

0 comments on commit 74ebb36

Please sign in to comment.