新增 otel 推送日志
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
api:
|
||||
addr: 127.0.0.1:9700
|
||||
|
||||
recorders:
|
||||
- name: record-file
|
||||
file:
|
||||
path: /var/log/gost/
|
||||
path: /var/log/gost/record.log
|
||||
sep: "\n"
|
||||
- name: record-http-otel
|
||||
http:
|
||||
url: http://127.0.0.1:4318/gost/record
|
||||
timeout: 10s
|
||||
|
||||
0
gost/logs/record.log
Normal file
0
gost/logs/record.log
Normal file
Reference in New Issue
Block a user