Karta. Messaging. Metrics
(Karta v1.0.0)
The messaging metrics, named like the mail ones (Karta.Metrics): one
function for each thing counted, each a :telemetry.execute/3 event that
Karta.PromEx.Messaging turns into a Prometheus metric. They are only
emitted by code that runs when the module is on, so a Karta with the
module off emits none.
No metric carries a message, an address or a name. Labels are the
server's id, the channel, the direction, a state, a plug's name, an
error class (a closed set), a currency, a fallback reason - never a
connector's name, a number or text. karta_messaging_connector_up is
labelled with the connector's id.
Never raises.
Summary
Functions
How long a command took from being written to being answered.
A connector connected or not (read as 1 or 0).
A cost the provider reported: a map with amount and currency (strings as keys).
A fallback from one channel to the next.
Seconds between an inbound message's time and its commit.
A message stored or moved to state.
An attempt failed with class.
Functions
How long a command took from being written to being answered.
A connector connected or not (read as 1 or 0).
A cost the provider reported: a map with amount and currency (strings as keys).
A fallback from one channel to the next.
Seconds between an inbound message's time and its commit.
A message stored or moved to state.
An attempt failed with class.