More Latency in Series typequery in Loki

Hi,

When we query for more duration ~ 30days, we are seeing more latency ~ 30-60s,

I see,

total_entries of series is around 2.8L

Can anyone suggest, how do we optimise this performance via cacheing,
Please attach ref docs,

thanks,

What version of Grafana are you running?
If you upgrade to grafana 11.5 or greater, Loki switched to use the labels API to fetch variables in the query editors, which should be much faster.

Hi @galenkistler ,
we are running grafana with version 11.4,

thanks,