Skip to content

Commit

Permalink
Omitted 'TIMESERIES' from the examples, as TIMESERIES breaks the valu…
Browse files Browse the repository at this point in the history
…e returned by the query

Signed-off-by: Shachar Ashkenazi <[email protected]>
  • Loading branch information
shachar-ash committed Nov 28, 2023
1 parent a2af459 commit 5e1b80e
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions content/docs/2.10/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.11/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.12/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.13/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.6/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: '100'
```
Expand Down Expand Up @@ -83,7 +83,7 @@ spec:
metadata:
account: '1234567'
region: "US"
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.7/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: '100'
```
Expand Down Expand Up @@ -93,7 +93,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.8/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down
4 changes: 2 additions & 2 deletions content/docs/2.9/scalers/new-relic.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ triggers:
# Optional: noDataError - If the query returns no data should this be treated as an error. Default value is false.
noDataError: "true"
# Required: nrql
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
# Required: threshold
threshold: "50.50"
# Optional: activationThreshold - Target value for activating the scaler.
Expand Down Expand Up @@ -96,7 +96,7 @@ spec:
triggers:
- type: new-relic
metadata:
nrql: "SELECT average(duration) from Transaction where appName='SITE' TIMESERIES"
nrql: "SELECT average(duration) from Transaction where appName='SITE'"
noDataError: "true"
threshold: '1000'
authenticationRef:
Expand Down

0 comments on commit 5e1b80e

Please sign in to comment.