grafana报错too many outstanding requests

发布时间 2023-08-15 17:29:56作者: 南风丶轻语

grafana报错too many outstanding requests

1、问题描述

当grafana使用loki作为数据源查询数据时,面板报错too many outstanding requests

loki的版本是2.8.0

image-20230815171237469

报错截图image-20230815171404612

2、解决办法

loki的配置文件中添加下面这两行

query_scheduler:
  max_outstanding_requests_per_tenant: 10000

官网参数说明

image-20230815171644089

解决办法来自于

image-20230815172106057

另一个链接也看了看

image-20230815172209751