Skip to content

Commit a30f2f1

Browse files
authored
Merge branch 'master' into azure-workload-identity
2 parents 5cd36c8 + bdf50c4 commit a30f2f1

23 files changed

Lines changed: 78 additions & 70 deletions

docs/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"sphinx_reredirects",
5050
]
5151

52-
suppress_warnings = ['autosectionlabel.*']
52+
suppress_warnings = ["autosectionlabel.*"]
5353

5454
# sphinx redirects from old docs
5555

@@ -70,7 +70,7 @@
7070
"user-guide/alert-manager.html": "/master/configuration/alert-manager.html",
7171
"catalog/sinks/webhook.html": "/master/configuration/sinks/webhook.html",
7272
"catalog/sinks/PagerDuty.html": "/master/configuration/sinks/PagerDuty.html",
73-
"catalog/actions/event-enrichment.html": "/master/playbook-reference/actions/event-enrichment.html"
73+
"catalog/actions/event-enrichment.html": "/master/playbook-reference/actions/event-enrichment.html",
7474
}
7575

7676
# for sphinx_jinja - see https://github.com/tardyp/sphinx-jinja
@@ -123,7 +123,7 @@
123123
# List of patterns, relative to source directory, that match files and
124124
# directories to ignore when looking for source files.
125125
# This patterns also effect to html_static_path and html_extra_path
126-
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
126+
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "**/*.inc.rst", "**/*.jinja"]
127127

128128
# The name of the Pygments (syntax highlighting) style to use.
129129
# pygments_style = "manni"

