Description
The res_statsd module provides an API that allows Asterisk and its modules to send statistics to a StatsD server. It only provides a means to communicate with a StatsD server and does not send any metrics of its own.
An example module, res_chan_stats, is provided which uses the API exposed by this module to send channel statistics to the configured StatsD server.
More information about StatsD can be found at https://github.com/statsd/statsd
statsd.conf
[global]
Global configuration settings
enabled- Enable/disable the StatsD moduleserver- Address of the StatsD serverprefix- Prefix to prepend to every metricadd_newline- Append a newline to every event. This is useful if you want to fake out a server using netcat (nc -lu 8125)meter_support- Enable/disable the non-standard StatsD Meter type, if disabled falls back to counter and will append a "_meter" suffix to the metric name
User Notes
No notes yet. Be the first to contribute a tip or example.
Contribute a note
Share a tip, gotcha, or practical example. Keep it under 2000 characters. No questions (use the Asterisk community forums for support). Wrap code in backticks.
Module Configuration
app_agent_pool
app_confbridge
app_skel
cdr
cel
chan_motif
chan_websocket
codec_opus
core
features
named_acl
res_aeap
res_ari
res_geolocation
res_hep
res_http_media_cache
res_mwi_external
res_parking
res_pjproject
res_pjsip
res_pjsip_acl
res_pjsip_config_wizard
res_pjsip_endpoint_identifier_ip
res_pjsip_notify
res_pjsip_outbound_publish
res_pjsip_outbound_registration
res_pjsip_phoneprov_provider
res_pjsip_publish_asterisk
res_pjsip_pubsub
res_prometheus
res_resolver_unbound
res_statsd
res_stir_shaken
res_websocket_client
res_xmpp
stasis
udptl