This service exposes the following custom Prometheus metrics via the api/v1.0/prometheus/metrics endpoint, in addition to all metrics exported via django-prometheus.
Custom metrics are collected from the database using Django ORM and are available when the application is running.
This metric is exported with labels corresponding to each possible message delivery status.
Metric:
message_status_count{status="<status>"}
Example:
message_status_count{status="retry"}message_status_count{status="sent"}
Description:
Number of messages with the given delivery status. If no messages exist for a status, the value is 0.
Metric:
attachment_count
Description: Total number of attachments in the database.
Metric:
attachments_total_size_bytes
Description:
Total size (in bytes) of all attachments, summed over the blob.size field.