diff --git a/mod_grafite/README.md b/mod_grafite/README.md new file mode 100644 index 0000000..6153198 --- /dev/null +++ b/mod_grafite/README.md @@ -0,0 +1,35 @@ + +mod_grafite - Gathers statistics and publishes via statsd/grafite +author: Thiago Rocha Camargo (rochacamargothiago@gmail.com) + + mod_grafite + ============== + +Gathers statistics and publishes via statsd/grafite + + CONFIGURE + --------- + +Enable the module in ejabberd.yml for example with a basic configuration: +modules: + mod_grafite: + statsdhost: "carbonr.xmpp.com.br" + statsdport: 8125 + +Configurable options: + statsdhost: Host of the statsd server + statsdport: Port of the statsd server + + EXAMPLE CONFIGURATION + --------------------- + +modules: + mod_grafite: + statsdhost: "carbonr.xmpp.com.br" + statsdport: 8125 + + FEATURE REQUESTS + ---------------- + + - Add support for configurable Hooks + diff --git a/mod_grafite/conf/mod_grafite.yml b/mod_grafite/conf/mod_grafite.yml new file mode 100644 index 0000000..6c47a33 --- /dev/null +++ b/mod_grafite/conf/mod_grafite.yml @@ -0,0 +1,5 @@ +modules: + mod_grafite: + statsdhost: "carbonr.xmpp.com.br" + statsdport: 8125 + \ No newline at end of file diff --git a/mod_grafite/mod_grafite.spec b/mod_grafite/mod_grafite.spec new file mode 100644 index 0000000..1cb670a --- /dev/null +++ b/mod_grafite/mod_grafite.spec @@ -0,0 +1,5 @@ +author: "Thiago Rocha Camargo " +category: "statistics" +summary: "Publishes Statistics via statsd/grafite" +home: "https://github.com/processone/ejabberd-contrib/tree/master/" +url: "git@github.com:processone/ejabberd-contrib.git" diff --git a/mod_grafite/mod_grafite.erl b/mod_grafite/src/mod_grafite.erl similarity index 100% rename from mod_grafite/mod_grafite.erl rename to mod_grafite/src/mod_grafite.erl