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
Copy file name to clipboardExpand all lines: docs/playbook-reference/prometheus-examples/link-alert-enrichment.rst
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ Implementation
10
10
11
11
In this example, we add links to the alert ``KubeContainerCPURequestAlert`` that we created in a :ref:`previous tutorial <Create Custom Prometheus Alerts>`.
12
12
13
-
Add the following YAML to the ``customPlaybooks`` Helm value and :ref:`update Robusta <Simple Upgrade>`.
13
+
Below there are three alternatives ways to enrich the alert with links. Apply the YAML to the ``customPlaybooks`` Helm value and :ref:`update Robusta <Simple Upgrade>`.
14
14
15
15
.. code-block:: yaml
16
16
@@ -29,6 +29,10 @@ Add the following YAML to the ``customPlaybooks`` Helm value and :ref:`update Ro
29
29
:scroll: Playbook <https://playbook-url/|Handling High Resource Utilization>
30
30
:github: Adjust CPU requests <https://github.com/YourRepository/|in the `Prod-sre` repository>
31
31
:notion: Internal Docs on <https://notion.com/path-to-docs/|Customizing CPU requests>
32
+
- button_enricher:
33
+
button_text: "Playbook for ${team}"
34
+
button_url: "https://playbook-url/team/${team}"
35
+
32
36
33
37
.. code-annotations::
34
38
1. We're using custom emojis here that correspond to GitHub and Notion logos. Before you configure this, follow `this guide <https://slack.com/intl/en-gb/help/articles/206870177-Add-customised-emoji-and-aliases-to-your-workspace>`_ to add emojis to your workspace.
0 commit comments