-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathconfig.yaml
60 lines (59 loc) · 1.57 KB
/
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
55
56
57
58
59
60
server:
listen_addr: 0.0.0.0:6778
timeout: 30s
log:
file: stdout
# for more details about filter_directives
# see: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
filter_directives: debug,tower_http=off,databend_client=off
cache:
time_to_live: 2m
time_to_idle: 2m
refresh_interval: 1m
log_source:
clickhouse:
log:
url: http://127.0.0.1:8123
database: default
table: otel_logs
username: default
password: a11221122a
label:
resources: ["host.arch", "telemetry.sdk.version", "process.runtime.name"]
attributes: ["quantity", "code.function"]
replace_dash_to_dot: true
default_log_level: debug
level_case_sensitive: false
# quickwit:
# domain: http://127.0.0.1:7280
# index: otel-logs-v0_7
# timeout: 30s
# databend:
# drvier: databend
# domain: localhost
# port: 3306
# database: test_log
# username: databend
# password: databend
# # use fulltext index(if you have databend commercial license), otherwise false
# inverted_index: true
trace_source:
clickhouse:
trace:
url: http://127.0.0.1:8123
database: default
table: otel_traces
username: default
password: a11221122a
trace_ts_table: otel_traces_trace_id_ts
# quickwit:
# domain: http://127.0.0.1:7280
# index: otel-traces-v0_7
# timeout: 30s
# databend:
# drvier: databend
# domain: localhost
# port: 3306
# database: test_log
# username: databend
# password: databend