You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We seem to have the same problem as #5452 we believe since upgrading to 2.14.0. Infrequently Keda throwing that it cannot find a metric that matches that filter. GCP audit logs show no failed auth or perms issues.
In a 7 day window we observed 863 instances of this error
Expected Behavior
Metric query returned consistently
Actual Behavior
Metric query inconsistently returned with the following error: could not find stackdriver metric with query fetch pubsub_subscription
Thanks @Caislear , we've got two envs that are impacted by this. One has a constant stream of messages in queue that rarely hit zero, the other more often hits zero messages in queue. Both are impacted by this bug but interestingly the higher volume environment experiences more of these errors
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.
stalebot
added
the
stale
All issues that are marked as stale due to inactivity
label
Aug 22, 2024
There was a bug in v2.13 that reduced unexpectedly the aggregation period but if was solved in v2.14. In v2.15 the time window supports custom horizons -> #5429
I think that you could have some periods without metrics that are treated as errors and probably increasing the window it can help.
We added also the option to set a custom value if metric not available as part of #5897
Report
We seem to have the same problem as #5452 we believe since upgrading to 2.14.0. Infrequently Keda throwing that it cannot find a metric that matches that filter. GCP audit logs show no failed auth or perms issues.
In a 7 day window we observed 863 instances of this error
Expected Behavior
Metric query returned consistently
Actual Behavior
Metric query inconsistently returned with the following error:
could not find stackdriver metric with query fetch pubsub_subscription
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.14.0
Kubernetes Version
1.28
Platform
Google Cloud
Scaler Details
Google Cloud Platform Pub/Sub
Anything else?
Poll interval if reduced to 5 seconds reduces errors seen but does not eliminate them
The text was updated successfully, but these errors were encountered: