grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.96k stars 3.46k forks source link

historical data cannot be retrieved through gRPC queries. #14782

Open AkinoMush1 opened 2 weeks ago

AkinoMush1 commented 2 weeks ago

After examining the source code, it turns out that when using a non-FilesystemObjectStoreType, minDuration is applied as maxLookBack, which limits gRPC to querying only recent data. However, this restriction does not apply to HTTP requests.

Could you explain the reasoning behind this design, or suggest any methods to allow gRPC to query data from the past six months?