Skip to content

Commit 03bc2b7

Browse files
committed
fixes
1 parent d0eea9f commit 03bc2b7

13 files changed

Lines changed: 56 additions & 41 deletions

File tree

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@
108108
"configuration/configuring-sinks.html": "/master/notification-routing/configuring-sinks.html",
109109
"how-it-works/privacy-and-security.html": "/master/setup-robusta/privacy-and-security.html",
110110
"how-it-works/index.html": "/master/playbook-reference/what-are-playbooks.html",
111-
"playbook-reference/examples.html": "/master/playbook-reference/prometheus-examples/index.html",
111+
"playbook-reference/examples.html": "/master/playbook-reference/builtin-alert-enrichment.html",
112+
"playbook-reference/prometheus-examples/index.html": "/master/playbook-reference/builtin-alert-enrichment.html",
112113
"tutorials/playbook-track-changes.html": "/master/playbook-reference/kubernetes-examples/kubernetes-change-notifications.html",
113114
"tutorials/playbook-job-failure.html": "/master/playbook-reference/kubernetes-examples/kubernetes-change-notifications.html",
114115
"tutorials/playbook-failed-liveness.html": "/master/playbook-reference/kubernetes-examples/kubernetes-change-notifications.html",

docs/configuration/alertmanager-integration/grafana-self-hosted.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ To enable Robusta to correlate your Grafana alerts with the specific Kubernetes
9393
This is only required for Kubernetes alerts. You can send any alert to the Robusta timeline, including non-Kubernetes alerts.
9494

9595
Option 2: Inline Alert Enrichment and Routing
96-
===========================================
96+
==============================================
9797

9898
Use Robusta to enrich alerts inline with extra context and route them to :doc:`other systems </configuration/sinks/index>` (Slack, Microsoft Teams, etc.). Learn more about :doc:`alert routing </notification-routing/index>`.
9999

docs/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@
144144
:hidden:
145145

146146
playbook-reference/index
147-
Builtin Alert Enrichment <playbook-reference/builtin-alert-enrichment>
148-
Custom Alert Enrichment <playbook-reference/prometheus-examples/index>
147+
Enrich Alerts <playbook-reference/builtin-alert-enrichment>
149148
Kubernetes Change Notifications <playbook-reference/kubernetes-examples/kubernetes-change-notifications>
150149
Cost Savings - KRR <configuration/resource-recommender>
151150

Lines changed: 40 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,60 @@
11
.. _builtin-alert-enrichment:
22

3-
Builtin Alert Enrichment
3+
Enrich Alerts
44
########################################
55

6-
Robusta takes Prometheus to the next level by correlating alerts with other observability data.
6+
Ever feel overwhelmed by alerts that lack context? Robusta enriches alerts automatically and lets you create custom enrichment rules.
7+
8+
.. note::
79

8-
Testing out Prometheus alerts
10+
**Looking for automatic AI enrichment?** Check out :doc:`HolmesGPT </configuration/holmesgpt/main-features>` for zero-configuration AI-powered alert enrichment that automatically investigates alerts and provides root cause analysis.
11+
12+
Builtin Alert Enrichment
913
*********************************
10-
1. Deploy a broken pod that will be stuck in pending state:
14+
15+
Robusta automatically enriches Prometheus alerts with relevant Kubernetes context:
16+
17+
* **Pod events** - Recent events related to the affected pod
18+
* **Pod logs** - Relevant log excerpts from crashing or failing containers
19+
* **Resource metrics** - CPU, memory, and other resource usage data
20+
* **Related Kubernetes objects** - Deployments, ReplicaSets, ConfigMaps, etc.
21+
22+
This happens automatically for common Prometheus alerts without any configuration. To extend it to your own Prometheus alerts you can define custom playbooks.
23+
24+
Testing Alert Enrichment
25+
^^^^^^^^^^^^^^^^^^^^^^^^^^
26+
27+
1. Deploy a broken pod:
1128

