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

some units incorrectly parsed and converted #82

Closed Dieterbe closed 10 years ago

Dieterbe commented 10 years ago

e.g. when querying for 'unit=Pckt' , the unit Pckt represents packets (as per https://github.com/vimeo/graph-explorer/wiki/Units-%26-Prefixes), but the code thinks we request something in peta's, so it does a scale call probably what should happen in unitconv.py's parse_simple_unitname is that we add some exceptional strings? @thepaul

Dieterbe commented 10 years ago

I think d14aa3ea65bd99ae4382181b8bae764ba40c5746 is an adeaquate fix for this?

Dieterbe commented 10 years ago

works fine for me, since that fix.