Commit Graph

6 Commits

Author SHA1 Message Date
houseme d516eec200 improve code for config and FileSink 2025-03-28 19:03:09 +08:00
houseme 2c8b9a8323 webhook add auth_token 2025-03-27 23:18:09 +08:00
houseme c4c6d439bc feat(obs): enhance OpenTelemetry configuration and logging
Improve observability setup with the following changes:

- Replace static OnceCell with tokio::sync::OnceCell for guard management
- Add logger_level to OtelConfig for configurable tracing verbosity
- Improve telemetry initialization with better error handling
- Enhance logging filters and span configuration

Breaking Changes:
- Configuration now requires logger_level field
- Global guard management uses async-safe primitives

Example config:
observability:
  endpoint: "http://localhost:4317"
  logger_level: "debug"  # New required field
2025-03-27 18:03:47 +08:00
houseme c3ecfeae6c improve logger entry for Observability 2025-03-18 16:36:23 +08:00
houseme ef162396cf improve code 2025-03-16 16:33:52 +08:00
houseme eaa506add5 improve code for observability 2025-03-12 00:46:01 +08:00