-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathotel-collector-config.yaml
60 lines (57 loc) · 1.15 KB
/
otel-collector-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
receivers:
otlp:
protocols:
grpc:
endpoint: localhost:4317
hostmetrics:
collection_interval: 10s
scrapers:
paging:
metrics:
system.paging.utilization:
enabled: true
cpu:
metrics:
system.cpu.utilization:
enabled: true
disk:
filesystem:
metrics:
system.filesystem.utilization:
enabled: true
load:
memory:
network:
processes:
processors:
batch:
send_batch_max_size: 100
send_batch_size: 10
timeout: 10s
attributes/dd:
actions:
- key: env
action: insert
value: ${env:DD_ENV_NAME}
exporters:
datadog:
api:
site: ${env:DD_SITE}
key: ${env:DD_API_KEY}
host_metadata:
tags:
- realm:${env:REALM_ID}
service:
pipelines:
metrics:
receivers: [hostmetrics, otlp]
processors: [attributes/dd,batch]
exporters: [datadog]
traces:
receivers: [otlp]
processors: [attributes/dd,batch]
exporters: [datadog]
logs:
receivers: [otlp]
processors: [attributes/dd,batch]
exporters: [datadog]