Skip to main content
Version: 2.4.2

Dashboards

View active dashboards#

Open WKP UI in your browser and:

  1. Click the Grafana button in the list of cluster components Promtheus button
  1. Click Home in the Grafana top navigation bar Promtheus ui
  1. The list of loaded dashboards is displayed Promtheus alerts ui

Grafana dashboards are stored in ./cluster/platform/grafana-dashboards.

cluster/platform/grafana-dashboards/
โ”œโ”€โ”€ k8s-all-node-resources.json
โ”œโ”€โ”€ k8s-pod-resources.json
โ”œโ”€โ”€ k8s-service-resources.json
โ”œโ”€โ”€ k8s-single-node-resources.json
โ””โ”€โ”€ k8s-system-services.json

Adding new dashboards#

To add additional grafana dashboards you can create and export them in the Grafana UI or download them from Grafana website.

From JSON source#

Once 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:

  1. git add cluster/platform/grafana-dashboards/my-new-dashboard.json
  2. git commit -m "Adds my new dashboard"
  3. git push
  4. 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 website#

Grafana maintains a collection of shared dashboards at https://grafana.com/grafana/dashboards. You can download and use these in our cluster.

  1. Find a dashboard you like on https://grafana.com/grafana/dashboards
  2. Click the Download JSON link from the sidebar on the dashboard details page.
  3. Follow the From JSON source instructions above.

Creating your own dashboards#

To to create your own dashboard from scratch

  1. In Grafana Click + on the left navigation menu to Create Dashboard.
  2. Click Add panel and customize the panel with Prometheus and other queries.
  3. Continue adding panels until you've got a dashboard you're happy with. See the Grafana dashboard documentation for details and options.
  4. Click Dashboard settings > JSON Model to access the JSON data.
  5. Follow the From JSON source instructions above.