Karta. PromEx. Limits
(Karta v1.0.0)
Metrics of the delivery limits:
karta_warmup_sent{pool, address}andkarta_warmup_limit{pool, address}- for each address in its warm-up, the recipients it was used for today (UTC) and today's limit, read from the database every 30 seconds (Karta.Outbound.Warmup.report/1); every node reports the same.karta_delivery_held_back_recipients{reason, pool}- recipients whose delivery waited for a limit, without an attempt:warmup,connectionsorrate(Karta.Outbound.Limits), counted on each node (poolis empty for servers without one).
An address near its day's limit, and mail that keeps waiting:
karta_warmup_sent / karta_warmup_limit > 0.9
sum by (reason, pool) (increase(karta_delivery_held_back_recipients[1h])) > 0