smilebasti / npmGrafStats

This project exports NginxProxyManager Logs to InfluxDB for displaying them in a Grafana Dashboard.
GNU General Public License v3.0
149 stars 10 forks source link

Grafana v9 and maps #20

Closed mtucker119 closed 1 year ago

mtucker119 commented 1 year ago

First of all, thank you for the work you did on this. It works great.

One thing I noticed was that the maps don't work on version 9 of Grafana. I hadn't updated yet and I thought there was something wrong with the query. But when I looked at the data it was returning it looked it good. I already had Grafana installed and I figured adding the latest tag to the image and telling Portainer to always pull the image when re-deploying would be enough. But turns out the latest tag doesn't pull v10, I had to add the tag main instead.

Just a heads up in case any one else runs into the same problem. We upgraded to v10 from v9 and didn't see any problems FWIW.

smilebasti commented 1 year ago

Thanks. Will test it and add a note to the wiki.

Is the whole Dashboard not working in Grafana v9 or just the Map?

mtucker119 commented 1 year ago

It was just the map that wasn't working.

smilebasti commented 1 year ago

Ok. I created the dashboard with v9.5.2 and all worked. Maybe your Grafana version was a bit older?

I tried everything again using the docker-compose.yml file and it pulled the 10.0.0 image. Same for portainer (using an older testing environment from an earlier test with grafana 9.5.2 installed via the docker-compose with no tag), recreating the container with the Gui option re-pull image did pull the 10.0.0 image.

Have a look at the tags and the checksum https://hub.docker.com/r/grafana/grafana-oss/tags. The tag latest corresponds with 10.0.0. I'm not sure what happened on your end.

mtucker119 commented 1 year ago

I just checked the old image and it was v9.2.5. Thanks for checking. It was probably just something misconfigured on my old one.

smilebasti commented 1 year ago

Ok then i will close this issue now. Will further expand the wiki with your information. Thanks :)