-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcollector.yaml
More file actions
49 lines (45 loc) · 1.14 KB
/
Copy pathcollector.yaml
File metadata and controls
49 lines (45 loc) · 1.14 KB
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
# Dynatrace Collector Config
# Replace <YOUR_ENV> and <YOUR_TOKEN> with your values
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
batch:
resourcedetection:
detectors: [env, system]
exporters:
otlphttp:
endpoint: "https://<YOUR_ENV>.live.dynatrace.com/api/v2/otlp"
headers:
Authorization: "Api-Token <YOUR_TOKEN>"
service:
telemetry:
metrics:
level: detailed
readers:
- periodic:
interval: 60s
exporter:
otlp:
protocol: http/protobuf
endpoint: "https://<YOUR_ENV>.live.dynatrace.com/api/v2/otlp/v1/metrics"
headers:
- name: Authorization
value: "Api-Token <YOUR_TOKEN>"
pipelines:
traces:
receivers: [otlp]
processors: [batch, resourcedetection]
exporters: [otlphttp]
metrics:
receivers: [otlp]
processors: [batch, resourcedetection]
exporters: [otlphttp]
logs:
receivers: [otlp]
processors: [batch, resourcedetection]
exporters: [otlphttp]