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-Prometheus Dashboards using 'unpoller' in all metrics #633

Closed
DrewBiermann opened this issue Nov 2, 2023 · 3 comments
Closed

Grafana-Prometheus Dashboards using 'unpoller' in all metrics #633

DrewBiermann opened this issue Nov 2, 2023 · 3 comments

Comments

@DrewBiermann
Copy link

DrewBiermann commented Nov 2, 2023

Grafana-Prometheus Dashboards using 'unpoller' in all metrics but the metric data pulled in from the controller via prometheus is labeled 'unifipoller'.

E.g. unpoller_client_uptime_seconds vs unifipoller_client_uptime_seconds

Dashboards show up empty unless you go in and modify this.

@RedEchidnaUK
Copy link

Not sure if you fixed this, but I found the same issue. What confused me, I had it was working using a local install, then I ran it in a Docker container using the community Docker compose example and I noticed all of the metrics started with unifipoller.

I realised that the community Docker compose example sets the UP_PROMETHEUS_NAMESPACE=unifipoller, and that's the issue, it should be UP_PROMETHEUS_NAMESPACE=unpoller

@DrewBiermann
Copy link
Author

@RedEchidnaUK I didn't catch that initially. Looking at my compose file now it does have it set to unifipoller. I wish I had seen that before I went and edited all the queries in the dashboards ha ha. Your solution is obviously the quickest fix.

@DrewBiermann
Copy link
Author

@RedEchidnaUK has the easiest fix. Just modify your docker-compose to us UP_PROMETHEUS_NAMESPACE=unpoller and the dashboards will work.

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

No branches or pull requests

2 participants