Skip to content

Commit 2c570b5

Browse files
committed
fix: use latest name for agent generated directory
1 parent 4152030 commit 2c570b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

agent-control/agent-type-registry/newrelic/com.newrelic.infrastructure-0.1.0.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ deployment:
129129
- id: newrelic-infra
130130
path: /usr/bin/newrelic-infra
131131
args: >-
132-
--config=${nr-sub:agent_dir}/newrelic-infra.yaml
132+
--config=${nr-sub:autogenerated_agent_dir}/newrelic-infra.yaml
133133
env:
134-
NRIA_PLUGIN_DIR: "${nr-sub:agent_dir}/integrations.d"
135-
NRIA_LOGGING_CONFIGS_DIR: "${nr-sub:agent_dir}/logging"
134+
NRIA_PLUGIN_DIR: "${nr-sub:autogenerated_agent_dir}/integrations.d"
135+
NRIA_LOGGING_CONFIGS_DIR: "${nr-sub:autogenerated_agent_dir}/logging"
136136
NRIA_STATUS_SERVER_ENABLED: true
137137
NRIA_STATUS_SERVER_PORT: "${nr-var:health_port}"
138138
NR_HOST_ID: "${nr-ac:host_id}"

agent-control/agent-type-registry/newrelic/io.opentelemetry.collector-0.1.0.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ deployment:
9090
id: nrdot-collector-host
9191
path: /usr/bin/nrdot-collector-host
9292
args: >-
93-
--config=${nr-sub:agent_dir}/config.yaml
93+
--config=${nr-sub:autogenerated_agent_dir}/config.yaml
9494
--feature-gates=-pkg.translator.prometheus.NormalizeName
9595
env:
9696
# sets the otel-collector "env" source resource detector

0 commit comments

Comments
 (0)