KubeZero/charts/kubezero-metrics/configs/k8s-rules.yaml

19 lines
746 B
YAML
Raw Normal View History

# cd rules; for f in *-prometheusRule; do echo "- name: ${f%%-prometheusRule}" >> ../k8s-rules.yaml; echo " url: file://rules/$f" >> ../k8s-rules.yaml; done; cd -
rules:
- name: alertmanager
url: file://rules/alertmanager-prometheusRule
- name: etcd-mixin
url: file://rules/etcd-mixin-prometheusRule
- name: kube-prometheus
url: file://rules/kube-prometheus-prometheusRule
- name: kube-state-metrics
url: file://rules/kube-state-metrics-prometheusRule
- name: kubernetes
url: file://rules/kubernetes-prometheusRule
- name: node-exporter
url: file://rules/node-exporter-prometheusRule
- name: prometheus-operator
url: file://rules/prometheus-operator-prometheusRule
- name: prometheus
url: file://rules/prometheus-prometheusRule