Skip to content

Commit

Permalink
feat: introduce activationThreshold for New Relic Scaler (kedacore#874)
Browse files Browse the repository at this point in the history
  • Loading branch information
pragmaticivan authored Aug 4, 2022
1 parent 0e71372 commit 4a9fc49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/docs/2.8/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ triggers:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
activationThreshold: "20.1"
```
**Parameter list:**
Expand All @@ -37,6 +39,7 @@ triggers:
- `noDataError` - Should queries that return nodata be treated as an error (Values: `true`, `false`, Default: `false`, Optional)
- `nrql` - The New Relic query that will be run to get the data requested. [official documentation](https://docs.newrelic.com/docs/query-your-data/nrql-new-relic-query-language/get-started/introduction-nrql-new-relics-query-language/)
- `threshold` - A threshold that is used as the `targetValue` or `targetAverageValue` (depending on the trigger metric type) in the HPA configuration. (This value can be a float)
- `activationThreshold` - Target value for activating the scaler. Learn more about activation [here](./../concepts/scaling-deployments.md#activating-and-scaling-thresholds).(Default: `0`, Optional, This value can be a float)

### Authentication Parameters

Expand Down

0 comments on commit 4a9fc49

Please sign in to comment.