-
Notifications
You must be signed in to change notification settings - Fork 2
/
otel-config-sample.yaml
58 lines (55 loc) · 1.46 KB
/
otel-config-sample.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
receivers:
filelog/std:
include: [/var/log/**log]
# start_at: beginning
hostmetrics:
# root_path: / # root_path is supported on linux only
collection_interval: 30s
scrapers:
# cpu: # Not supported on Mac when compiled without cgo which is the default.
# disk: # Not supported on Mac when compiled without cgo which is the default.
filesystem:
load:
memory:
network:
paging:
processes:
process: # a bug in the process scraper causes the collector to throw errors so disabling it for now
processors:
resourcedetection:
detectors: [system]
memory_limiter:
check_interval: 1s
limit_percentage: 75
spike_limit_percentage: 15
batch:
send_batch_size: 10000
timeout: 10s
extensions:
zpages: {}
memory_ballast:
size_mib: 512
exporters:
otlphttp/openobserve:
endpoint: http://localhost:5080/api/default/
headers:
Authorization: "Basic cm9vdEBleGFtcGxlLmNvbTpDb21wbGV4cGFzcyMxMjM="
otlp:
endpoint: localhost:5081
headers:
Authorization: "Basic cm9vdEBleGFtcGxlLmNvbTpDb21wbGV4cGFzcyMxMjM="
organization: default
stream-name: default
tls:
insecure: true
service:
extensions: [zpages, memory_ballast]
pipelines:
metrics:
receivers: [hostmetrics]
processors: [memory_limiter, batch]
exporters: [otlp]
logs:
receivers: [filelog/std]
processors: [memory_limiter, batch]
exporters: [otlp]