kubernetes-monitoring / kubernetes-mixin

A set of Grafana dashboards and Prometheus alerts for Kubernetes.
Apache License 2.0
2.08k stars 597 forks source link

fix(dashboards): use new grafonnet for apiserver dashboard #890

Closed Duologic closed 6 months ago

Duologic commented 7 months ago

ref: https://github.com/kubernetes-monitoring/kubernetes-mixin/issues/888

This updates the apiserver dashboard to use the new Grafonnet.

This will cause some changes but should result in the same dashboard.

A few noteable changes:

The code abstracts a few of these panels into separate functions to avoid duplication a bit.

Also see inline comments about a few changes outside the dashboard.

povilasv commented 7 months ago

Thanks for this, rebase needed :)

Duologic commented 7 months ago

Rebased, dropped a few commits.