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
Graphite's scaler acts on the most recent data available from a given query.
Actual Behavior
The scaler will act on the most outdated value returned by a query for a given time range.
Steps to Reproduce the Problem
Define a scaler definition with a QueryTime of 1 hour
Observe scaling behaviours act on hour-old data.
Logs from KEDA operator
example
KEDA Version
2.5.0
Kubernetes Version
No response
Platform
No response
Scaler Details
No response
Anything else?
Here you can see the graphite server response returns values in order of oldest to latest. With the final element of the response array being the most up-to-date timestamp. Graphite's scaler should be acting on the final element of the response array, not the first.
It seems very unlikely to me there is any legitimate use in allowing people to intentionally use out of date data.
Prometheus's scaler does not have any equivalent back-in-time functionality either.
Report
No response
Expected Behavior
Graphite's scaler acts on the most recent data available from a given query.
Actual Behavior
The scaler will act on the most outdated value returned by a query for a given time range.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.5.0
Kubernetes Version
No response
Platform
No response
Scaler Details
No response
Anything else?
Here you can see the graphite server response returns values in order of oldest to latest. With the final element of the response array being the most up-to-date timestamp. Graphite's scaler should be acting on the final element of the response array, not the first.
No response
The text was updated successfully, but these errors were encountered: