]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_pjsip_outbound_registration: Add registration statistics for StatsD 53/1653/2
authorMatt Jordan <mjordan@digium.com>
Fri, 13 Nov 2015 16:34:03 +0000 (10:34 -0600)
committerMatt Jordan <mjordan@digium.com>
Thu, 19 Nov 2015 17:57:28 +0000 (11:57 -0600)
commit75097a0955ca707ac8f6dc0d4def9b9d3b9c2b8a
tree4b1311343f2fe189ef29f37fb75ab5ad6d989e18
parent3354b325c67824b4aa052fb81693d28e792886a6
res/res_pjsip_outbound_registration: Add registration statistics for StatsD

This patch adds outbound registration statistics for StatsD. This includes
the following:
 * A GUAGE metric for the overall count of outbound registrations.
 * A GUAGE metric for each state an outbound registration can be in. As the
   outbound registrations change state, the overall count of how many
   outbound registrations are in the particular state is changed.

These statistics are particularly useful for systems with a large number of
SIP trunks, and where measuring the change in state of the trunks is useful
for monitoring.

ASTERISK-25571

Change-Id: Iba6ff248f5d1c1e01acbb63e9f0da1901692eb37
CHANGES
res/res_pjsip_outbound_registration.c