Version: 2.4.2
Dashboards
#
View active dashboardsOpen WKP UI in your browser and:
- Click the Grafana button in the list of cluster components
- Click Home in the Grafana top navigation bar
- The list of loaded dashboards is displayed
Grafana dashboards are stored in ./cluster/platform/grafana-dashboards
.
#
Adding new dashboardsTo add additional grafana dashboards you can create and export them in the Grafana UI or download them from Grafana website.
#
From JSON sourceOnce you have the JSON data for a dashboard we commit it to our git config repository and it will be loaded into Grafana. Dashboards must be saved into cluster/platform/grafana-dashboards/
. For example:
git add cluster/platform/grafana-dashboards/my-new-dashboard.json
git commit -m "Adds my new dashboard"
git push
- Flux will load the dashboard into Grafana where you can see it by following the View active dashboards steps above.
#
Downloading new dashboards from Grafana's websiteGrafana maintains a collection of shared dashboards at https://grafana.com/grafana/dashboards. You can download and use these in our cluster.
- Find a dashboard you like on https://grafana.com/grafana/dashboards
- Click the Download JSON link from the sidebar on the dashboard details page.
- Follow the From JSON source instructions above.
#
Creating your own dashboardsTo to create your own dashboard from scratch
- In Grafana Click
+
on the left navigation menu to Create Dashboard. - Click Add panel and customize the panel with Prometheus and other queries.
- Continue adding panels until you've got a dashboard you're happy with. See the Grafana dashboard documentation for details and options.
- Click Dashboard settings > JSON Model to access the JSON data.
- Follow the From JSON source instructions above.