-
Notifications
You must be signed in to change notification settings - Fork 0
/
otel-collector-config.yaml
48 lines (44 loc) · 1.12 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
# (1) Receivers
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317 # It is important that we do not use localhost
tls:
cert_file: /etc/tls/server.crt
key_file: /etc/tls/server.key
ca_file: /etc/tls/rootCA.crt
client_ca_file: /etc/tls/rootCA.crt
# (2) Processors
processors:
memory_limiter:
limit_percentage: 50
check_interval: 1s
spike_limit_percentage: 30
batch:
send_batch_size: 8192
# (3) Exporters
exporters:
logging: # aka, stdOut/stdErr
jaeger:
endpoint: jaeger:14250
tls:
insecure: true
prometheus:
endpoint: otel_collector:9464
# (4) Service
service:
# A pipeline consists of a set of receivers, processors and exporters.
pipelines:
traces:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [logging, jaeger]
metrics:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [logging, prometheus]
logs:
receivers: [otlp]
processors: [memory_limiter, batch]
exporters: [logging]