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

[BUG] Grafana dashboard doesn't load data by default if already existing Prometheus and Grafana are used #300

Closed
abdullahkhawer opened this issue Dec 2, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@abdullahkhawer
Copy link

Describe the bug
After deploying version-checker using Helm as described in the README.md as follows:

helm repo add jetstack https://charts.jetstack.io
helm install version-checker jetstack/version-checker

And after installing the Grafana dashboard, I wasn't able to see any data.

To Reproduce
Steps to reproduce the behavior:

  • Simply deploy the version-checker using Helm on your existing Kubernetes cluster having prometheus and grafana deployments with default configurations. In my case, it was kube-prometheus-stack Helm chart.

Expected behavior
Everything should work by default and we should be able to see data on the Grafana dashboard.

Environment (please complete the following information):

  • Version-Checker: v0.8.3
  • Kubernetes: v1.18.6
  • Grafana: v11.3.0
  • Prometheus: v2.55.1

Solution
After doing some troubleshooting, I realised that the service monitor for version-checker metrics was missing under the monitoring.coreos.com CRD. After setting serviceMonitor.enabled to true in the default values of Helm release of version-checker, it started working and I was able to see data on the Grafana dashboard. Of course, a service monitor is a requirement for it to work.

So, I think it should be enabled by default so it works for those who already have a promethues and grafana instances. Otherwise, the README.md should be updated with this configuration details so the new users don't get confused.

@abdullahkhawer abdullahkhawer added the bug Something isn't working label Dec 2, 2024
@abdullahkhawer abdullahkhawer changed the title [BUG] [BUG] Grafana dashboard doesn't load data be default if already existing Prometheus and Grafana are used Dec 3, 2024
@github-actions github-actions bot added the stale label Mar 4, 2025
@jetstack jetstack deleted a comment from github-actions bot Mar 4, 2025
@davidcollom davidcollom removed the stale label Mar 4, 2025
@abdullahkhawer abdullahkhawer changed the title [BUG] Grafana dashboard doesn't load data be default if already existing Prometheus and Grafana are used [BUG] Grafana dashboard doesn't load data by default if already existing Prometheus and Grafana are used Mar 5, 2025
@davidcollom
Copy link
Collaborator

this was resolved in #320

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

No branches or pull requests

2 participants