[ doubt ] Possibility to have continuos line in grfana dashboard when is no data in time intervals

Hello all:

This is my first message here. I have a question that I would like to share in case you can help me.
Recently I have deployed Grafana + InfluxDB + Telegraf in a enterprise environment in RHEL7.4 virtual servers.

Product version (rpms):
grafana: 5.4.2-1.x86_64
influxdb: 1.4.3-1.x86_64
telegraf: 1.5.2-1.x86_64

I have created some custom scripts in python that obtains info from openstack service APIs every 30 minutes in order to recollect custom info and insert them in some influxdb databases.

In grafana, we have created custom dashboards to show that openstack information from influxdb.
Sometimes, when we make maintenance works, openstack APIs are down, so, in one or two hours, data is no inserted in influxdb from scripts. So dashboards looks like this:


Is there any configuration in display dashboard section or other place, to join lines in time interval when there is no data in influxdb and see a continuos line between points where data is 0 (no data in influxdb)?

any information will be appreciated.
Thanks in advance.

Alberto M.

Hello there, Perhaps this is what you’re looking for? you can find this in the display tab 2019-02-08%20-Window

Thanks for the response.

I have tried this option, but it doesn´t work. In intervals when APIs are down, no data is written in influxdb. In attached image it seems that he has written 0, buy really is no data in backend.

It would be possible that connected value needs 0 values. Do you think of other ways to join lines?

Thanks again.

Alberto M


Resolved. Problem was that in some queries, when APIs are down, I saved in InfluxDB database 0 values, instead not insert them (null values)

Whit null values, in Display section, connected option works, as you can see in last dashboard.

Closed case.

Alberto M.

1 Like