Skip to content

Latest commit

 

History

History

kube-prometheus-stack hacks

This script generates prometheus rules set for alertmanager from any properly formatted kubernetes yaml based on defined input, splitting rules to separate files based on group name.

Currently following imported:

  • prometheus-operator/kube-prometheus rules set
    • In order to modify these rules:

      jb update
      make generate
      • prepare and merge PR with imported changes into prometheus-operator/kube-prometheus master and/or release branch
      • run sync_prometheus_rules.py inside your fork of this repository
      • send PR with changes to this repository
  • etcd-io/etcd rules set.
    • In order to modify these rules:
      • prepare and merge PR into etcd-io/etcd repository
      • run sync_prometheus_rules.py inside your fork of this repository
      • send PR with changes to this repository

This script generates grafana dashboards from json files, splitting them to separate files based on group name.

Currently following imported:

  • etcd-io/website dashboard
    • In order to modify this dashboard:
      • prepare and merge PR into etcd-io/etcd repository
      • run sync_grafana_dashboards.py inside your fork of this repository
      • send PR with changes to this repository

CoreDNS dashboard is the only dashboard which is maintained in this repository and can be changed without import.