Jean-Pascal Briquet created ARTEMIS-5161:
--------------------------------------------
Summary: Removal of "messages purged" from
"artemis_messages_killed" metric and addition of a new
"artemis_messages_purged" metric
Key: ARTEMIS-5161
URL: https://issues.apache.org/jira/browse/ARTEMIS-5161
Project: ActiveMQ Artemis
Issue Type: New Feature
Components: Broker
Affects Versions: 2.38.0, 2.37.0, 2.36.0
Reporter: Jean-Pascal Briquet
The Artemis metrics "artemis_messages_killed" is currently described as :
"{_}number of messages removed from this queue since it was created due to
exceeding the max delivery attempts{_}"
However, in addition to counting messages moved to the dead-letter queue, the
counter also includes the number of messages that have been purged.
Mixing both operation makes it difficult to interpret the metric accurately and
to determine whether its current value indicates a problem.
Purging a queue is typically a standard operational procedure, often planned
and carried out deliberately.
On the other hand, messages being continously moved to dead letter queue
usually signals an issue requiring intervention.
At the moment, "artemis_messages_killed metric" is challenging to use
effectively for dashboards or alerts.
Using it as an alerting criterion can result in false alarms for "messages
moved to the dead-letter queue" simply because some messages were purged.
*Proposal:*
* Remove the count of purged messages from the "artemis_messages_killed"
counter
* Introduce a new metric, "artemis_messages_purged" dedicated to track the
number of message purged
It would enable operators to have a clearer understanding of metrics and make
better decisions:
* Two independent metrics will clarify the purpose, making it easier to
interpret value.
* Dashboards and alerting rules will become more accurate, as each metric will
focus on a distinct operation.
* The current value of the artemis_messages_killed metric can still be
computed by summing both (artemis_messages_killed + artemis_messages_purged)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact