NaN values being saved in Whisper datafiles
Bug #867882 reported by
Nicholas Leskiw
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
NaN values are somehow getting stored in datafiles. They should be converted to None as they're being read into carbon-cache.py, or at minimum, glyph.py should be configured to convert them to None. Otherwise Cairo can't render the graph properly. rawData can still return the data properly.
To post a comment you must log in.
There was an explicit check for NaNs in the MetricPickleRec eiver class but not in the MetricLineReceiver (or MetricDatagramR eceiver) for that matter. I've fixed this by moving it to the base MetricReceiver class.