From c3d85b452c93bf65ccc91471f79eda35dfd7aeca Mon Sep 17 00:00:00 2001 From: Tomaz Muraus Date: Wed, 6 Feb 2019 10:00:42 +0100 Subject: [PATCH] Document new metrics exposed by the notifier service. --- docs/source/reference/metrics.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/source/reference/metrics.rst b/docs/source/reference/metrics.rst index beed8853c..fda5b660a 100644 --- a/docs/source/reference/metrics.rst +++ b/docs/source/reference/metrics.rst @@ -117,6 +117,23 @@ This section describes which metrics are currently exposed by various |st2| serv +------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ | st2.stream.connections | gauge | st2stream | Number of open connections to the stream service. | +------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.action.executions | counter | st2notifier | Number of action executions processed by st2notifier. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.action.executions | timer | st2notifier | How long it took to process a particular action execution by st2notifier. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.notify_trigger.post | counter | st2notifier | Number of notify triggers processed by st2notifier. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.notify_trigger.post | timer | st2notifier | How long it took to process / post notify trigger for an execution. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.generic_trigger.post | counter | st2notifier | Number of generic notify triggers processed by st2notifier. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.generic_trigger.post | timer | st2notifier | How long it took to process generic notify trigger for an execution. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.transform_message | timer | st2notifier | How long a "transform_message" function call took for a particular notify trigger. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ +| st2.notifier.transform_data | timer | st2notifier | How long a "transform_data" function call took for a particular notify trigger. | ++------------------------------------------------------------+------------+-----------------------------+----------------------------------------------------------------------------------------------------------------+ + Depending on the metric backend and metric type, some of those metrics will also be sampled, averaged, aggregated and converted into a rate (operations / seconds for ``counter`` metrics), etc.