-
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
Azure Monitor Scaler will panic if the timeseries has no data #679
Comments
@ahmelsayed @jsturtevant This has to be reopened as Just now I encountered this error. When I setup a scaledobject that will trigger autoscaling based on the
|
The metric scaler incorrectly checks for nil and does not check length so end up with the following exception:
This occurs if Azure monitor returns no timeseries as is sometimes the case for
IncomingMessages
for EventHub metrics.This was originally discovered in Azure Monitor project: Azure/azure-k8s-metrics-adapter#90
The text was updated successfully, but these errors were encountered: