Grafana: Weird connected lines Graph Panel (Flux)

Aus Wiki-WebPerfect
Version vom 15. Februar 2021, 15:47 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Issue

In your Grafana Graph panel you have weird connected lines, like the following image even with the Grafana Display setting "Null value = null":
01-grafana wtf.png


Cause

This is because of the Flux-function aggregateWindow() and the option createEmpty: false


Solution

  • In the Flux-function aggregateWindow() remove createEmpty: false or change this to createEmpty: true (because this is the default value).

02-grafana no-wtf.png