1229
.. code-block:: bash
1330
:name: cb-apply-pendingpod
1431
1532
kubectl apply -f https://raw.githubusercontent.com/robusta-dev/kubernetes-demos/main/pending_pods/pending_pod_resources.yaml
1633
17-
2. Trigger a Prometheus alert immediately, skipping the normal delays:
34+
2. Trigger a Prometheus alert immediately:
1835

1936
.. code-block:: bash
2037
:name: cb-trigger-prometheus-alert
2138
2239
robusta playbooks trigger prometheus_alert alert_name=KubePodCrashLooping namespace=default pod_name=example-pod
2340
24-
.. admonition:: Example Slack Message
41+
.. admonition:: Example Enriched Alert
2542

2643
.. image:: /images/simulatedprometheusalert.png
44+
45+
Custom Alert Enrichment
46+
*********************************
47+
48+
Create custom enrichment rules to:
49+
50+
* Reduce MTTR by automatically gathering system state and logs when alerts fire
51+
* Make faster decisions on which team needs to investigate
52+
* Link alerts to runbooks and documentation for better knowledge sharing
53+
54+
Get started with these examples:
55+
56+
.. toctree::
57+
:maxdepth: 1
58+
59+
prometheus-examples/bash-alert-enrichment
60+
prometheus-examples/link-alert-enrichment

docs/playbook-reference/defining-playbooks/builtin-playbooks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The following default playbook handles all Prometheus alerts that Robusta receiv
2525
2626
There are additional enrichments for specific alerts. For example:
2727

28-
To define additional playbooks for your own alerts, refer to the :doc:`Custom Alert Enrichment </playbook-reference/prometheus-examples/index>` guide.
28+
To define additional playbooks for your own alerts, refer to the :doc:`Enrich Alerts </playbook-reference/builtin-alert-enrichment>` guide.
2929

3030
Default Prometheus Silencing
3131
--------------------------------

docs/playbook-reference/defining-playbooks/creating-notifications.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Creating Notifications
1+
Playbook Notifications
22
######################
33

44
Playbooks can generate notifications to *let a human know* about something in your cluster.

docs/playbook-reference/defining-playbooks/playbook-advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Advanced Playbook Techniques
44
################################
55

6-
This guide assumes you already know :ref:`playbook basics <Playbook Basics>` and how to :ref:`create notifications <Creating Notifications>`. It explains
6+
This guide assumes you already know :ref:`playbook basics <Playbook Basics>` and how to :ref:`create notifications <Playbook Notifications>`. It explains
77
implementation details and common techniques.
88

99
Using Filters to Restrict Triggers

docs/playbook-reference/defining-playbooks/playbook-basics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Understanding Notifications
186186

187187
In Robusta, notifications are called Findings, as they represent something the playbook discovered.
188188

189-
In the above example, a Finding was generated by the ``create_finding`` action. Refer to :ref:`Creating Notifications`
189+
In the above example, a Finding was generated by the ``create_finding`` action. Refer to :ref:`Playbook Notifications`
190190
for more details.
191191

192192
Matching Actions to Triggers

docs/playbook-reference/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
overview
88
Playbook Basics <defining-playbooks/playbook-basics>
9-
Creating Notifications <defining-playbooks/creating-notifications>
9+
Playbook Notifications <defining-playbooks/creating-notifications>
1010
Advanced Playbook Techniques <defining-playbooks/playbook-advanced>
1111
Matching Actions to Triggers <defining-playbooks/trigger-action-binding>
1212
Loading External Actions <defining-playbooks/external-playbook-repositories>

docs/playbook-reference/overview.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ Playbooks are deterministic rules for responding to alerts and unhealthy conditi
66

77
Playbooks are recommended for advanced use cases. Most users should start with :doc:`AI Analysis </configuration/holmesgpt/main-features>` of alerts first, which requires far less configuration.
88

9+
Quick Start
10+
---------------------
11+
12+
New to playbooks? Start with the :doc:`Playbook Basics </playbook-reference/defining-playbooks/playbook-basics>` guide to learn how to create your first playbook.
13+
914
How Playbooks Work
1015
---------------------
1116

0 commit comments

Comments
 (0)