-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathotel-config.yml
More file actions
73 lines (65 loc) · 1.47 KB
/
Copy pathotel-config.yml
File metadata and controls
73 lines (65 loc) · 1.47 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
receivers:
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
processors:
memory_limiter:
check_interval: 2s
limit_mib: 1800
spike_limit_mib: 500
attributes/sensitive_data:
actions:
- key: user.*
action: hash
- key: auth.*
action: delete
- key: client.ip
action: hash
# resource:
# attributes:
# - key: service.name
# value: "serviceName"
# action: upsert
# filter:
# traces:
# span:
# - 'resource.attributes["otelmap.session_token"] != nil'
batch:
send_batch_size: 100000
timeout: 5s
exporters:
clickhouse:
endpoint: tcp://clickhouse:9000
database: default
username: default
password: default
ttl: 6h
timeout: 10s
sending_queue:
queue_size: 100
retry_on_failure:
enabled: true
initial_interval: 5s
max_interval: 30s
max_elapsed_time: 300s
extensions:
health_check:
endpoint: 0.0.0.0:13133
service:
extensions: [health_check]
pipelines:
logs:
receivers: [otlp]
processors: [memory_limiter, attributes/sensitive_data, batch]
exporters: [clickhouse]
traces:
receivers: [otlp]
processors: [memory_limiter, attributes/sensitive_data, batch]
exporters: [clickhouse]
metrics:
receivers: [otlp]
processors: [memory_limiter, attributes/sensitive_data, batch]
exporters: [clickhouse]