obfuscurity / tasseo

Live dashboard for Graphite
Other
1.53k stars 127 forks source link

Transform function on metrics #75

Closed darkhelmet closed 10 years ago

darkhelmet commented 11 years ago

This lets you report things like disk space in MB (you're monitoring both boot and root, they both report in MB) but you want to display some things in GB.

Can include a filter function in the metric to divide by 1024, and now your MB are in GB.

Also:

obfuscurity commented 11 years ago

Oh, hmm... I wasn't paying close enough attention. I guess this could be pretty useful. I'm generally against stuffing logic into the configs, but I can imagine this would be very useful to Librato and InfluxDB users.

Curious what smarter folks think of this... @roidrage @eric @gorsuch ?

darkhelmet commented 11 years ago

Background:

I use scout at my job, and it logs disk usage in GB. This is fine most of the time, but useless on the boot drive, which is only 100MB or something like that. It just reports 0. I'm writing a little server metrics thing that reports to InfluxDB and report disk usage in MB, because it seems more useful for the reason above. This transform lets me display it better in the dashboard, when it makes sense.

eric commented 10 years ago

I've always wanted my metrics displays to be smarter about displays of values that can have smarter units.

I'm totally in favor of this. :+1:

obfuscurity commented 10 years ago

Works for me, merging. :smile_cat:

roidrage commented 10 years ago

I'm very excited about this!

obfuscurity commented 10 years ago

@roidrage I'm only now reading your comment, and it makes me sad that I've missed out on that gif for a month.

1324316240_cat_jumps_off_balcony_ledge

eric commented 10 years ago

I've never been able to get over http://youtu.be/Veg63B8ofnQ

obfuscurity commented 10 years ago

http://www.infinitelooper.com/?v=Veg63B8ofnQ&p=n#/30;33