docs/configuration/additional-settings.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ For example:
6161
regex_replacement_style: SAME_LENGTH_ASTERISKS # You can also use NAMED
6262
regex_replacer_patterns:
6363
- name: MySecretPort
64-
regex: "my secret port \d+"
64+
regex: "my secret port \\d+"
6565
- name: UUID
6666
regex: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
6767
@@ -102,4 +102,4 @@ It is best to define this in a `global config <https://docs.robusta.dev/master/u
102102
- name: UUID
103103
regex: "[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
104104
105-
Place these values inside Robusta's Helm values and perform a :ref:`Helm Upgrade <Simple Upgrade>`.
105+
Place these values inside Robusta's Helm values and perform a :ref:`Helm Upgrade <Simple Upgrade>`.

docs/configuration/alert-manager.rst

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -145,34 +145,37 @@ other services are located. If the auto-discovery isn't working, you'll configur
145145

146146
Add the following to ``generated_values.yaml`` and :ref:`update Robusta <Simple Upgrade>`.
147147

148+
.. grid:: 1 1 1 1
148149

149-
.. grid-item::
150+
.. grid-item::
150151

151-
.. md-tab-set::
152+
.. md-tab-set::
152153

153-
.. md-tab-item:: Prometheus
154+
.. md-tab-item:: Prometheus
154155

155-
.. code-block:: yaml
156+
.. code-block:: yaml
156157
157-
# this line should already exist
158-
globalConfig:
159-
# add the lines below
160-
alertmanager_url: ""
161-
grafana_url: ""
162-
prometheus_url: "http://PROMETHEUS_SERVICE_NAME.monitoring.svc.cluster.local:9090"
163-
# Additional query string parameters to be appended to the Prometheus connection URL (optional)
164-
prometheus_url_query_string: "demo-query=example-data&another-query=value"
158+
# this line should already exist
159+
globalConfig:
160+
# add the lines below
161+
alertmanager_url: ""
162+
grafana_url: ""
163+
prometheus_url: "http://PROMETHEUS_SERVICE_NAME.monitoring.svc.cluster.local:9090"
164+
# Additional query string parameters to be appended to the Prometheus connection URL (optional)
165+
prometheus_url_query_string: "demo-query=example-data&another-query=value"
165166
166-
.. md-tab-item:: VictoriaMetrics
167+
.. md-tab-item:: VictoriaMetrics
167168

168-
.. code-block:: yaml
169+
.. code-block:: yaml
169170
170-
# this line should already exist
171-
globalConfig:
172-
# add the lines below
173-
alertmanager_url: ""
174-
grafana_url: ""
175-
prometheus_url: "http://VICTORIA_METRICS_SERVICE_NAME.monitoring.svc.cluster.local:8429"
171+
# this line should already exist
172+
globalConfig:
173+
# add the lines below
174+
alertmanager_url: ""
175+
grafana_url: ""
176+
prometheus_url: "http://VICTORIA_METRICS_SERVICE_NAME.monitoring.svc.cluster.local:8429"
177+
# Additional query string parameters to be appended to the VictoriaMetrics connection URL (optional)
178+
prometheus_url_query_string: "demo-query=example-data&another-query=value"
176179
177180
178181
Additional Authentication Headers

docs/configuration/defining-playbooks/builtin-playbooks.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
Builtin Playbooks
24
####################
35

@@ -6,7 +8,7 @@ Robusta includes builtin playbooks that:
68
* Enhance common Prometheus alerts
79
* Complement Prometheus with direct APIServer monitoring
810

9-
You can view builtin playbooks in the default Helm values.
11+
You can view builtin playbooks in the default Helm values.
1012

1113
In this guide, we explain the default configuration.
1214

@@ -34,4 +36,4 @@ Robusta uses *silencer* actions to flag false positive alerts and prevent them f
3436

3537
Silencers are just regular actions that call a special silencing API in their code.
3638

37-
To define your own silencers, refer to the :ref:`Silencing Prometheus Alerts` tutorial.
39+
To define your own silencers, refer to the :ref:`Silence alert` action.

docs/configuration/sinks/jira.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ Optional Settings
2424
---------------------------
2525
* ``issue_type`` : [Optional - default: ``Task``] Jira ticket type
2626
* ``dedups`` : [Optional - default: ``fingerprint``] Tickets deduplication parameter. By default, Only one issue per ``fingerprint`` will be created. There can be more than one value to use. Possible values are: fingerprint, cluster_name, title, node, type, source, namespace, creation_date etc
27-
* ``project_type_id_override`` : [Optional - default: None] If available, will override the ``project_name`` configuration. Follow these `instructions <https://confluence.atlassian.com/jirakb/how-to-get-project-id-from-the-jira-user-interface-827341414.html>`_ to get your project id.
28-
* ``issue_type_id_override`` : [Optional - default: None] If available, will override the ``issue_type`` configuration. Follow these `instructions <https://confluence.atlassian.com/jirakb/finding-the-id-for-issue-types-646186508.html>`_ to get your issue id.
27+
* ``project_type_id_override`` : [Optional - default: None] If available, will override the ``project_name`` configuration. Follow these `instructions <https://confluence.atlassian.com/jirakb/how-to-get-project-id-from-the-jira-user-interface-827341414.html>`__ to get your project id.
28+
* ``issue_type_id_override`` : [Optional - default: None] If available, will override the ``issue_type`` configuration. Follow these `instructions <https://confluence.atlassian.com/jirakb/finding-the-id-for-issue-types-646186508.html>`__ to get your issue id.
2929

3030
Configuring the Jira sink
3131
------------------------------------------------

docs/configuration/sinks/sinks-development.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ If Robusta doesn't support the sink you need, consider implementing your own.
66
What Are Robusta Sinks?
77
--------------------------
88

9-
:ref:`Sinks <Sinks>`
10-
are the destinations to which Robusta sends data. For example, when sending Robusta messages
9+
:ref:`Sinks <Sinks Reference>` are the destinations to which Robusta sends data. For example, when sending Robusta messages
1110
to Slack, Robusta uses a Slack sink.
1211

1312
Internally, Robusta generates

docs/configuration/sinks/slack.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@ your own. This is not recommended for most companies due to the added complexity
9393
.. warning::
9494

9595
When using a custom Slack app, callback buttons are not supported due to complexities in how Slack handles incoming
96-
messages. :ref:`Contact us if you need assistance. <help>`
96+
messages. :ref:`Contact us if you need assistance. <Getting Support>`

docs/docs-contributions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Build the docs locally:
4848

