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

Grafana pi-hole query data = null #9

Open
golvellius opened this issue Feb 5, 2024 · 4 comments
Open

Grafana pi-hole query data = null #9

golvellius opened this issue Feb 5, 2024 · 4 comments
Labels
bug Something isn't working cannot reproduce Unable to reproduce the issue

Comments

@golvellius
Copy link

Hi ..
I would like to thanks you about this great pihole monitor docker. I have been using for 1 week and all is working, but i have a small problem, on query data i have always null value ..
image

This is my pihole versions:
Docker:2024.01.0
Pi-Hole:5.17.3
FTL:5.24
WebInter:5.21.

Thanks.

@avojak avojak added the bug Something isn't working label Feb 11, 2024
@avojak
Copy link
Owner

avojak commented Feb 11, 2024

Are there any errors in the logs? And could you try running with the environment variable DEBUG=true and providing a small sample of the log output? It should log out the data retrieved from the Pi-hole before sending to InfluxDB - that'll help me narrow things down a bit. I'm not currently able to reproduce the issue with my setup.

@avojak avojak added the cannot reproduce Unable to reproduce the issue label Mar 8, 2024
@Jh123x
Copy link

Jh123x commented Mar 9, 2024

image
Not sure if this helps, but this is the data shape

@Jh123x
Copy link

Jh123x commented Mar 9, 2024

image

Seems like changing the transform for the dashboard to this solves the issue

Previously it was max.
The data is of type string which seemed to resolve to null when transforming using max

@avojak
Copy link
Owner

avojak commented Mar 28, 2024

@Jh123x Thanks for the data! I'll need to check out the code more closely, but I wonder if I'm not properly ensuring that the data is sent as the right type...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot reproduce Unable to reproduce the issue
Projects
None yet
Development

No branches or pull requests

3 participants