eric / metriks

An experimental library to instrument ruby
MIT License
478 stars 51 forks source link

Optionally filter data reported to Librato Metrics #20

Closed lmarburger closed 5 years ago

lmarburger commented 12 years ago

This differs from #19 in that I have a plethora of gauges but only report on a select few. I can't use :only => [ :count ] because I don't necessarily want all counts. I would rather use :only => [ 'my_app.count', 'my_app.95th_percentile' ].

eric commented 12 years ago

If we extended this to work with regular expressions, it could also solve the use case of wanting to exclude all .mean metrics, for instance.

lmarburger commented 12 years ago

Good idea. What do you think of this now?

lmarburger commented 12 years ago

Does this make sense to port to other reporters? I've only used the Librato Metrics reporter so I'm not sure of the use case for the others. If you had a Meter and were using the Logger reporter, what would you expect to pass to :except to exclude logging five_minute_rate?

jlecour commented 10 years ago

I'm sorry that I'm juste asking for updates regarding this issue, I'm quite new to the project and the subject in general.

I'd be very interested in this feature. I'm sending a lot of histogram metrics to Librato but I'm using just a couple of data in each histogram. It would be less data transmitted, less billed metrics and less metrics to choose from in the Librato UI.

eric commented 10 years ago

I've been working on an improved reporter for librato that I have here:

https://github.com/eric/metriks-librato_metrics

I haven't released a gem for it yet, so you'll have to point your Gemfile at the git repo for now. 

What is it you would like to filter? We could look at adding it to that reporter.

On Thu, Apr 17, 2014 at 9:07 AM, Jérémy Lecour notifications@github.com wrote:

I'm sorry that I'm juste asking for updates regarding this issue, I'm quite new to the project and the subject in general.

I'd be very interested in this feature. I'm sending a lot of histogram metrics to Librato but I'm using just a couple of data in each histogram. It would be less data transmitted, less billed metrics and less metrics to choose from in the Librato UI.

Reply to this email directly or view it on GitHub: https://github.com/eric/metriks/pull/20#issuecomment-40711539