summaryrefslogtreecommitdiff
path: root/res/res_statsd.exports.in
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2013-04-26 20:05:15 +0000
committerDavid M. Lee <dlee@digium.com>2013-04-26 20:05:15 +0000
commit946eb5ede0859983e1c508520fb87a695affc597 (patch)
tree7bf252c1a49384ea798965f39677544c44659664 /res/res_statsd.exports.in
parenteddf4a1ae69ec53bba53f3e78fd18e81c3f75bea (diff)
Example of how to use the Stasis message bus
In order to get people familiar with the Stasis message bus, it would be useful to have something of a tutorial. Since I'm not clever enough to think of some cool integration we could do with Twitter, I settled for something that might actually be useful. This patch adds a res_statsd.so module, which implements a basic statsd[1] client. Statsd is a very simple statistics gathering server, which can publish its results to a backend graphing engine, like Graphite[2]. There are several different Statsd server implementations[3], so you can pick what works best for your environment. The actual example of how to use the Stasis message bus is in res_chan_stats.so. This module demonstrates how to use subscriptions and the message router by monitoring messages and posting channels stats to the statsd server. A wiki page walking through res_chan_stats.so is forthcoming. [1]: https://github.com/etsy/statsd/ [2]: http://graphite.readthedocs.org/en/latest/ [3]: http://joemiller.me/2011/09/21/list-of-statsd-server-implementations/ Review: https://reviewboard.asterisk.org/r/2460/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@386624 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_statsd.exports.in')
-rw-r--r--res/res_statsd.exports.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/res/res_statsd.exports.in b/res/res_statsd.exports.in
new file mode 100644
index 000000000..6f02b25d6
--- /dev/null
+++ b/res/res_statsd.exports.in
@@ -0,0 +1,8 @@
+{
+ global:
+ LINKER_SYMBOL_PREFIX*ast_statsd_log;
+ LINKER_SYMBOL_PREFIX*ast_statsd_log_full;
+ LINKER_SYMBOL_PREFIX*ast_statsd_log_sample;
+ local:
+ *;
+};