Closed jorgeAtSama closed 3 months ago
I've checked the code and I'm not 100% sure about if percentile is a supported option for the query: https://github.com/kedacore/keda/blob/072fcf09ed0259b4e78f1173a6fc5fe9cdadcf4a/pkg/scalers/newrelic_scaler.go#L155-L171
Are you willing to open a PR supporting it?
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.
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.
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.
This issue has been automatically closed due to inactivity.
Report
I’m using the New Relic (NR) scaler. KEDA fails to parse this query:
I tested it New Relic query builder and it works fine (see error below).
And this is the json response I’m getting from the NR server:
This is my scaled object:
Expected Behavior
The query should be correctly parsed and the result value used to determine the scaled object behavior. I believe the problem comes from KEDA's inability to parse the result.
Actual Behavior
The KEDA operator fails to parse the query. See logs below.
Steps to Reproduce the Problem
Logs from KEDA operator
KEDA Version
2.12.0
Kubernetes Version
1.27
Platform
Amazon Web Services
Scaler Details
New Relic
Anything else?
We're actually running our workloads in Kubernetes v1.28.