Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Grafana dashboards are exported as json JSON files in the codebase. Dashboards can be easily exported from the UI.

  1. Run local version of grafana using docker-compose. Refer to README.md for more information.
  2. Once dashboards are manually updated via UI, re-export every modified or new dashboard to JSON file:
    1. Click at top-right on "Save Share dashboard" button.
      Image RemovedImage Added
    2. A modal dialog with a message "Cannot save provisioned dashboard" will appear, but that's normal. Select "Save JSON . Go to "Export" tab and click "Save to file" button.
      Image Added
  3. Save/update file in .test-infra/metrics/grafana/dashboards.
  4. Create a Pull Request. New dashboards will be automatically deployed to Grafana after merge.

...