Closed
Description
Report
KEDA operator exposes the current value for each SO's scaler using the metric called keda_scaler_metrics_value
.
However, if there is a change to ScaledObject
or ScaledJob
that adds/removes/edits the triggers, it is not reflected by the metrics.
Expected Behavior
keda_scaler_metrics_value
for the non-existent scaler is gone
Actual Behavior
keda_scaler_metrics_value
for the non-existent scaler is there until the operator is restarted, then it starts fresh and the issue is gone
Steps to Reproduce the Problem
So a simple reproducer is to:
- add another scaler to SO
- check metrics
- remove the scaler from SO
- check metrics
Logs from KEDA operator
No response
KEDA Version
2.16.1
Kubernetes Version
1.32
Platform
Any
Scaler Details
any
Anything else?
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Ready To Ship