Skip to content

Commit 8e16c15

Browse files
authored
Merge pull request #66927 from skrthomas/OSDOCS-7616
OSDOCS:7616: Adding Loki ResourceExhausted troubleshooting
2 parents 0b741dd + 5c31264 commit 8e16c15

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Module included in the following assemblies:
2+
3+
// * networking/network_observability/troubleshooting-network-observability.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="network-observability-troubleshooting-loki-resource-exhausted_{context}"]
7+
= Troubleshooting Loki ResourceExhausted error
8+
Loki may return a `ResourceExhausted` error when network flow data sent by Network Observability exceeds the configured maximum message size. If you are using the Loki Operator, this maximum message size is configured to 100 MiB.
9+
10+
.Procedure
11+
. Navigate to *Operators* -> *Installed Operators*, viewing *All projects* from the *Project* drop-down menu.
12+
. In the *Provided APIs* list, select the Network Observability Operator.
13+
. Click the *Flow Collector* then the *YAML view* tab.
14+
.. If you are using the Loki Operator, check that the `spec.loki.batchSize` value does not exceed 98 MiB.
15+
.. If you are using a Loki installation method that is different from the Red Hat Loki Operator, such as Grafana Loki, verify that the `grpc_server_max_recv_msg_size` link:https://grafana.com/docs/loki/latest/configure/#server[Grafana Loki server setting] is higher than the `FlowCollector` resource `spec.loki.batchSize` value. If it is not, you must either increase the `grpc_server_max_recv_msg_size` value, or decrease the `spec.loki.batchSize` value so that it is lower than the limit.
16+
. Click *Save* if you edited the *FlowCollector*.

network_observability/troubleshooting-network-observability.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ include::modules/troubleshooting-network-observability-network-flow.adoc[levelof
1818

1919
include::modules/troubleshooting-network-observability-controller-manager-pod-out-of-memory.adoc[leveloffset=+1]
2020

21+
include::modules/troubleshooting-network-observability-loki-resource-exhausted.adoc[leveloffset=+1]
22+
2123
== Resource troubleshooting
2224

2325
include::modules/troubleshooting-network-observability-loki-tenant-rate-limit.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)