Fix Collection Service Helm charts package
[demo.git] / vnfs / DAaaS / prometheus-operator / hack / README.md
1 # prometheus-operator hacks
2
3 ## [sync_prometheus_rules.py](sync_prometheus_rules.py)
4
5 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.
6
7 Currently following imported:
8  - [coreos/prometheus-operator rules set](https://github.com/coreos/prometheus-operator/blob/master/contrib/kube-prometheus/manifests/prometheus-rules.yaml)
9  - [etcd-io/etc rules set](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/etcd3_alert.rules.yml) (temporary disabled)
10
11 ## [sync_grafana_dashboards.py](sync_grafana_dashboards.py)
12
13 This script generates grafana dashboards from json files, splitting them to separate files based on group name.
14
15 Currently following imported:
16  - [coreos/prometheus-operator dashboards](https://github.com/coreos/prometheus-operator/blob/master/contrib/kube-prometheus/manifests/grafana-deployment.yaml)
17  - [etcd-io/etc dashboard](https://github.com/etcd-io/etcd/blob/master/Documentation/op-guide/grafana.json)
18  - [coreos/prometheus-operator CoreDNS dashboard](https://github.com/helm/charts/blob/master/stable/prometheus-operator/dashboards/grafana-coredns-k8s.json) (not maintained in this location)