vimeo / graph-explorer

A graphite dashboard powered by structured metrics
http://vimeo.github.io/graph-explorer/
Apache License 2.0
1.06k stars 93 forks source link

make catchall bucket optional #76

Open Dieterbe opened 10 years ago

Dieterbe commented 10 years ago

it should be possible to choose whether you want a catchall bucket or not. i think this makes sense for both aggregation and grouping. a simple syntax and implementation could be like so:

# no catchall
>>> 'us-east|us-west'.split('|')
['us-east', 'us-west']
# with catchall
>>> 'us-east|us-west|'.split('|')
['us-east', 'us-west', '']
Dieterbe commented 10 years ago

thinking more about it, here's how i think aggregation and grouping should work:

Dieterbe commented 10 years ago

until now, group by without explicit buckets defaults to catchall bucket and then uses that to make a graph per every different value which means we don't have a way to have a few buckets and a graph for all remaining items.

Dieterbe commented 10 years ago

here's some work in progress towards this https://github.com/vimeo/graph-explorer/tree/rethink-buckets