Commit Graph

5 Commits

Author SHA1 Message Date
houseme c57ee8e471 modify default value 2025-04-02 16:08:51 +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 2b57af75ea upgrade opentelemetry create from 0.28.0 to 0.29.0 2025-03-25 19:02:52 +08:00
houseme c3ecfeae6c improve logger entry for Observability 2025-03-18 16:36:23 +08:00