fritzinfluxdb icon indicating copy to clipboard operation
fritzinfluxdb copied to clipboard

Information on the behavior of fritzinfluxdb-dashboard with Grafana 9.2

Open dp20eic opened this issue 2 years ago • 10 comments

Hi, I love this project and I love to play around, so I install fritzinfluxdb from next-release branch. And the Dashboard is imported to Grafana 9.1.6 all is fine, as you see:

grafik

But if I upgrade to Grafana 9.2 the same Dashboard ist corrupted, see next picture:

grafik

And with Grafana 9.2 it looks like the query is not finished:

grafik

I try to find more information or run Grafana with debug, but this can take some time.

kind regards Bernd

dp20eic avatar Oct 13 '22 11:10 dp20eic

Hi,

Thank you for this information. I have to investigate this in my setup. Not sure why it is not working. This log annotation loading icon is there even in Grafana 9.1 and previous.

bb-Ricardo avatar Oct 13 '22 12:10 bb-Ricardo

Hi

this is quite interesting. I updated my TIG stack to Grafana 9.2.0 and checked with my installation. I'm still running the "rewrite-adding-async" branch. With my own dashboard (no Log annotations) I have no problems with 9.2.0. If I run the github dashboard I face the same problem like Bernd. If I use the old TIG with Grafana 9.1.5 there is also no problem.

I deleted the log annotation in the dashboard settings and then it run without problems under 9.2.0.

ronaldn1969 avatar Oct 13 '22 13:10 ronaldn1969

Hi @ronaldn1969, that was what I think I will do tonight for testing, thanks you safe my night :)

With all other Dashboards I also have no problems, some created by myself some downloaded from Grafana, Input comes from influxdb and influxdb2 with different buckets, iobroker, proxmox, aso.

dp20eic avatar Oct 13 '22 13:10 dp20eic

i can confirm with, with grafana 9.2 for sistem dashboard if i remove "annotation" property it work correctly

bjtox avatar Oct 16 '22 23:10 bjtox

Ok, forgott to write :(

as I did my checks, I saw in my two instances of grafan V9.1.6 and grafana 9.2 the following differences.

Grafana-9-1-6

grafik

Grafana 9.2

grafik

After I switched off the annotation, save the dashboard and enable the annotation again it works but with out annotation, the query is empty. After copy the query and save the dashboard again it works the same as under Grafana 9.1.6.

VG Bernd

dp20eic avatar Oct 17 '22 14:10 dp20eic

Hi @dp20eic,

So more or less it seems a migration error in Grafana while upgrading to 9.2. Will check tonight if there is already an open ticket.

Thank you for the finding.

bb-Ricardo avatar Oct 17 '22 14:10 bb-Ricardo

Hi @bb-Ricardo,

So more or less it seems a migration error in Grafana while upgrading to 9.2. Will check tonight if there is already an open ticket.

Yes, I did the upgrade on my productive Grafane some minutes ago and after copy the query and save the dashboard, it runs without problems.

Your welcome

dp20eic avatar Oct 17 '22 14:10 dp20eic

I couldn't find an existing issue. Do you mind if I use your screenshots in a new Grafana issue?

bb-Ricardo avatar Oct 17 '22 15:10 bb-Ricardo

Hi @bb-Ricardo,

I couldn't find an existing issue. Do you mind if I use your screenshots in a new Grafana issue?

Yes no problem.

VG Bernd

dp20eic avatar Oct 17 '22 17:10 dp20eic

Created an issue here: https://github.com/grafana/grafana/issues/57122

bb-Ricardo avatar Oct 17 '22 19:10 bb-Ricardo

Hi,

maybe you want to try the new all flux dashboards here:

https://github.com/bb-Ricardo/fritzinfluxdb/blob/next-release/README.md#grafana

I would just close this issue. I have no glue how long it will take to fix this in Grafana.

What do you think?

bb-Ricardo avatar Oct 29 '22 09:10 bb-Ricardo

Unfortunately, the new dashboards on branch next-release do not work with influx1.8. :-(

the links in https://github.com/bb-Ricardo/fritzinfluxdb/blob/next-release/README.md#grafana are dead (404).

bgoerner avatar Oct 29 '22 14:10 bgoerner

The links will work once it is merged to main.

True, the Flux dashboards won't work witch Influxdb 1.8 due to missing functionality and support in 1.8.

You should be able to delete and reimport the systems dashboard for influx 1.

bb-Ricardo avatar Oct 29 '22 14:10 bb-Ricardo

unfortunately my attempt fails. the error remains after new import.

bgoerner avatar Oct 29 '22 14:10 bgoerner

Hey @bgoerner,

sorry for the inconvenience. I false assumed this was a migration bug. But it's more a general issue with 9.2 and INFLUX query migrations.

However, I think I found a solution which works with 9.1 and 9.2. I pushed another change to next-release. Would you mind checking out if the annotations work right away in your setup?

commit ID: 7ca72827853f8a0e9bd9bf97cf72b002e4980a31

Thank you

bb-Ricardo avatar Oct 29 '22 20:10 bb-Ricardo

Hi,

next Thursday, I have some time to switch complete with "fritzinfluxdb" from influxdb 1.8 to influxdb2 2.4 also with migrate to the new dashboards using flux.

with kind regards Bernd

dp20eic avatar Oct 30 '22 15:10 dp20eic

hey, cool... it works now.

bgoerner avatar Oct 30 '22 21:10 bgoerner

Hello Ricardo,

as I told, I did the migration today too. New "fritzinfluxdb V1.1" -> influxdb2 V2.4 -> Grafana 9.2.4 (new Dashboards with Flux) as I see now for the last 10 - 15 minutes all ist running like a charm.

Good work and thank you for this great software.

VG Bernd

dp20eic avatar Nov 03 '22 13:11 dp20eic

Hi @dp20eic,

This sounds great and happy that it finally worked out.

bb-Ricardo avatar Nov 03 '22 15:11 bb-Ricardo