4949
1. ``poetry: command not found`` - Make sure you have `Poetry <https://python-poetry.org/docs/>`_ installed and run ``source $HOME/.poetry/env`` in Linux environments to set the poetry environment variables.
5050

51-
2. ``sphinx-build: command not found`` - Make sure you have `Sphinx <https://www.sphinx-doc.org/en/master/usage/getting-started/installation.html>`_ installed.
51+
2. ``sphinx-build: command not found`` - Make sure you have `Sphinx <https://www.sphinx-doc.org/en/master/usage/getting-started/installation.html>`__ installed.
5252

5353
3. ``OSError: [Errno 98] Address already in use`` - Use the ``--port <Number>`` argument, with a port of your choice. Example: ``./docs_autobuild.sh --port 8822``
5454

docs/help.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,6 @@ Here are more tutorials from the Robusta community:
121121

122122
<div style="position: relative; height: 0; padding-bottom: 56.25%;"> <iframe src="https://www.youtube.com/embed/2P76WVVua8w" frameborder="0" allowfullscreen style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></iframe></div>
123123

124-
125-
.. * **Video:** `Kubernetes Notifications, Troubleshooting, And Automation With Robusta <https://www.youtube.com/watch?v=2P76WVVua8w>`_ by Viktor Farcic
126124
* **Video:** `Twitter challenge - Robusta.dev on 10 nodes <https://www.youtube.com/watch?v=l_zaCaY_wls>`_ by `Nuno Captain Corsair <https://twitter.com/nunixtech>`_
127125
* `Troubleshoot and automate to fix your k8s Application <https://csaju.com/blog/troubleshoot-and-automate-to-fix-your-k8s-application/>`_ by `Aju Tamang <https://twitter.com/pylang2>`_
128126
* `Getting Started with Robusta on Digital Ocean <https://dev.to/heyrutam/getting-started-with-robusta-on-digital-ocean-3g41>`_ by `Rutam Prita Mishra <https://github.com/Rutam21>`_

docs/playbook-reference/actions/scans.rst

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,21 @@ By default, every instance of Robusta that's connected to the UI will run a KRR
2020
With or without the UI, you can configure additional scans on a :ref:`schedule <Scheduled>`.
2121
The results can be sent as a PDF to Slack or to the Robusta UI.
2222

23-
.. grid-item::
23+
.. grid:: 1 1 1 1
2424

25-
.. md-tab-set::
25+
.. grid-item::
2626

27-
.. md-tab-item:: Slack
27+
.. md-tab-set::
2828

29-
.. image:: /images/krr_slack_example.png
30-
:width: 1000px
29+
.. md-tab-item:: Slack
3130

32-
.. md-tab-item:: Robusta UI
31+
.. image:: /images/krr_slack_example.png
32+
:width: 1000px
3333

34-
.. image:: /images/krr_example.png
35-
:width: 1000px
34+
.. md-tab-item:: Robusta UI
35+
36+
.. image:: /images/krr_example.png
37+
:width: 1000px
3638

3739

3840
.. robusta-action:: playbooks.robusta_playbooks.krr.krr_scan on_schedule
@@ -90,19 +92,21 @@ With or without the UI, you can configure additional scans on a :ref:`schedule <
9092
9193
The results can be sent as a PDF to Slack or to the Robusta UI.
9294

93-
.. grid-item::
95+
.. grid:: 1 1 1 1
96+
97+
.. grid-item::
9498

95-
.. md-tab-set::
99+
.. md-tab-set::
96100

97-
.. md-tab-item:: Slack
101+
.. md-tab-item:: Slack
98102

99-
.. image:: /images/popeye_slack_example.png
100-
:width: 1000px
103+
.. image:: /images/popeye_slack_example.png
104+
:width: 1000px
101105

102-
.. md-tab-item:: Robusta UI
106+
.. md-tab-item:: Robusta UI
103107

104-
.. image:: /images/popeye_example.png
105-
:width: 1000px
108+
.. image:: /images/popeye_example.png
109+
:width: 1000px
106110

107111

108112
.. Note::

0 commit comments

Comments
 (0)