qryn icon indicating copy to clipboard operation
qryn copied to clipboard

Feature: Add support for tenants

Open mr-karan opened this issue 2 years ago • 5 comments

Would it be possible to add Multi-Tenancy support similar to https://grafana.com/docs/loki/latest/operations/multi-tenancy/ ?

The way I am thinking for this to work is:

  • Get the X-Org-ID header from request
  • Insert the logs to cloki_<tenant>.* tables (one db/tenant)

Loki actually uses a common Index store for all tenants, but chunk store is separated. We could follow the same or IMHO, a separate DB per tenant would provide more isolation.

mr-karan avatar Nov 30 '21 13:11 mr-karan

Hi @mr-karan this is not currently in scope yet, but will surely become an item in the future as we stabilize core features

lmangani avatar Nov 30 '21 13:11 lmangani

Hi @lmangani @akvlad - any news on this? That would be relly useful for use.

bzed avatar May 12 '23 08:05 bzed

Hello @bzed we currently offer multitenancy (as well as full promql support, faster performance, and other features) on https://qryn.cloud and on-prem deployments powered by qryn-go, which will be released once we secure funding the project development short of any sponsors jumping in.

lmangani avatar May 12 '23 08:05 lmangani

@lmangani cloud is for various reasons absolutely not an option for us. Could you give us some details about funding and in which state the project is?

bzed avatar Jun 27 '23 07:06 bzed

@bzed thanks for asking - we're getting there! We're redesigning qryn-js to be fully based on OTEL collector and once that's one, partitioning is back on the table. Until then Id you'd like to support the project PM me, you can also license and run qryn.cloud on prem w/ full featured partitioning

lmangani avatar Jun 27 '23 07:06 lmangani