doublemarket / grafana-rrd-server

A HTTP server that helps Grafana read RRD files via Grafana Simple JSON Datasource plugin
MIT License
153 stars 38 forks source link

delay with real content in rrd file #62

Open AlexProfi opened 3 years ago

AlexProfi commented 3 years ago

Hello I use different releases from 0.0.2 to 0.0.5 and get strange behaviour

0:Array[6467703.333333333,1612262700000]
1:Array[6467743.333333333,1612263000000]
2:Array[6467768.666666667,1612263300000]

this is in grafana but if i use rrdtool directly i see last timestamp data

1612261800: 6,4685253333e+06
1612262100: 6,4677073333e+06
1612262400: 6,4677633333e+06
1612262700: 6,4677293333e+06
1612263000: 6,4677033333e+06
1612263300: 6,4677433333e+06
1612263600: 6,4677686667e+06
1612263900: -nan

how to fix it?