Skip to content

Commit 7ca85ed

Browse files
committed
fix: Add validationNrql as deprecated for tests
1 parent 876c281 commit 7ca85ed

File tree

34 files changed

+100
-0
lines changed

34 files changed

+100
-0
lines changed

recipes/newrelic/infrastructure/ohi/apache/debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ logMatch:
3535
# runs properly with the defined environment variables
3636
validationIntegration: apache
3737

38+
# DEPRECATED
39+
validationNrql: "SELECT count(*) from ApacheSample FACET entityGuid SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
40+
3841
preInstall:
3942
info: |2
4043
To capture data from the Apache integration, you'll first need to meet these prerequisites:

recipes/newrelic/infrastructure/ohi/apache/rhel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ logMatch:
4444
# runs properly with the defined environment variables
4545
validationIntegration: apache
4646

47+
# DEPRECATED
48+
validationNrql: "SELECT count(*) from ApacheSample FACET entityGuid SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
49+
4750
preInstall:
4851
info: |2
4952
To capture data from the Apache integration, you'll first need to meet these prerequisites:

recipes/newrelic/infrastructure/ohi/cassandra/debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ logMatch:
4141
# runs properly with the defined environment variables
4242
validationIntegration: cassandra
4343

44+
# DEPRECATED
45+
validationNrql: "SELECT count(*) from CassandraSample SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
46+
4447
successLinkConfig:
4548
type: EXPLORER
4649

recipes/newrelic/infrastructure/ohi/cassandra/rhel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ logMatch:
4545
# runs properly with the defined environment variables
4646
validationIntegration: cassandra
4747

48+
# DEPRECATED
49+
validationNrql: "SELECT count(*) from CassandraSample SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
50+
4851
successLinkConfig:
4952
type: EXPLORER
5053

recipes/newrelic/infrastructure/ohi/consul/debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ processMatch:
3030
# runs properly with the defined environment variables
3131
validationIntegration: consul
3232

33+
# DEPRECATED
34+
validationNrql: "SELECT count(*) from ConsulAgentSample FACET entityGuid SINCE 20 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
35+
3336
# Prompts for input from the user. These variables then become
3437
# available to go-task in the form of {{.VAR_NAME}}
3538
inputVars:

recipes/newrelic/infrastructure/ohi/consul/rhel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ processMatch:
3333
# runs properly with the defined environment variables
3434
validationIntegration: consul
3535

36+
# DEPRECATED
37+
validationNrql: "SELECT count(*) from ConsulAgentSample FACET entityGuid SINCE 20 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
38+
3639
inputVars:
3740
- name: "NR_CLI_HOSTNAME"
3841
prompt: "HashiCorp Consul Hostname (default: localhost)"

recipes/newrelic/infrastructure/ohi/couchbase/debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ logMatch:
3636
# runs properly with the defined environment variables
3737
validationIntegration: couchbase
3838

39+
# DEPRECATED
40+
validationNrql: "SELECT count(*) from CouchbaseNodeSample FACET entityGuid SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
41+
3942
inputVars:
4043
- name: "NR_CLI_DB_USERNAME"
4144
prompt: "Couchbase Username"

recipes/newrelic/infrastructure/ohi/couchbase/rhel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ logMatch:
4040
# runs properly with the defined environment variables
4141
validationIntegration: couchbase
4242

43+
# DEPRECATED
44+
validationNrql: "SELECT count(*) from CouchbaseNodeSample FACET entityGuid SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
45+
4346
inputVars:
4447
- name: "NR_CLI_DB_USERNAME"
4548
prompt: "Couchbase Username"

recipes/newrelic/infrastructure/ohi/elasticsearch/debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ logMatch:
3535
# runs properly with the defined environment variables
3636
validationIntegration: elasticsearch
3737

38+
# DEPRECATED
39+
validationNrql: "SELECT count(*) from ElasticsearchClusterSample FACET entityGuid SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
40+
3841
successLinkConfig:
3942
type: EXPLORER
4043

recipes/newrelic/infrastructure/ohi/elasticsearch/rhel.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ logMatch:
3838
# runs properly with the defined environment variables
3939
validationIntegration: elasticsearch
4040

41+
# DEPRECATED
42+
validationNrql: "SELECT count(*) from ElasticsearchClusterSample FACET entityGuid SINCE 10 minutes ago WHERE reportingAgent = '{{.INFRA_KEY}}'"
43+
4144
successLinkConfig:
4245
type: EXPLORER
4346

0 commit comments

Comments
 (0)