File tree Expand file tree Collapse file tree 4 files changed +146
-391
lines changed
agent-type-registry/newrelic
src/agent_type/runtime_config/on_host Expand file tree Collapse file tree 4 files changed +146
-391
lines changed Original file line number Diff line number Diff line change @@ -114,26 +114,19 @@ deployment:
114114 args : --version
115115 regex : \d+\.\d+\.\d+
116116 filesystem :
117- files :
118- config :
119- path : newrelic-infra.yaml
120- content : |
121- ${nr-var:config_agent}
122- directories :
123- integrations :
124- path : integrations.d
125- items : ${nr-var:config_integrations}
126- logging :
127- path : logging.d
128- items : ${nr-var:config_logging}
117+ config :
118+ newrelic-infra.yaml : |
119+ ${nr-var:config_agent}
120+ integrations.d : ${nr-var:config_integrations}
121+ logging.d : ${nr-var:config_logging}
129122 executables :
130123 - id : newrelic-infra
131124 path : /usr/bin/newrelic-infra
132125 args : >-
133- --config=${nr-sub:autogenerated_agent_dir}/files /newrelic-infra.yaml
126+ --config=${nr-sub:autogenerated_agent_dir}/config /newrelic-infra.yaml
134127 env :
135- NRIA_PLUGIN_DIR : " ${nr-sub:autogenerated_agent_dir}/directories/ integrations.d"
136- NRIA_LOGGING_CONFIGS_DIR : " ${nr-sub:autogenerated_agent_dir}/directories/ logging.d"
128+ NRIA_PLUGIN_DIR : " ${nr-sub:autogenerated_agent_dir}/integrations.d"
129+ NRIA_LOGGING_CONFIGS_DIR : " ${nr-sub:autogenerated_agent_dir}/logging.d"
137130 NRIA_STATUS_SERVER_ENABLED : true
138131 NRIA_STATUS_SERVER_PORT : " ${nr-var:health_port}"
139132 NR_HOST_ID : " ${nr-ac:host_id}"
Original file line number Diff line number Diff line change @@ -81,17 +81,15 @@ deployment:
8181 args : -v
8282 regex : \d+\.\d+\.\d+
8383 filesystem :
84- files :
85- otel-config :
86- path : config.yaml
87- content : |
88- ${nr-var:config}
84+ otel-config :
85+ config.yaml : |
86+ ${nr-var:config}
8987 executables :
9088 - # Important to note the binary name is nrdot-collector-host matching the new nrdot binary
9189 id : nrdot-collector-host
9290 path : /usr/bin/nrdot-collector-host
9391 args : >-
94- --config=${nr-sub:autogenerated_agent_dir}/files /config.yaml
92+ --config=${nr-sub:autogenerated_agent_dir}/otel-config /config.yaml
9593 --feature-gates=-pkg.translator.prometheus.NormalizeName
9694 env :
9795 # sets the otel-collector "env" source resource detector
You can’t perform that action at this time.
0 commit comments