-
Notifications
You must be signed in to change notification settings - Fork 995
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
Dashboard is only showing metrics for "Changes in Replicas", when ScaledObject name is identical to Deployment name #4599
Comments
try this one once maybe it should fix your issues. |
This one looks better. It's not using |
check the variables im not sure it suppose to work as i can see one yellow spike in your graph for value 2 for hpa current/max ,the variables may be wrong in some query double check if you have all the metrics |
Hi, |
@JorTurFer I will try to figure out a solution in the next days. If I do, I can open up a PR. |
I have adapted the original dashboard, fixed the metrics with some from @btwseeu78 's dashboard. This would now look like this: What do you say, @JorTurFer and @btwseeu78? |
I think it would still be nice to have "changes" in there though, often you want to see how the distribution changed over time. Certainly when investigating issues. |
@tomkerkhove, I have re-added the panel and adapted it to the I have included differentiation between scaling up, no scaling and scaling down. Is that something that you consider useful? If so, what colors would you prefer for each? |
Sure, although I'm not a fan of showing "HPA" which is implementation detail. KEDA end-users uses scaledobject, not HPA, and might be confusing |
@tomkerkhove I have removed the mentioning of HPA, could you have a look at PR #4727? |
Report
The dashboard displays the metric
changes(kube_deployment_spec_replicas{deployment=~\"$scaledObject\"}[1m])
(Source)If the scaled object name is different from the deployment name, there is no data shown.
Expected Behavior
The dashboard should show data, even though the scaledobject name is different from the deployment name.
Actual Behavior
If the scaled object name is different from the deployment name, there is no data shown.
Steps to Reproduce the Problem
fuu
bar
Logs from KEDA operator
No response
KEDA Version
2.10.1
Kubernetes Version
1.26
Platform
Microsoft Azure
Scaler Details
Kafka
Anything else?
No response
The text was updated successfully, but these errors were encountered: