CorpGlory / grafana-datasource-kit

Node.js library for running Grafana datasources on backend plus utils
MIT License
9 stars 3 forks source link

Wrong datapoints at timerange boundaries #84

Open VargBurz opened 5 years ago

VargBurz commented 5 years ago

Datapoints at timerange boundaries can have different values depending on timerange. We should use some delta to determine the correct boundaries.

jonyrock commented 5 years ago

@VargBurz please explain here why points could be different

VargBurz commented 5 years ago

It happens because of aggregation. Every point has some neighbourhood (mathematics) that defines value. Our timerange boundaries cut this neighbourhood, so values are incorrect.