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/configuration/holmesgpt/toolsets/coralogix_logs.rst
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,8 @@ Configuration
68
68
Advanced Configuration
69
69
^^^^^^^^^^^^^^^^^^^^^^
70
70
71
-
**Frequent logs and archive**
71
+
Frequent logs and archive
72
+
****************************
72
73
73
74
By default, holmes fetched the logs from the `Frequent search <https://coralogix.com/docs/user-guides/account-management/tco-optimizer/logs/#frequent-search-data-high-priority>`_
74
75
tier and only fetch logs from the `Archive` tier if the frequent search returned no result.
@@ -98,7 +99,8 @@ Here is a description of each possible log retrieval methodology:
98
99
- **FREQUENT_SEARCH_FALLBACK** Search logs in the archive first. If there are no results, fallback to searching the frequent logs.
99
100
- **BOTH_FREQUENT_SEARCH_AND_ARCHIVE** Always use both the frequent search and the archive to fetch logs. The result contains merged data which is deduplicated and sorted by timestamp.
100
101
101
-
**Search labels**
102
+
Search labels
103
+
***************
102
104
103
105
You can tweak the labels used by the toolset to identify kubernetes resources. This is **optional** and only needed if your
104
106
logs settings for ``pod``, ``namespace``, ``application`` and ``subsystem`` differ from the defaults in the example below.
@@ -124,7 +126,8 @@ You can verify what labels to use by attempting to run a query in the coralogix
124
126
:align:center
125
127
126
128
127
-
**Disabling the default toolset**
129
+
Disabling the default toolset
130
+
*********************************
128
131
129
132
If Coralogix is your primary datasource for logs, it is **advised** to disable the default HolmesGPT logging
130
133
tool by disabling the ``kubernetes/logs`` toolset. Without this. HolmesGPT may still use kubectl to
Copy file name to clipboardExpand all lines: docs/configuration/holmesgpt/toolsets/prometheus.rst
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,13 @@
1
1
.. _toolset_prometheus:
2
2
3
3
Prometheus
4
-
==========
4
+
=============
5
5
6
6
By enabling this toolset, HolmesGPT will be able to generate graphs from prometheus metrics as well as help you write and
7
7
validate prometheus queries. HolmesGPT can also detect memory leak patterns, CPU throttling, lagging queues, and high
8
8
latency issues.
9
9
10
-
Prior to generating a PromQL query, HolmesQPT tends to list the available metrics. This is done to ensure the metrics used
10
+
Prior to generating a PromQL query, HolmesGPT tends to list the available metrics. This is done to ensure the metrics used
11
11
in PromQL are actually available.
12
12
13
13
Configuration
@@ -47,7 +47,8 @@ Configuration
47
47
48
48
It is also possible to set the ``PROMETHEUS_URL`` environment variable instead of the above ``prometheus_url`` config key.
49
49
50
-
**Advanced configuration**
50
+
Advanced configuration
51
+
******************************************
51
52
52
53
Below is the full list of options for this toolset:
53
54
@@ -74,7 +75,8 @@ Below is the full list of options for this toolset:
74
75
- **fetch_metadata_with_series_api** Uses the `series API <https://prometheus.io/docs/prometheus/latest/querying/api/#finding-series-by-label-matchers>`_ instead of the `metadata API <https://prometheus.io/docs/prometheus/latest/querying/api/#querying-metric-metadata>`_. You should only set this value to `true` if the metadata API is disabled or not working. HolmesGPT's ability to select the right metric will be negatively impacted because the series API does not return key metadata like the metrics/series description or their type (gauge, histogram, etc.).
75
76
- **tool_calls_return_data** Defaults to ``true``. If ``false``, no prometheus data will be returned to HolmesGPT. Set it to ``false`` if you frequently reach the token limit when using this toolset. Setting this setting to ``false`` will also disable HolmesGPT's ability to analyze prometheus data.
76
77
77
-
**Finding the prometheus URL**
78
+
Finding the prometheus URL
79
+
******************************************
78
80
79
81
The best way to find the prometheus URL is to use "ask holmes". This only works if your cluster is live and already connected to Robusta.
80
82
@@ -85,7 +87,7 @@ If not, you can often find the prometheus URL by running the following command (
Copy file name to clipboardExpand all lines: docs/how-it-works/coverage.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Prometheus Alerts
20
20
21
21
.. warning::
22
22
23
-
You must :ref:`send your Prometheus alerts to Robusta by webhook <Integrating AlertManager and Prometheus>` for these to work.
23
+
You must :ref:`send your Prometheus alerts to Robusta by webhook <Integrating with Prometheus>` for these to work.
24
24
25
25
Other errors
26
26
----------------
@@ -39,7 +39,7 @@ Change Tracking
39
39
By default all changes to Deployments, DaemonSets, and StatefulSets are sent to the Robusta UI for correlation
40
40
with Prometheus alerts and other errors.
41
41
42
-
These changes are not sent to other sinks (e.g. Slack) by default because they are spammy. :ref:`Automation Basics`
42
+
These changes are not sent to other sinks (e.g. Slack) by default because they are spammy. :ref:`Routing Cookbook`
43
43
explains how to selectively track changes you care about in Slack as well.
44
44
45
45
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/>`_
When remediating based on alerts, you can access all the alert metadata like name, namespace, cluster name, pod, node and more as environment variables.
0 commit comments