-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathotel-collector-config.yml
More file actions
46 lines (40 loc) · 851 Bytes
/
Copy pathotel-collector-config.yml
File metadata and controls
46 lines (40 loc) · 851 Bytes
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
receivers:
otlp:
protocols:
grpc:
http:
exporters:
prometheus:
endpoint: "0.0.0.0:8889"
otlp:
endpoint: "jaeger:4317"
tls:
insecure: true
loki:
endpoint: http://loki:3100/loki/api/v1/push
connectors:
spanmetrics:
histogram:
explicit:
buckets: [ 5ms, 10ms, 25ms, 50ms, 100ms, 250ms, 500ms, 1000ms ]
processors:
resource:
attributes:
- action: insert
key: service_name
from_attribute: service.name
- action: insert
key: loki.resource.labels
value: service_name
service:
pipelines:
traces:
receivers: [ otlp ]
exporters: [ otlp, spanmetrics ]
metrics:
receivers: [ spanmetrics ]
exporters: [ prometheus ]
logs:
receivers: [ otlp ]
processors: [ resource ]
exporters: [ loki ]