Skip to content

Commit

Permalink
Updated Prometheus Operator documentation (robusta-dev#670)
Browse files Browse the repository at this point in the history
Co-authored-by: Pavan <pavangudiwada@users.noreply.github.com>
  • Loading branch information
pavangudiwada and pavangudiwada committed Nov 6, 2023
1 parent a6cabe1 commit 6d745e1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/user-guide/alert-manager.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ Add custom AlertManager, Grafana or Prometheus in ``generated_values.yaml``.
Prometheus Operator
-----------------------
If you are using a Prometheus Operator that was **not** installed with Robusta, you should define a `manually-managed secret <https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/alerting.md#manually-managed-secret>`_
that sends alerts to Robusta by webhook.
If you are using a Prometheus Operator that was **not** installed with Robusta, you should define a `manually-managed secret <https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/alerting.md#using-a-kubernetes-secret>`_. Your Prometheus Operator uses this secret to sends alerts to Robusta by webhook.

Follow the `instructions in the Prometheus Operator documentation <https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/alerting.md#manually-managed-secret>`_, using the above configuration for alertmanager.yaml.
AlertManager pushes alerts to Robusta. Follow the instructions in the `Prometheus Operator documentation <https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/user-guides/alerting.md#managing-alertmanager-configuration>`_, using the above configuration to configure alertmanager.yaml.

An alternative is to configure an AlertmanagerConfig CRD, but this is **not** recommended as it `will only forward alerts from one namespace <https://github.com/prometheus-operator/prometheus-operator/issues/3750>`_.

Expand Down

0 comments on commit 6d745e1

Please sign in to comment.