update fluent-bit to 5.0

- fluent-bit 5.0 support tag by url
- update readme.md
This commit is contained in:
xkm
2026-05-05 21:28:04 +08:00
parent 6dbd98505e
commit 12433b4f31
3 changed files with 10 additions and 46 deletions

View File

@@ -14,10 +14,6 @@
storage.checksum off
storage.backlog.mem_limit 64M
# Python SDK / OpenTelemetry SDK 发到这里:
# http://vmauth:8427/v1/logs
# http://vmauth:8427/v1/metrics
# vmauth 会转发到 fluentbit:4318
[INPUT]
Name opentelemetry
Listen 0.0.0.0
@@ -26,9 +22,6 @@
# OTLP/HTTP 通常期望 200Fluent Bit 默认是 201
Successful_Response_Code 200
# 保持默认行为:/v1/logs -> v1_logs, /v1/metrics -> v1_metrics
Tag_From_Uri true
Buffer_Chunk_Size 1M
Buffer_Max_Size 10M
Threaded On
@@ -36,7 +29,7 @@
# Python SDK 发来的 metrics -> VictoriaMetrics remote_write
[OUTPUT]
Name prometheus_remote_write
Match *
Match v1_metrics
Host victoriametrics
Port 8428
Uri /api/v1/write
@@ -48,9 +41,9 @@
# Python SDK 发来的 logs -> vlagent -> VictoriaLogs
[OUTPUT]
Name opentelemetry
Match *
Host vlagent
Port 9429
Match v1_logs
Host victorialogs-1
Port 9428
Logs_Uri /insert/opentelemetry/v1/logs