Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upsupporting multi-tenancy #1813
Comments
This comment has been minimized.
This comment has been minimized.
|
Different companies are interested in that and there's some ongoing explorative work: https://docs.google.com/document/d/1C7yhMnb1x2sfeoe45f4mnnKConvroWhJ8KQZwIHJOuw/edit# The current working approach seems to be to attach a |
This comment has been minimized.
This comment has been minimized.
|
Good to see there is something on-going! However, labeling user="x" is not working in a sophisticated system where resources can be shared to other tenancies. This is why we do filtering instead of labeling metrics. |
This comment has been minimized.
This comment has been minimized.
|
I see that it can get more complex but cannot immediately see for which cases filtering the result provides something that cannot be implemented with a similar rule set on pre-processing queries. |
This comment has been minimized.
This comment has been minimized.
|
Let's say the user A has a service with metrics labeled with user='A'; after a while, he transfers the service to the user B, how should I re-label the service's metric from user='A' to user='B'? |
This comment has been minimized.
This comment has been minimized.
|
Ah, got it. I suppose you could check the query selections beforehand anyway. But filtering the result might be easier, especially as regex queries along the |
This comment has been minimized.
This comment has been minimized.
|
I planned to check query selections originally but found it's not easy with Prometheus's query DSL. |
This comment has been minimized.
This comment has been minimized.
|
Is there any DSL spec for Prometheus? |
This comment has been minimized.
This comment has been minimized.
|
Not really. It was changing a fair bit in the past but now we could On Thu, Jul 14, 2016 at 5:12 PM zxwing notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
|
Got it! Thanks a lot! |
brian-brazil
added
the
kind/question
label
Jul 16, 2016
This comment has been minimized.
This comment has been minimized.
|
it's answered, close it |
zxwing
closed this
Sep 21, 2016
This comment has been minimized.
This comment has been minimized.
yasongxu
commented
Sep 28, 2018
|
some project is open cortex |
zxwing commentedJul 14, 2016
Is there any plan to support multi-tenancy in Prometheus? Making users in a public cloud only see monitoring data belonging to them. Frankly speaking, I don't know how a multi-tenancy monitoring system looks like or if there is anything existing. Now we retrieve all data users ask and do a post-process filtering out data users not supposed to see, it works but inefficient.