Skip to content

Commit 2618af6

Browse files
authored
more doc improvements (#1952)
1 parent f6878cf commit 2618af6

34 files changed

Lines changed: 561 additions & 495 deletions

docs/conf.py

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,11 @@
9292
"configuration/defining-playbooks/creating-notifications.html": "/master/playbook-reference/defining-playbooks/creating-notifications.html",
9393
"configuration/defining-playbooks/external-playbook-repositories.html": "/master/playbook-reference/defining-playbooks/external-playbook-repositories.html",
9494
"configuration/defining-playbooks/index.html": "/master/playbook-reference/defining-playbooks/index.html",
95-
"configuration/defining-playbooks/playbook-advanced.html": "/master/playbook-reference/defining-playbooks/playbook-advanced.html",
96-
"configuration/defining-playbooks/playbook-basics.html": "/master/playbook-reference/defining-playbooks/playbook-basics.html",
97-
"configuration/defining-playbooks/trigger-action-binding.html": "/master/playbook-reference/defining-playbooks/trigger-action-binding.html",
95+
"configuration/defining-playbooks/playbook-advanced.html": "/master/playbook-reference/index.html",
96+
"playbook-reference/defining-playbooks/playbook-advanced.html": "/master/playbook-reference/index.html",
97+
"configuration/defining-playbooks/playbook-basics.html": "/master/playbook-reference/index.html",
98+
"configuration/defining-playbooks/trigger-action-binding.html": "/master/playbook-reference/index.html#matching-actions-to-triggers",
99+
"playbook-reference/defining-playbooks/trigger-action-binding.html": "/master/playbook-reference/index.html#matching-actions-to-triggers",
98100
"configuration/additional-settings.html": "/master/setup-robusta/additional-settings.html",
99101
"developer-guide/writing-playbooks.html": "/master/playbook-reference/defining-playbooks/index.html",
100102
"user-guide/slack.html": "/master/configuration/sinks/slack.html",
@@ -108,7 +110,8 @@
108110
"configuration/configuring-sinks.html": "/master/notification-routing/configuring-sinks.html",
109111
"how-it-works/privacy-and-security.html": "/master/setup-robusta/privacy-and-security.html",
110112
"how-it-works/index.html": "/master/playbook-reference/what-are-playbooks.html",
111-
"playbook-reference/examples.html": "/master/playbook-reference/prometheus-examples/index.html",
113+
"playbook-reference/examples.html": "/master/playbook-reference/builtin-alert-enrichment.html",
114+
"playbook-reference/prometheus-examples/index.html": "/master/playbook-reference/builtin-alert-enrichment.html",
112115
"tutorials/playbook-track-changes.html": "/master/playbook-reference/kubernetes-examples/kubernetes-change-notifications.html",
113116
"tutorials/playbook-job-failure.html": "/master/playbook-reference/kubernetes-examples/kubernetes-change-notifications.html",
114117
"tutorials/playbook-failed-liveness.html": "/master/playbook-reference/kubernetes-examples/kubernetes-change-notifications.html",
@@ -167,7 +170,7 @@
167170
"user-guide/embedded-prometheus.html": "/master/configuration/alertmanager-integration/embedded-prometheus.html#enabling-the-embedded-prometheus",
168171
"user-guide/node-selector.html": "/master/setup-robusta/node-selector.html",
169172
"user-guide/interactivity.html": "/master/setup-robusta/additional-settings.html#two-way-interactivity",
170-
"user-guide/flow-control.html": "/master/playbook-reference/defining-playbooks/playbook-advanced.html#using-filters-to-restrict-triggers",
173+
"user-guide/flow-control.html": "/master/playbook-reference/index.html#using-filters-to-restrict-triggers",
171174
"catalog/triggers/index.html": "/master/playbook-reference/triggers/index.html",
172175
"catalog/triggers/kubernetes.html": "/master/playbook-reference/triggers/kubernetes.html",
173176
"catalog/triggers/smart.html": "/master/playbook-reference/triggers/kubernetes.html",
@@ -189,7 +192,7 @@
189192
"catalog/sinks/webex.html": "/master/configuration/sinks/webex.html",
190193
"catalog/sinks/VictorOps.html": "/master/configuration/sinks/VictorOps.html",
191194
"catalog/sinks/file.html": "/master/configuration/sinks/file.html",
192-
"user-guide/trigger-action-binding.html": "/master/playbook-reference/defining-playbooks/playbook-basics.html#understanding-actions",
195+
"user-guide/trigger-action-binding.html": "/master/playbook-reference/index.html#understanding-actions",
193196
"advanced/privacy-and-security.html": "/master/setup-robusta/privacy-and-security.html",
194197
"advanced/robusta-ui-triggers.html": "/master/setup-robusta/installation/index.html",
195198
"developer-guide/actions/index.html": "/master/playbook-reference/actions/index.html",
@@ -209,7 +212,9 @@
209212
"configuration/alertmanager-integration/troubleshooting-alertmanager.html": "/master/configuration/exporting/send-alerts-api.html",
210213
"configuration/alertmanager-integration/grafana-alert-manager.html": "/master/configuration/alertmanager-integration/grafana-self-hosted.html",
211214
"configuration/alertmanager-integration/grafana-cloud-mimir.html": "/master/configuration/alertmanager-integration/grafana-cloud.html",
212-
"playbook-reference/what-are-playbooks.html": "/master/playbook-reference/overview.html",
215+
"playbook-reference/what-are-playbooks.html": "/master/playbook-reference/index.html",
216+
"playbook-reference/overview.html": "/master/playbook-reference/index.html",
217+
"playbook-reference/defining-playbooks/playbook-basics.html": "/master/playbook-reference/index.html",
213218
"how-it-works/alert-builtin-enrichment.html": "/master/playbook-reference/builtin-alert-enrichment.html",
214219
"setup-robusta/installation/extend-prometheus-installation.html": "/master/setup-robusta/installation/standalone-installation.html",
215220
"playbook-reference/defining-playbooks/index.html": "/master/playbook-reference/index.html",

docs/configuration/alertmanager-integration/alert-custom-prometheus.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ Create Custom Prometheus Alerts
88
You can define new alerts in two ways using Robusta:
99

1010
1. Prometheus Alerts - Using PromQL
11-
2. Robusta Playbooks - Using :ref:`customPlaybooks YAML <What are Playbooks?>`
11+
2. Robusta Playbooks - Using :ref:`customPlaybooks YAML <Playbook Basics>`
1212

1313
These methods are not mutually exclusive. Robusta playbooks can respond to Prometheus alerts, or they can generate
14-
alerts themselves by listening directly to the Kubernetes APIServer. To better understand the trade-offs, refer to
15-
:ref:`Should I generate alerts with Robusta or with Prometheus? <robusta-or-prometheus-alerts>`
14+
alerts themselves by listening directly to the Kubernetes APIServer.
1615

1716
In this tutorial, we use the first method to generate a custom Prometheus alert using PromQL. In the next tutorial,
1817
we define a custom Robusta playbook that enhances the alert and makes it better.
@@ -109,4 +108,4 @@ Next Steps
109108

110109
Learn how to enrich Prometheus alerts with more context, so that you can respond faster:
111110

112-
* :ref:`Prometheus Alert Enrichment`
111+
* :ref:`Alert Enrichment <builtin-alert-enrichment>`

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/configuration/holmesgpt/getting-started.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,8 @@ Instead of Robusta AI, you can use your own OpenAI, Azure, or AWS Bedrock accoun
142142
name: holmes-secrets
143143
key: awsSecretAccessKey
144144
145+
.. _Reading the Robusta UI Token from a secret in HolmesGPT:
146+
145147
Using Existing Secrets
146148
----------------------
147149

docs/configuration/resource-recommender.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Cost Savings (KRR)
22
************************************************************
33

4-
Robustas `KRR <https://github.com/robusta-dev/krr>`_ is a CLI tool for optimizing resource allocation in Kubernetes clusters.
5-
It gathers pod usage data from Prometheus and recommends requests and limits for CPU and memory. This reduces costs and improves performance.
4+
`KRR <https://github.com/robusta-dev/krr>`_ is a CLI tool that optimizes resource allocation in Kubernetes clusters.
5+
It gathers pod usage data from Prometheus and recommends requests and limits for CPU and memory, reducing costs and improving performance.
66

7-
By optionally integrating KRR with Robusta you can:
7+
Robusta can run KRR scans on a :ref:`schedule <Scheduled>` using playbooks. Because KRR is so popular, it has dedicated documentation here. You can:
88

9-
1. Get weekly KRR scan reports in Slack via Robusta OSS (disabled by default, see below to configure)
10-
2. View KRR scans from all your clusters in the Robusta UI (enabled by default for UI users)
9+
1. Send weekly scan reports to Slack or other sinks via Robusta OSS (disabled by default, configure below)
10+
2. View scans from all your clusters in the Robusta UI (enabled by default for UI users)
1111

1212

1313
Sending Weekly KRR Scan Reports to Slack

docs/help.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
:hide-toc:
22

3+
.. _Getting Support:
4+
35
Getting Support
46
================
57

@@ -248,7 +250,7 @@ Holmes
248250
249251
It's often because the ``Robusta UI Token`` is pulled from a secret, and Holmes cannot read it.
250252

251-
See :ref:`Reading the Robusta UI Token from a secret in HolmesGPT` to configure Holmes to read the ``token``
253+
See :ref:`Using Existing Secrets <Reading the Robusta UI Token from a secret in HolmesGPT>` to configure Holmes to read the ``token``
252254

253255
Phase 4: Integration Issues
254256
^^^^^^^^^^^^^^^^^^^^^^^^^^^

docs/how-it-works/coverage.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Prometheus Alerts
2020

2121
.. warning::
2222

23-
You must :ref:`send your Prometheus alerts to Robusta by webhook <Integrating with Prometheus>` for these to work.
23+
You must send your Prometheus alerts to Robusta by webhook for these to work. See :doc:`AlertManager Integration </configuration/alertmanager-integration/index>`.
2424

2525
Other errors
2626
----------------
@@ -39,8 +39,7 @@ Change Tracking
3939
By default all changes to Deployments, DaemonSets, and StatefulSets are sent to the Robusta UI for correlation
4040
with Prometheus alerts and other errors.
4141

42-
These changes are not sent to other sinks (e.g. Slack) by default because they are spammy. :ref:`Routing Cookbook`
43-
explains how to selectively track changes you care about in Slack as well.
42+
These changes are not sent to other sinks (e.g. Slack) by default because they are spammy. See :doc:`Notification Routing </notification-routing/index>` to learn how to selectively track changes you care about in Slack as well.
4443

4544
We also wrote a blog post `Why everyone should track Kubernetes changes and top four ways to do so <https://home.robusta.dev/blog/why-everyone-should-track-and-audit-kubernetes-changes-and-top-ways/>`_
4645

docs/index.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,15 @@
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>
149-
Kubernetes Change Notifications <playbook-reference/kubernetes-examples/kubernetes-change-notifications>
147+
Playbook Notifications <playbook-reference/defining-playbooks/creating-notifications>
148+
Alert Enrichment <playbook-reference/builtin-alert-enrichment>
149+
Automatic Remediation <playbook-reference/automatic-remediation-examples/index>
150+
Change Tracking Playbooks <playbook-reference/kubernetes-examples/kubernetes-change-notifications>
151+
Silencer Playbooks <playbook-reference/defining-playbooks/silencer-playbooks>
152+
Log Based Alerting <playbook-reference/logs-triggers/index>
150153
Cost Savings - KRR <configuration/resource-recommender>
154+
Triggers Reference <playbook-reference/triggers/index>
155+
Actions Reference <playbook-reference/actions/index>
151156

152157
.. toctree::
153158
:maxdepth: 4

docs/notification-routing/configuring-sinks.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ A Simple Sink Configuration
99
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1010
Sinks are defined in Robusta's Helm chart, using the ``sinksConfig`` value.
1111

12-
For example, lets add a :ref:`Microsoft Teams Sink <MS Teams sink>`:
12+
For example, lets add a :ref:`Microsoft Teams Sink <MS Teams>`:
1313

1414
.. code-block:: yaml
1515

docs/notification-routing/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Popular Sinks
6868

6969
.. grid-item-card:: PagerDuty
7070
:class-card: sd-bg-light sd-bg-text-light
71-
:link: ../configuration/sinks/pagerduty
71+
:link: ../configuration/sinks/PagerDuty
7272
:link-type: doc
7373

7474
.. grid-item-card:: View All Sinks

0 commit comments

Comments
 (0)