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

no graph data when there are many null data points #72

Closed skatepro closed 10 years ago

skatepro commented 10 years ago

In my (admittedly suboptimal) graphite configuration, my collector is submitting data every 5 mins, but carbon is writing every minute, causing 4/5ths of my whisper data to be null data points. In this case, graph-explorer does not show any data at all unless I add a moving average like "avg over 5M"

Some example data from the POST response looks like: [{"target": "servers.name.loadavg.01", "datapoints": [[null, 1385333760], [null, 1385333820], [null, 1385333880], [0.0, 1385333940], [null, 1385334000], [null, 1385334060], [null, 1385334120], [null, 1385334180], [0.0, 1385334240], [null, 1385334300], [null, 1385334360], [null, 1385334420], [null, 1385334480], [0.0, 1385334540], [null, 1385334600], [null, 1385334660], [null, 1385334720], [null, 1385334780], [0.01, 1385334840], [null, 1385334900], [null, 1385334960], [null, 1385335020], [null, 1385335080], [0.0, 1385335140], [null, 1385335200], [null, 1385335260], [null, 1385335320], [null, 1385335380], [0.0, 1385335440], [null, 1385335500], [null, 1385335560], [null, 1385335620], [null, 1385335680],