<p>I am trying to use loki and grafana for generating and visualizing log-based metrics. I have created a Grafana dashboard using the loki filters. While clicking the refresh button, all dashboards fail with the error &quot;too many outstanding requests&quot; and display no data. Refer to the screenshot attached.
<a href="https://i.stack.imgur.com/6AIp4.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6AIp4.png" alt="enter image description here" /></a>
I deployed grafana and loki to the EKS cluster.</p>
<p>Is there a parameter I can adjust to resolve the issue? I examined the pod/deployment configurations but found nothing pertinent.</p>
<p>Please assist.</p>

Shine Kumar K P
<p>You can change default limits for some Loki internal variables. Here is an example of a tested config that works fine on 4 core virtual machine with simple file storage.</p>
<pre><code>query_scheduler:
  max_outstanding_requests_per_tenant: 4096
frontend:
  max_outstanding_per_tenant: 4096
query_range:
  parallelise_shardable_queries: true
limits_config:
  split_queries_by_interval: 15m
  max_query_parallelism: 32
</code></pre>
<p>More details on this issue: <a href="https://github.com/grafana/loki/issues/5123" rel="nofollow noreferrer">https://github.com/grafana/loki/issues/5123</a></p>
