-
[NA] [FE] Implement OpenTelemetry log shipping for frontend (#3072)
发布于
2025-09-03 07:18:16 +00:00 - NA: Implement OpenTelemetry log shipping for frontend
- Add Fluent Bit integration to frontend container for NGINX access log shipping
- Export both logs and Fluent Bit metrics to OpenTelemetry Collector via OTLP
- Make log shipping optional via ENABLE_OTEL_LOG_EXPORT environment variable
- Simplified configuration using OTEL_COLLECTOR_HOST and OTEL_COLLECTOR_PORT
- Remove unnecessary dependencies (gettext) and environment variables
- Add comprehensive documentation in README.md
- Configuration files are volume-mounted for dynamic management
Features:
- NGINX access logs → Fluent Bit → OTel Collector
- Fluent Bit internal metrics → OTel Collector
- HTTP monitoring endpoint on port 2020
- Graceful startup/shutdown with proper signal handling
- Works in both containerized and non-containerized deployments
-
Remove collector
-
NA: Disable OTLP response payload logging in Fluent Bit outputs
-
Add condtional instalation
-
Fix entrypoint location
下载附件