-
Notifications
You must be signed in to change notification settings - Fork 93
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
Add premade dashboard to monitor Traefik [enhancement] #794
Comments
Thanks for the update @Adam-D-Lewis . You may be able to roughly use: |
The following links are useful resources: |
The steps as I understand them now:
I've made a start on step 1 at https://github.com/Quansight/qhub/tree/prometheus_grafana. Also, I'd assume we don't want the metrics available publicly since then anyone could set up their own prometheus to poll metrics from your traefik instance, but how do I route the prometheus traffic to the Traefik pod itself when both prometheus and Traefik are within the cluster? Just use a ClusterIP k8s service, I would think, but I'll see if that works. |
From stackoverflow, For automatic discovery of a pod, this is needed in the kubernetes configuration:
|
I was able to get this working using a helm chart (see prom_values.yaml in https://github.com/Quansight/grafana-prometheus-qhub). Next, I just need to transfer the prom_values.yaml file into the terraform format in |
Alright so the |
We can add a grafana dashboard via a configmap or a secret. Now I need to determine which dashboard we want added or make a sensible dashboard then define the configmap in terraform. I've committed a sample configmap to the |
Thanks @Adam-D-Lewis. Would you mind turning this into a PR? I'd like to review it and be able to merge it before you get too busy with other projects. |
@tylerpotts schedule a time to sync up with @Adam-D-Lewis to pick up this issue. |
I'm looking into adding https://github.com/tcheronneau/grafana_dashboard to the qhub deployment for Traefik. The dashboard doesn't work off the bat. I'm still working on making the changes to get it working.
The text was updated successfully, but these errors were encountered: