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
metrics_labels_cache_duration_hrs: 12# default value
28
+
fetch_labels_with_labels_api: false # default value
29
+
fetch_metadata_with_series_api: false # default value
30
+
tool_calls_return_data: false # default value
31
+
headers:
32
+
Authorization: "Basic <base_64_encoded_string>"
24
33
25
-
It is also possible to set the ``PROMETHEUS_URL`` environment variable instead of the above ``prometheus_url`` config key.
26
34
27
-
.. include:: ./_toolset_configuration.inc.rst
35
+
.. include:: ./_toolset_configuration.inc.rst
28
36
29
-
Prior to generating a PromQL query, HolmesQPT tends to list the available metrics. This is done to ensure the metrics used
30
-
in PromQL are actually available.
37
+
.. md-tab-item:: Holmes CLI
31
38
32
-
Below is the full list of options for this toolset:
39
+
Add the following to **~/.holmes/config.yaml**, creating the file if it doesn't exist:
33
40
34
-
.. code-block:: yaml
41
+
.. code-block:: yaml
35
42
36
-
holmes:
37
43
toolsets:
38
44
prometheus/metrics:
39
45
enabled: true
@@ -47,6 +53,12 @@ Below is the full list of options for this toolset:
47
53
headers:
48
54
Authorization: "Basic <base_64_encoded_string>"
49
55
56
+
It is also possible to set the ``PROMETHEUS_URL`` environment variable instead of the above ``prometheus_url`` config key.
57
+
58
+
Prior to generating a PromQL query, HolmesQPT tends to list the available metrics. This is done to ensure the metrics used
59
+
in PromQL are actually available.
60
+
61
+
Below is the full list of options for this toolset:
50
62
51
63
- **metrics_labels_time_window_hrs** Represents the time window, in hours, over which labels are fetched. This avoids fetching obsolete labels. Set it to ``null`` to let HolmesGPT fetch labels regardless of when they were generated.
52
64
- **metrics_labels_cache_duration_hrs** How long are labels cached, in hours. Set it to ``null`` to disable caching.
0 commit comments