Skip to content

Latest commit

 

History

History
123 lines (96 loc) · 18.9 KB

DASHBOARDS.md

File metadata and controls

123 lines (96 loc) · 18.9 KB

Grafana dashboards

This is a list of dashboards for Kubernetes project only:

Each dashboard is defined by its metrics SQL, saved Grafana JSON export and link to dashboard running on https://k8s.devstats.cncf.io

Many dashboards use "Repository group" drop-down. Repository groups are defined manually to group similar repositories into single projects. They are defined here: repo_groups.sql

Import and export

  • To get all currently defined dashboard from their Grafana's SQLite databases use: ./devel/get_all_sqlite_jsons.sh.
  • To put all JSONs into their Grafana's SQLite databases use: ./devel/put_all_charts.sh. If all is OK, clean DB backups: ./devel/put_all_charts_cleanup.sh.
  • To specify a list of projects to import/export prepend commands with: ONLY="project1 project2 ... projectN".
  • See this file for more details.

Kubernetes dashboards

Metric SQL's are defined in metrics.yaml, search for dashboard name to find its SQL metric file.

All of them works live on k8s.devstats.cncf.io with auto devstats tool running.

See adding new metrics for details.

Similar set of metrics is defined for Prometheus, OpenTracing, ..., Rook (All CNCF Projects):

  • SQL metrics in metrics/prometheus/ directory, tags metrics/prometheus/*tags*.sql files. Prometheus dashboards: grafana/dashboards/prometheus/ directory.
  • SQL metrics in metrics/opentracing/ directory, tags metrics/opentracing/*tags*.sql files. OpenTracing dashboards: grafana/dashboards/opentracing/ directory.
  • And so on...
  • You can autogenerate list of dashboards using vim script.

Prometheus dashboards

All non-k8s projects currently have the same set of dashbords, you only need to replace prometheus with other project's name.

Special dashboards to track multiple project statistics from All CNCF DevStats instance:

All CNCF DevStats instance

There is also an 'All' Project on the test server that contains all CNCF projects data combined. Each CNCF projects is a repository group there.

Adding new project

To add new project follow adding new project instructions.