Skip to content

Commit a1df4c7

Browse files
authored
Merge pull request #50218 from bburt-rh/RHDEVDOCS-4311-add-available-component-values-for-monitoring-log-levels
RHDEVDOCS-4311- Add available component and log level values for monitoring log level settings
2 parents 133186e + 8ba57ba commit a1df4c7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

modules/monitoring-setting-log-levels-for-monitoring-components.adoc

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,11 @@ data:
5252
<component>: <1>
5353
logLevel: <log_level> <2>
5454
----
55-
<1> The monitoring component that you are applying a log level to.
56-
<2> The log level to apply to the component.
55+
<1> The monitoring stack component for which you are setting a log level.
56+
For default platform monitoring, available component values are `prometheusK8s`, `alertmanagerMain`, `prometheusOperator`, and `thanosQuerier`.
57+
<2> The log level to set for the component.
58+
The available values are `error`, `warn`, `info`, and `debug`.
59+
The default value is `info`.
5760

5861
** *To set a log level for a component in the `openshift-user-workload-monitoring` project*:
5962
.. Edit the `user-workload-monitoring-config` `ConfigMap` object in the `openshift-user-workload-monitoring` project:
@@ -77,8 +80,11 @@ data:
7780
<component>: <1>
7881
logLevel: <log_level> <2>
7982
----
80-
<1> The monitoring component that you are applying a log level to.
81-
<2> The log level to apply to the component.
83+
<1> The monitoring stack component for which you are setting a log level.
84+
For user workload monitoring, available component values are `prometheus`, `prometheusOperator`, and `thanosRuler`.
85+
<2> The log level to set for the component.
86+
The available values are `error`, `warn`, `info`, and `debug`.
87+
The default value is `info`.
8288

8389
. Save the file to apply the changes. The pods for the component restarts automatically when you apply the log-level change.
8490
+

0 commit comments

Comments
 (0)