Thanks a lot !
I used Minio and I can now connect grafana to my loki “scalable”.
The problem I face now is I do not figure how to use a query-frontend on top of the readers.
Note that I started from : DylanGuedes/ssd-playground (github.com)
From my previous config, I added :
frontend_worker:
frontend_address: loki-read1:3100
frontend:
log_queries_longer_than: 1h
max_outstanding_per_tenant: 2048
# downstream_url: http://loki-frontend:3100 (if set, infinite query redirection)
compress_responses: true
And in Grafana, I try to connect to : http://loki-frontend:3100
Request is received and it tries to resolve it (loki-frontend logs):
level=debug ts=2023-04-14T09:37:07.4250215Z caller=logging.go:76 traceID=4754b110e6f4d34a orgID=fake msg="GET /loki/api/v1/labels?start=1681464397381000000&end=1681464997381000000 (499) 29.9996057s"
In queriers :
level=error ts=2023-04-14T10:04:03.2266616Z caller=frontend_processor.go:63 msg="error contacting frontend" address=192.168.160.6:3100 err="rpc error: code = Unavailable desc = connection error: desc = \"error reading server preface: http2: frame too large\""
But “context is canceled” after the 30s default timeout.
I’m sorry, I am quite new on this subject, but single instance Loki is becoming too slow for us. Thanks for your help again.