Skip to content

Commit c09cbd2

Browse files
authored
Merge pull request newrelic#18793 from paologallinaharbur/fix/discovery
fix(discovery): fix docs related to discovery
2 parents baef4f2 + 329a668 commit c09cbd2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/content/docs/infrastructure/host-integrations/host-integrations-list/monitor-services-running-amazon-ecs.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Here's a detailed example of doing the above procedure for NGINX:
284284
integrations:
285285
- name: nri-nginx
286286
env:
287-
STATUS_URL: http://${'${discovery.ip}'}:/status
287+
STATUS_URL: http://${discovery.ip}:${discovery.port}/status
288288
REMOTE_MONITORING: true
289289
METRICS: 1
290290
```
@@ -311,7 +311,7 @@ Here's a detailed example of doing the above procedure for NGINX:
311311
integrations:
312312
- name: nri-nginx
313313
env:
314-
STATUS_URL: http://${'${discovery.ip}'}:/status
314+
STATUS_URL: http://${discovery.ip}:${discovery.port}/status
315315
REMOTE_MONITORING: true
316316
METRICS: 1
317317
path: /etc/newrelic-infra/integrations.d/nginx-config.yml

src/content/docs/infrastructure/host-integrations/infrastructure-integrations-sdk/troubleshooting/not-seeing-infrastructure-integration-data.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ To troubleshoot and resolve the problem:
145145
</DNT>
146146

147147
```
148-
nginx-server-metrics: {\"name\":\"com.newrelic.nginx\",\"protocol_version\":\"1\",\"integration_version\":\"0.5.0\",\"metrics\":
148+
nri-nginx: {\"name\":\"com.newrelic.nginx\",\"protocol_version\":\"1\",\"integration_version\":\"0.5.0\",\"metrics\":
149149
[{\"event_type\":\"NginxSample\",\"net.connectionsAcceptedPerSecond\":0.10344827586206896,\"net.connectionsActive\":1,
150150
\"net.connectionsDroppedPerSecond\":0,\"net.connectionsReading\":0,\"net.connectionsWaiting\":0,\"net.connectionsWriting\":1,
151151
\"net.requestsPerSecond\":0.10344827586206896,\"software.edition\":\"open source\",\"software.version\":\"1.4.6 (Ubuntu)\"}],\"inventory\":{},\"events\":[]}

src/content/docs/infrastructure/host-integrations/installation/container-auto-discovery-host-integrations.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,12 @@ These examples (for Docker-only environments and for Kubernetes) show how to con
4444
image: /nginx/
4545
label.env: production
4646
integrations:
47-
- name: nginx-server-metrics
48-
command: metrics
47+
- name: nri-nginx
4948
env:
50-
# use discovery.private.ip if container doesn't have attached public ip address
49+
# use discovery.private.ip if container doesn't have attached public ip address
5150
STATUS_URL: http://${discovery.ip}:${discovery.port}/status
52-
STATUS_MODULE: discover
5351
REMOTE_MONITORING: true
52+
METRICS: 1
5453
labels:
5554
env: ${discovery.label.env}
5655
role: ${discovery.label.role}
@@ -94,6 +93,7 @@ These examples (for Docker-only environments and for Kubernetes) show how to con
9493
env:
9594
# Use the discovered IP as the host address
9695
STATUS_URL: http://${discovery.ip}/server-status?auto
96+
REMOTE_MONITORING: true
9797
METRICS: 1
9898
```
9999
</Collapser>

0 commit comments

Comments
 (0)