]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_pjsip_outbound_registration: Add registration statistics for StatsD 90/1690/2
authorMatt Jordan <mjordan@digium.com>
Fri, 13 Nov 2015 16:34:03 +0000 (10:34 -0600)
committerMatt Jordan <mjordan@digium.com>
Mon, 23 Nov 2015 14:44:01 +0000 (08:44 -0600)
commit482f2fc5ff67b3a7fd26b5df174ec847c05f4643
treec17188712e62751d26496655f7d32d5b8a90f3f9
parent97d7b344de46236d153cdcc162371178c7b39854
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