-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Not able to scrape metrics on the keda metrics server #4776
Comments
Hi! You can check available metrics for each component here: https://keda.sh/docs/2.11/operate/prometheus/ |
Report
When updating our keda operator from version 2.10.2 to version 2.11.0, we noticed what we think is a bug in keda metric server.
When using the Keda Metric server version 2.10.2, we see two endpoints that can serve the
/metrics
path.By default, we see the port 9022 to be scraped that contain metrics such has:
keda_metrics_adapter_scaled_object_errors
.We also see the port 8080 to be available also serving metrics such as
controller_runtime_reconcile_time_seconds_bucket
.When upgrading to version 2.11.0, we see that the current Prometheus metric server under the port 9022, disappear (expected) but we are not able to scrape metrics available to on port 8080.
In Prometheus, we see actually an error
Error 502 Bad Gateway
When doing port-forward to port 8080 on version 2.11.x we also see this error:
Expected Behavior
The default service monitor for metric server works as expected without having to change anything
Actual Behavior
The service monitor does not work as expected and the port 8080 cannot be scraped by prometheus
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.11.1
Kubernetes Version
1.26
Platform
Amazon Web Services
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: