Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Information on the behavior of fritzinfluxdb-dashboard with Grafana 9.2 #61

Closed
dp20eic opened this issue Oct 13, 2022 · 19 comments
Closed
Milestone

Comments

@dp20eic
Copy link

dp20eic commented Oct 13, 2022

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 dp20eic changed the title Information on the behavior of fritzboxinfluxdb-dashboard with Grafana 9.2 Information on the behavior of fritzinfluxdb-dashboard with Grafana 9.2 Oct 13, 2022
@bb-Ricardo
Copy link
Owner

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.

@ronaldn1969
Copy link

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.

@dp20eic
Copy link
Author

dp20eic commented Oct 13, 2022

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.

@bjtox
Copy link

bjtox commented Oct 16, 2022

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

@dp20eic
Copy link
Author

dp20eic commented Oct 17, 2022

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

@bb-Ricardo
Copy link
Owner

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.

@dp20eic
Copy link
Author

dp20eic commented Oct 17, 2022

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

@bb-Ricardo
Copy link
Owner

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

@dp20eic
Copy link
Author

dp20eic commented Oct 17, 2022

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

@bb-Ricardo
Copy link
Owner

Created an issue here: grafana/grafana#57122

@bb-Ricardo
Copy link
Owner

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?

@bgoerner
Copy link

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).

@bb-Ricardo
Copy link
Owner

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.

@bgoerner
Copy link

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

@bb-Ricardo
Copy link
Owner

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: 7ca7282

Thank you

@bb-Ricardo bb-Ricardo added this to the 1.1 milestone Oct 29, 2022
@dp20eic
Copy link
Author

dp20eic commented Oct 30, 2022

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

@bgoerner
Copy link

hey, cool... it works now.

@dp20eic
Copy link
Author

dp20eic commented Nov 3, 2022

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

@bb-Ricardo
Copy link
Owner

Hi @dp20eic,

This sounds great and happy that it finally worked out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants