✨ Implement dead-letter queue (DLQ) enhancements by adding configuration options and validation logic. Update observability metrics to track DLQ message counts and publish failures. Enhance documentation to reflect new metrics and DLQ behavior in JetStream mode.
This commit is contained in:
@@ -22,6 +22,12 @@ The service exposes Prometheus metrics via the monitoring HTTP server (default `
|
||||
- `caatsm_db_query_latency_seconds{operation}`
|
||||
DB operation latency.
|
||||
|
||||
- `caatsm_dlq_messages_total{stream,consumer}`
|
||||
Count of messages successfully routed to the DLQ.
|
||||
|
||||
- `caatsm_dlq_publish_failures_total{stream,consumer}`
|
||||
Count of failures when attempting to publish messages to the DLQ.
|
||||
|
||||
Additional OTEL metrics are emitted via the configured OTEL endpoint, including:
|
||||
|
||||
- `caatsm_messages_processed_total`
|
||||
|
||||
Reference in New Issue
Block a user