Skip to content

Commit 366ad41

Browse files
authored
content/en/tracing: minor improvements to OpenTelemetry docs (DataDog#15561)
1 parent 82c433a commit 366ad41

File tree

2 files changed

+38
-20
lines changed

2 files changed

+38
-20
lines changed

content/en/tracing/trace_collection/open_standards/otel_collector_datadog_exporter.md

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -317,24 +317,53 @@ To use the OpenTelemetry Operator:
317317
secretKeyRef:
318318
key: datadog_api_key
319319
name: opentelemetry-example-otelcol-dd-secret
320-
320+
321321
config: |
322322
receivers:
323-
otlp:
324-
protocols:
325-
grpc:
326-
http:
323+
otlp:
324+
protocols:
325+
grpc:
326+
http:
327+
hostmetrics:
328+
collection_interval: 10s
329+
scrapers:
330+
paging:
331+
metrics:
332+
system.paging.utilization:
333+
enabled: true
334+
cpu:
335+
metrics:
336+
system.cpu.utilization:
337+
enabled: true
338+
disk:
339+
filesystem:
340+
metrics:
341+
system.filesystem.utilization:
342+
enabled: true
343+
load:
344+
memory:
345+
network:
346+
processors:
347+
k8sattributes:
348+
batch:
349+
# Datadog APM Intake limit is 3.2MB. Let's make sure the batches do not
350+
# go over that.
351+
send_batch_max_size: 1000
352+
send_batch_size: 100
353+
timeout: 10s
327354
exporters:
328-
datadog:
329-
api:
330-
key: ${DD_API_KEY}
355+
datadog:
356+
api:
357+
key: ${DD_API_KEY}
331358
service:
332359
pipelines:
333360
metrics:
334-
receivers: [otlp]
361+
receivers: [hostmetrics, otlp]
362+
processors: [k8sattributes, batch]
335363
exporters: [datadog]
336364
traces:
337365
receivers: [otlp]
366+
processors: [k8sattributes, batch]
338367
exporters: [datadog]
339368
```
340369

content/en/tracing/trace_collection/open_standards/otlp_ingest_in_the_agent.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,6 @@ These must be passed to both the core Agent and trace Agent processes. If runnin
5656

5757
Configure either gRPC or HTTP for this feature. Here is [an example application that shows configuration for both][1].
5858

59-
<div class="alert alert-warning"><strong>Deprecation Notice</strong>: The use of the `experimental:` configuration listed below for configuring OTLP receiving in `datadog.yaml` and the corresponding environment variables `DD_OTLP_HTTP_PORT` and `DD_OTLP_GRPC_PORT` is now deprecated and will be removed in Agent version `7.37.0`.</div>
60-
61-
```yaml
62-
experimental:
63-
otlp:
64-
receiver:
65-
protocols:
66-
grpc:
67-
http:
68-
```
69-
7059
[1]: https://gist.github.com/gbbr/4a54dd02d34ad05e694952e0a02e1c67
7160
{{% /tab %}}
7261
{{% tab "Docker" %}}

0 commit comments

Comments
 (0)