Grafana: Weird connected lines Graph Panel (Flux): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
 
Zeile 9: Zeile 9:
  
 
== Solution==
 
== Solution==
*In the Flux-function '''aggregateWindow()" remove '''createEmpty: false''' or change this to '''createEmpty: true''' (because this is the default value). <br>
+
*In the Flux-function '''aggregateWindow()''' remove '''createEmpty: false''' or change this to '''createEmpty: true''' (because this is the default value). <br>
  
 
[[Datei:02-grafana no-wtf.png]]
 
[[Datei:02-grafana no-wtf.png]]

Aktuelle Version vom 15. Februar 2021, 15:47 Uhr

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