Skip to content

Commit 0cdbd99

Browse files
chore(otel): updated definition files for otel
1 parent 5d4965e commit 0cdbd99

33 files changed

+464
-431
lines changed

test/definitions-eu/otel/debians/debian10-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/debian.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/debian10arm64-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/debian.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/debian11-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/debian.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/ubuntu16-otel.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
"instrumentations": {
1919
"resources": [
2020
{
21-
"id": "nr_infra",
21+
"id": "nr_infra_otel",
2222
"resource_ids": ["host1"],
2323
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
2626
"params": {
27-
"local_recipes": true,
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
2930
}
3031
}
3132
]

test/definitions-eu/otel/debians/ubuntu18-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install/roles",
26-
"params": {
27-
"local_recipes": true,
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/ubuntu20-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/ubuntu.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/ubuntu20arm64-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/ubuntu.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/ubuntu20x10arm64-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/ubuntu.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/debians/ubuntu21x04hirsute-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
}],
1717

1818
"instrumentations": {
19-
"resources": [
20-
{
21-
"id": "nr_infra",
22-
"resource_ids": ["host1"],
23-
"provider": "newrelic",
24-
"source_repository": "https://github.com/newrelic/open-install-library",
25-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26-
"params": {
27-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/ubuntu.yml",
28-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
29-
}
30-
}
31-
]
32-
}
19+
"resources": [
20+
{
21+
"id": "nr_infra_otel",
22+
"resource_ids": ["host1"],
23+
"provider": "newrelic",
24+
"source_repository": "https://github.com/newrelic/open-install-library.git",
25+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
26+
"params": {
27+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/debian.yml",
28+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
29+
"local_recipes": true
30+
}
31+
}
32+
]
33+
}
3334
}

test/definitions-eu/otel/rhel/awslinuxarm64-otel.json

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,19 @@
1515
}],
1616

1717
"instrumentations": {
18-
"resources": [
19-
{
20-
"id": "nr_infra",
21-
"resource_ids": ["host1"],
22-
"provider": "newrelic",
23-
"source_repository": "https://github.com/newrelic/open-install-library",
24-
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
25-
"params": {
26-
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/awslinux.yml",
27-
"validate_output": "Infrastructure Agent\\s+\\(installed\\)"
28-
}
29-
}
30-
]
31-
}
18+
"resources": [
19+
{
20+
"id": "nr_infra_otel",
21+
"resource_ids": ["host1"],
22+
"provider": "newrelic",
23+
"source_repository": "https://github.com/newrelic/open-install-library.git",
24+
"deploy_script_path": "test/deploy/linux/newrelic-cli/install-recipe/roles",
25+
"params": {
26+
"recipe_content_url": "https://raw.githubusercontent.com/newrelic/open-install-library/main/recipes/newrelic/infrastructure/otel/rhel.yml",
27+
"validate_output": "New Relic OpenTelemetry Collector\\s+\\(installed\\)",
28+
"local_recipes": true
29+
}
30+
}
31+
]
32+
}
3233
}

0 commit comments

Comments
 (0)