Skip to content

Commit f59d07b

Browse files
committed
Add missing resourcedetection processor to example.
1 parent 5fa7dc9 commit f59d07b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

content/en/opentelemetry/integrations/host_metrics.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ For more information, including supported operating systems, see the OpenTelemet
2525
Add the following lines to your Collector configuration:
2626

2727
```yaml
28+
processors:
29+
resourcedetection:
30+
detectors: [system]
31+
system:
32+
hostname_sources: [os]
33+
2834
receivers:
2935
hostmetrics:
3036
collection_interval: 10s
@@ -46,6 +52,13 @@ receivers:
4652
memory:
4753
network:
4854
processes:
55+
56+
service:
57+
pipelines:
58+
metrics:
59+
receivers: [hostmetrics]
60+
processors: [resourcedetection]
61+
exporters: [datadog]
4962
```
5063
5164
{{% /tab %}}

0 commit comments

Comments
 (0)