Closed cbowman0 closed 7 years ago
Graphs work if I set REMOTE_PREFETCH_DATA = False
.
Sounds like an issue with the code that checks whether the remote data was prefetched or not
It looks like the prefetch code is buried under the elif requestOptions['graphType'] == 'line':
section in webapp/graphite/render/views.py
Yes, but the code that does the actual fetches should see that it wasn't prefetched and fetch it normally, regardless of the prefetch setting
I don't see where that would happen. Should it be in datalib.py's fetchData
or _fetchData
?
Making this change gets pie charts back to working: https://github.com/cbowman0/graphite-web/commit/1510d0afb587d5746876f032b5fcf4004fb64c78
Can someone else confirm that setting
graphType=pie
on a render URL results in the following error?I'm testing out the current 1.0.x branch and noticed this error when attempting to load a dashboard with pie charts on it. I don't think anything in my local changes or deployment should cause this.