anryko / grafana-influx-dashboard

Grafana InfluxDB scripted dashboard
MIT License
132 stars 44 forks source link

Interface plugin graphs are incorrect #25

Closed anryko closed 9 years ago

anryko commented 9 years ago

DERIVATIVE() can have two arguments. The first is required and is a field name. The second is optional and is a rate normalization parameter. If the second parameter is not provided defaults to 1s.

In reality with v0.9.4.2 i see derivative(mean("value")) and derivative(mean("value"), 1s) show different results and the later one is actually correct.

anryko commented 9 years ago

I missed part in documentation which mention that GROUP BY changes rate normalisation. So this is expected documented behaviour from InfluxDB.

anryko commented 9 years ago

Done https://github.com/anryko/grafana-influx-dashboard/commit/4e2e26d36aedb2a494a6a304ebb6c630d2317b11.