You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added info on creating alert rule in Prometheus (#547)
* Added info on creating alert rule in Prometheus.
* Updated info on creating alert rule in Prometheus
* Rewrote update as procedure and implemented rest of reviewer's feedback.
* Corrected output error.
== Configuring Prometheus alerts for Kafka instance limits
258
+
259
+
.Prerequisites
260
+
* You have successfully configured metrics monitoring for a Kafka instance in Prometheus.
261
+
* You use the Prometheus Operator in your monitoring environment.
262
+
* You can define https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/[alerting rules] in Prometheus and can deploy an https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/alerting.md/[Alertmanager cluster] in Prometheus Operator.
263
+
264
+
265
+
.Procedure
266
+
. Create a `PrometheusRule` custom resource with alerts defined for the https://access.redhat.com/articles/5979061[capacity of your Kafka instance].
267
+
. Apply the `PrometheusRule` to the cluster that you are federating the metrics to.
268
+
269
+
.Example `PrometheusRule` custom resource for a Kafka broker storage limit alert
description: 'Based on recent sampling, the Broker PersistentVolume claimed by {{ $labels.persistentvolumeclaim }} is expected to fill up within four days.
285
+
----
286
+
287
+
288
+
289
+
255
290
[role="_additional-resources"]
256
291
.Additional resources
257
292
* {base-url}{getting-started-url-kafka}[_Getting started with {product-long-kafka}_^]
0 commit comments