新增 otel 推送日志

This commit is contained in:
2026-06-15 17:01:30 +08:00
parent c80b1888d8
commit 3f04ff2f24
8 changed files with 106 additions and 7 deletions

View File

@@ -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
View File