mozilla-services / iprepd-nginx

Openresty nginx module for integrating with iprepd
https://github.com/mozilla-services/iprepd
Mozilla Public License 2.0
9 stars 5 forks source link

Support optional statsd metrics collection #3

Closed ajvb closed 6 years ago

ajvb commented 6 years ago

From https://github.com/mozilla-services/iprepd-nginx/pull/1#pullrequestreview-169359004

The only thing that would be on my wishlist that isn't here now is publishing metrics via statsd. Timers for successful and failed requests to iprepd, counters for accepted and rejected connections, and maybe a set for the ip addresses seen would all be useful.

Could try out https://github.com/lonelyplanet/openresty-statsd/blob/master/lib/statsd.lua or write our own.