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

fix: break out from loop over plugins #34

Closed teftin closed 11 years ago

teftin commented 11 years ago

This makes sure that only output from highest priority/order plugin is used. Currently, metric name is used as _id in elasticsearch (which makes it effectively unique), which means only single 'interpretation' of metric is allowed.

Dieterbe commented 11 years ago

actually the break from the inner loop had to be removed too. and actually that whole code had to be reworked because plugins now only return 1 structured metric per input metric. so i fixed those things in 19113f2 and a4d7dcd

thanks though.