1
0
Fork 0
mirror of https://github.com/monitoring-mixins/website.git synced 2024-12-14 11:37:31 +00:00

assets,site/content: regenerate to add prometheus-operator

This commit is contained in:
paulfantom 2020-08-18 15:43:35 +02:00
parent e272fa3b6c
commit 3b3042c98e
No known key found for this signature in database
GPG key ID: 12AE0185401674E7
3 changed files with 98 additions and 0 deletions

View file

@ -0,0 +1,33 @@
groups:
- name: prometheus-operator
rules:
- alert: PrometheusOperatorWatchErrors
annotations:
description: Errors while performing watch operations in controller {{$labels.controller}}
in {{$labels.namespace}} namespace.
summary: Errors while performing watch operations in controller.
expr: |
(sum by (controller,namespace) (rate(prometheus_operator_watch_operations_failed_total{job="prometheus-operator"}[1h])) / sum by (controller,namespace) (rate(prometheus_operator_watch_operations_total{job="prometheus-operator"}[1h]))) > 0.1
for: 15m
labels:
severity: warning
- alert: PrometheusOperatorReconcileErrors
annotations:
description: Errors while reconciling {{ $labels.controller }} in {{ $labels.namespace
}} Namespace.
summary: Errors while reconciling controller.
expr: |
rate(prometheus_operator_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m
labels:
severity: warning
- alert: PrometheusOperatorNodeLookupErrors
annotations:
description: Errors while reconciling Prometheus in {{ $labels.namespace }}
Namespace.
summary: Errors while reconciling Prometheus.
expr: |
rate(prometheus_operator_node_address_lookup_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m
labels:
severity: warning

View file

@ -0,0 +1 @@
null

View file

@ -0,0 +1,64 @@
---
title: prometheus-operator
---
## Overview
{{< panel style="danger" >}}
Jsonnet source code is available at [github.com/prometheus-operator/prometheus-operator](https://github.com/prometheus-operator/prometheus-operator/tree/master/jsonnet/mixin)
{{< /panel >}}
## Alerts
{{< panel style="warning" >}}
Complete list of pregenerated alerts is available [here](https://github.com/monitoring-mixins/website/blob/master/assets/prometheus-operator/alerts.yaml).
{{< /panel >}}
### prometheus-operator
##### PrometheusOperatorWatchErrors
{{< code lang="yaml" >}}
alert: PrometheusOperatorWatchErrors
annotations:
description: Errors while performing watch operations in controller {{$labels.controller}}
in {{$labels.namespace}} namespace.
summary: Errors while performing watch operations in controller.
expr: |
(sum by (controller,namespace) (rate(prometheus_operator_watch_operations_failed_total{job="prometheus-operator"}[1h])) / sum by (controller,namespace) (rate(prometheus_operator_watch_operations_total{job="prometheus-operator"}[1h]))) > 0.1
for: 15m
labels:
severity: warning
{{< /code >}}
##### PrometheusOperatorReconcileErrors
{{< code lang="yaml" >}}
alert: PrometheusOperatorReconcileErrors
annotations:
description: Errors while reconciling {{ $labels.controller }} in {{ $labels.namespace
}} Namespace.
summary: Errors while reconciling controller.
expr: |
rate(prometheus_operator_reconcile_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m
labels:
severity: warning
{{< /code >}}
##### PrometheusOperatorNodeLookupErrors
{{< code lang="yaml" >}}
alert: PrometheusOperatorNodeLookupErrors
annotations:
description: Errors while reconciling Prometheus in {{ $labels.namespace }} Namespace.
summary: Errors while reconciling Prometheus.
expr: |
rate(prometheus_operator_node_address_lookup_errors_total{job="prometheus-operator"}[5m]) > 0.1
for: 10m
labels:
severity: warning
{{< /code >}}