mod_statsd
mod_statsd copied to clipboard
Apache module to send statistics to Statsd
https://github.com/jib/mod_statsd/blob/a502e1f2d8cc7301ce0018c1ba09d34ab9911a34/mod_statsd.c#L485
https://github.com/jib/mod_statsd/blob/a502e1f2d8cc7301ce0018c1ba09d34ab9911a34/mod_statsd.c#L597
https://github.com/jib/mod_statsd/blob/a502e1f2d8cc7301ce0018c1ba09d34ab9911a34/mod_statsd.c#L500
Updated readme with CentOS/RHEL packaging instructions. Spec file and apache config. Makefile to build rpm and srpm.
It would be nice to have a LogLevel debug type logging in the error logs. This way, one could add `LogLevel warn statsd:debug` to their configuration to debug the module.
Updated Makefile to allow compilation against Apache 2.2 and 2.4 Added install target. Code based on https://github.com/gnif/mod_rpaf
414 is request entity too large cfg->enabled will be false, but it can be spotted by r->status == 414 and r->uri == null artificially limit the url length with LimitRequestLine...
That way /index.html does not become index.html.GET.200 but index_html.GET.200 in graphite.