Skip to content

Commit 56fc0ce

Browse files
committed
Fixed based on comments
1 parent 658e764 commit 56fc0ce

2 files changed

Lines changed: 21 additions & 18 deletions

File tree

docs/configuration/alertmanager-integration/_testing_integration.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Send a dummy alert to AlertManager:
1919

2020
.. image:: /images/robusta-ui-simulate-alert-1.png
2121
:alt: Choose the cluster
22-
:width: 600
22+
:width: 900
2323
:align: center
2424

2525
Then
@@ -36,6 +36,10 @@ Send a dummy alert to AlertManager:
3636

3737
If everything is setup properly, this alert will reach Robusta. It will show up in the Robusta UI, Slack, and other configured sinks.
3838

39+
.. note::
40+
41+
It might take a few minutes for the alert to arrive due to AlertManager's `group_wait` and `group_interval` settings. For more details, more info `here <https://prometheus.io/docs/alerting/latest/configuration/#:~:text=How%20long%20to%20wait%20before%20sending%20a%20notification%20about%20new%20alerts%20that%0A%23%20are%20added%20to%20a%20group%20of%20alerts%20for%20which%20an%20initial%20notification%20has%0A%23%20already%20been%20sent>`_.
42+
3943
.. details:: I configured AlertManager, but I'm not receiving alerts?
4044
:class: warning
4145

docs/configuration/alertmanager-integration/victoria-metrics.rst

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,43 +13,42 @@ Add the following to your Victoria Metrics Alertmanager configuration (e.g., Hel
1313
.. code-block:: yaml
1414
1515
receivers:
16-
- name: 'robusta'
17-
webhook_configs:
18-
- url: 'http://<ROBUSTA-HELM-RELEASE-NAME>-runner.<NAMESPACE>.svc.cluster.local/api/alerts'
19-
send_resolved: true # (3)
16+
- name: 'robusta'
17+
webhook_configs:
18+
- url: 'http://<ROBUSTA-HELM-RELEASE-NAME>-runner.<NAMESPACE>.svc.cluster.local/api/alerts'
19+
send_resolved: true # (3)
2020
2121
route: # (1)
22-
routes:
23-
- receiver: 'robusta'
24-
group_by: [ '...' ]
25-
group_wait: 1s
26-
group_interval: 1s
27-
matchers:
28-
- severity =~ ".*"
29-
repeat_interval: 4h
30-
continue: true # (2)
22+
routes:
23+
- receiver: 'robusta'
24+
group_by: [ '...' ]
25+
group_wait: 1s
26+
group_interval: 1s
27+
matchers:
28+
- severity =~ ".*"
29+
repeat_interval: 4h
30+
continue: true # (2)
3131
3232
.. code-annotations::
33-
1. Put Robusta's route as the first route, to guarantee it receives alerts. If you can't do so, you must guarantee all previous routes set ``continue: true`` set.
33+
1. Put Robusta's route as the first route, to guarantee it receives alerts. If you can't do so, you must guarantee all previous routes has ``continue: true`` set.
3434
2. Keep sending alerts to receivers defined after Robusta.
3535
3. Important, so Robusta knows when alerts are resolved.
3636

3737

3838
.. include:: ./_testing_integration.rst
3939

40-
Configure Metric Querying
40+
Configure Metrics Querying
4141
====================================
4242

4343
Robusta can query metrics and create silences using Victoria Metrics. If both are in the same Kubernetes cluster, Robusta can auto-detect the Victoria Metrics service. To verify, go to the "Apps" tab in Robusta, select an application, and check for usage graphs.
4444

45-
If auto-detection fails or if Robusta and Victoria Metrics are in different clusters, add the following to ``generated_values.yaml`` and :ref:`update Robusta <Simple Upgrade>`.
45+
If auto-detection fails you must add the ``prometheus_url`` parameter and :ref:`update Robusta <Simple Upgrade>`.
4646

4747
.. code-block:: yaml
4848
4949
globalConfig: # this line should already exist
5050
# add the lines below
5151
alertmanager_url: "http://<VM_ALERT_MANAGER_SERVICE_NAME>.<NAMESPACE>.svc.cluster.local:9093" # Example:"http://vmalertmanager-victoria-metrics-vm.default.svc.cluster.local:9093/"
52-
grafana_url: ""
5352
prometheus_url: "http://VM_Metrics_SERVICE_NAME.NAMESPACE.svc.cluster.local:8429" # Example:"http://vmsingle-vmks-victoria-metrics-k8s-stack.default.svc.cluster.local:8429"
5453
# Add any labels that are relevant to the specific cluster (optional)
5554
# prometheus_additional_labels:

0 commit comments

Comments
 (0)