Skip to content

Multi-tenancy documentation #1517

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pspiller opened this issue Jul 18, 2019 · 3 comments
Closed

Multi-tenancy documentation #1517

pspiller opened this issue Jul 18, 2019 · 3 comments

Comments

@pspiller
Copy link

I'm interested in using Cortex to add multi-tenancy to Prometheus. I wasn't able to find much information on how to set this up in the docs, though. There was a mention of setting the X-Scope-OrgID header on samples written to Cortex, but not much more. Is there an example of a multi-tenant setup anywhere that I could look at?

Related to this: how easy would it be to only use the multi-tenancy feature of Cortex? I don't currently need the other features (long-term storage, HA, etc), but I do need to prevent multiple users from seeing each other's data.

Thanks in advance for any help.

@weeco
Copy link
Contributor

weeco commented Jul 18, 2019

Pass this header along to set the tenant ID - for querying and writing. This way you can encapsulate data between tenants. You may want to build your own gateway in front of it. I put a little documentation about it on here: https://github.com/cloudworkz/cortex-ops

More documentation will follow

@weeco
Copy link
Contributor

weeco commented Aug 8, 2019

Will be resolved by #1553

@gouthamve
Copy link
Contributor

Closed by #1553

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants