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
The metrics API is unable to process Quantities (even simple numeric ones.) This is because they are serialized to strings. KEDA actually returns Quantities itself so this scaler would no be able to process them either.
Report
The metrics API is unable to process Quantities (even simple numeric ones.) This is because they are serialized to strings. KEDA actually returns Quantities itself so this scaler would no be able to process them either.
Expected Behavior
I receive an API response like this:
I am able to reference it like this
Actual Behavior
The error:
valueLocation must point to value of type number got: String
Steps to Reproduce the Problem
1.Make/use an API that returns quantities
2.Point the metrics API scaler at it
3.Observe error
Logs from KEDA operator
KEDA Version
2.1.0
Kubernetes Version
1.17
Platform
Any
Scaler Details
metrics-api
PR will be raised to fix issue in a minute
The text was updated successfully, but these errors were encountered: