From 5e1b80e493550d9a57ffc1760489c20920630639 Mon Sep 17 00:00:00 2001 From: Shachar Ashkenazi Date: Tue, 28 Nov 2023 17:49:30 -0500 Subject: [PATCH] Omitted 'TIMESERIES' from the examples, as TIMESERIES breaks the value returned by the query Signed-off-by: Shachar Ashkenazi --- content/docs/2.10/scalers/new-relic.md | 4 ++-- content/docs/2.11/scalers/new-relic.md | 4 ++-- content/docs/2.12/scalers/new-relic.md | 4 ++-- content/docs/2.13/scalers/new-relic.md | 4 ++-- content/docs/2.6/scalers/new-relic.md | 4 ++-- content/docs/2.7/scalers/new-relic.md | 4 ++-- content/docs/2.8/scalers/new-relic.md | 4 ++-- content/docs/2.9/scalers/new-relic.md | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/content/docs/2.10/scalers/new-relic.md b/content/docs/2.10/scalers/new-relic.md index 975385169..11f5f80ad 100644 --- a/content/docs/2.10/scalers/new-relic.md +++ b/content/docs/2.10/scalers/new-relic.md @@ -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. @@ -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: diff --git a/content/docs/2.11/scalers/new-relic.md b/content/docs/2.11/scalers/new-relic.md index 975385169..11f5f80ad 100644 --- a/content/docs/2.11/scalers/new-relic.md +++ b/content/docs/2.11/scalers/new-relic.md @@ -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. @@ -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: diff --git a/content/docs/2.12/scalers/new-relic.md b/content/docs/2.12/scalers/new-relic.md index 975385169..11f5f80ad 100644 --- a/content/docs/2.12/scalers/new-relic.md +++ b/content/docs/2.12/scalers/new-relic.md @@ -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. @@ -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: diff --git a/content/docs/2.13/scalers/new-relic.md b/content/docs/2.13/scalers/new-relic.md index 975385169..11f5f80ad 100644 --- a/content/docs/2.13/scalers/new-relic.md +++ b/content/docs/2.13/scalers/new-relic.md @@ -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. @@ -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: diff --git a/content/docs/2.6/scalers/new-relic.md b/content/docs/2.6/scalers/new-relic.md index 202f59710..a553d9f25 100644 --- a/content/docs/2.6/scalers/new-relic.md +++ b/content/docs/2.6/scalers/new-relic.md @@ -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' ``` @@ -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: diff --git a/content/docs/2.7/scalers/new-relic.md b/content/docs/2.7/scalers/new-relic.md index 8f5ec84db..2bfd14c6e 100644 --- a/content/docs/2.7/scalers/new-relic.md +++ b/content/docs/2.7/scalers/new-relic.md @@ -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' ``` @@ -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: diff --git a/content/docs/2.8/scalers/new-relic.md b/content/docs/2.8/scalers/new-relic.md index ce80e532b..c9741d83d 100644 --- a/content/docs/2.8/scalers/new-relic.md +++ b/content/docs/2.8/scalers/new-relic.md @@ -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. @@ -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: diff --git a/content/docs/2.9/scalers/new-relic.md b/content/docs/2.9/scalers/new-relic.md index 975385169..11f5f80ad 100644 --- a/content/docs/2.9/scalers/new-relic.md +++ b/content/docs/2.9/scalers/new-relic.md @@ -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. @@ -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: