-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathotelcol-config.yaml
55 lines (50 loc) · 1.24 KB
/
otelcol-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
extensions:
# this dir must exist on filesystem where otelcollector is running
file_storage:
directory: /tmp/otc
timeout: 10s
receivers:
journald:
directory: /var/log/journal/
units:
- kepler
- opentelemetry-collector
priority: info
prometheus:
config:
scrape_configs:
- job_name: 'kepler-local'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:8888'] # kepler endpoint
processors:
batch:
memory_limiter:
check_interval: 5s
limit_percentage: 95
spike_limit_percentage: 25
exporters:
otlphttp:
endpoint: https://OCP_ROUTE_OTELCOL
tls:
insecure: false
# Update location of certs if necessary
cert_file: /etc/opentelemetry-collector/certs/server.crt
key_file: /etc/opentelemetry-collector/certs/server.key
ca_file: /etc/opentelemetry-collector/certs/ca.crt
debug:
verbosity: detailed
service:
extensions: [file_storage]
telemetry:
metrics:
level: detailed
address: 0.0.0.0:8887
pipelines:
metrics:
receivers: [prometheus]
processors: [batch, memory_limiter]
exporters: [otlphttp, debug]
traces:
receivers: [otlp]
exporters: [otlphttp, debug]