Telemetry
Structured logging, metrics, and traces with optional persistence.
Chimpbase provides structured logging, metrics, and tracing through the context. Telemetry can optionally be persisted to dedicated internal streams.
Logging
Metrics
Tracing
Telemetry Persistence
By default, telemetry is in-memory only. To persist telemetry to the database, enable it in the configuration:
When enabled, records are buffered during handler execution and batch-appended to dedicated streams:
_chimpbase.logs_chimpbase.metrics_chimpbase.traces
Per-Handler Overrides
Override telemetry settings for specific handlers:
Automatic Cleanup
A built-in cleanup cron (__chimpbase.telemetry.cleanup) can be configured with retention periods to automatically prune old telemetry data.