Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

keda_scaler_metrics_value metric exposed by the KEDA operator doesn't reflect changes in SO #6617

Open
jkremser opened this issue Mar 12, 2025 · 0 comments · May be fixed by #6618
Open

keda_scaler_metrics_value metric exposed by the KEDA operator doesn't reflect changes in SO #6617

jkremser opened this issue Mar 12, 2025 · 0 comments · May be fixed by #6618
Labels
bug Something isn't working

Comments

@jkremser
Copy link
Contributor

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:

  1. add another scaler to SO
  2. check metrics
  3. remove the scaler from SO
  4. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

Successfully merging a pull request may close this issue.

1 participant