How to list all tenants in Loki ?

23 views
Skip to first unread message

Cyril Duval

unread,
Jul 18, 2024, 5:51:37 AM7/18/24
to lokiproject
Hello !

I'm using Loki in multi tenancy, but I'm not sure which tenants were used. Is there a way to list all tenants used ?

regards

Cyril Tovena

unread,
Jul 31, 2024, 7:51:05 AM7/31/24
to Cyril Duval, lokiproject
Sorry for the late reply.

I you collect Prometheus metrics you can use this query on your Prometheus  sum by (tenant)(loki_ingester_memory_streams{})

You can also check the bucket there will be a folder per tenant.


--
You received this message because you are subscribed to the Google Groups "lokiproject" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lokiproject...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lokiproject/9d38f855-fce8-40bf-8551-cd35e59327e9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages