{"id":19826683,"url":"https://github.com/ssbostan/prometheus-multi-tenant-proxy-server","last_synced_at":"2026-03-08T20:33:11.028Z","repository":{"id":102994694,"uuid":"593272269","full_name":"ssbostan/prometheus-multi-tenant-proxy-server","owner":"ssbostan","description":"Multi-tenant reverse proxy for Prometheus server","archived":false,"fork":false,"pushed_at":"2023-07-06T22:01:46.000Z","size":334,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-30T16:03:10.009Z","etag":null,"topics":["cloud","cluster","devops","kubernetes","monitoring","multitenancy","prometheus","security"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ssbostan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-25T16:25:15.000Z","updated_at":"2024-05-21T08:25:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3c1d1cc-a18f-4c2d-a759-9b3870bbcd47","html_url":"https://github.com/ssbostan/prometheus-multi-tenant-proxy-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssbostan%2Fprometheus-multi-tenant-proxy-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssbostan%2Fprometheus-multi-tenant-proxy-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssbostan%2Fprometheus-multi-tenant-proxy-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssbostan%2Fprometheus-multi-tenant-proxy-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssbostan","download_url":"https://codeload.github.com/ssbostan/prometheus-multi-tenant-proxy-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251890046,"owners_count":21660436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud","cluster","devops","kubernetes","monitoring","multitenancy","prometheus","security"],"created_at":"2024-11-12T11:11:15.956Z","updated_at":"2026-03-08T20:33:06.007Z","avatar_url":"https://github.com/ssbostan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-multi-tenant-proxy-server\n\nTiny reverse proxy server to make Prometheus multi-tenant. This reverse proxy provides a little Authentication/Authorization layer on top of Prometheus and injects the target label into all user queries.\n\n## Where we need this project?\n\n  - Where you need Authentication/Authorization for Prometheus.\n  - Where you need to restrict users to be able to access a set of metrics.\n  - Where you need to implement Multi-tenancy based on specific metric labels.\n  - Where you need a proxy to check what the user does in your system.\n\n## Architecture:\n\nHere is the big picture of the architecture to monitor Kubernetes cluster in a multi-tenant model.\n\n![prometheus-multi-tenant-proxy-server](diagram.png)\n\n## Get started guide:\n\nYou can deploy `prometheus-multi-tenant-proxy-server` anywhere. However, we prepared several Kubernetes resources - Helm chart and Kustomize files - to help you quickly deploy this project into Kubernetes.\n\nTo create a proper config, see examples under the `examples` directory.\n\n#### Helm chart installation:\n\n```bash\nhelm install prometheus-multi-tenant-proxy-server \\\n  ./deployments/chart/ \\\n  -n prometheus \\\n  --create-namespace \\\n  -f YOURVALUES.yaml\n```\n\n#### Kustomize installation:\n\n```bash\nkubectl apply -k deployments/kustomize\n```\n\n#### Docker installation:\n\n```bash\ndocker run --name prometheus-multi-tenant-proxy-server -d -p 9999:9999 \\\n  -v /path/to/your/config.yaml:/opt/config/config.yaml \\\n  ssbostan/prometheus-multi-tenant-proxy-server:latest\n```\n\n## Related materials:\n\n  - [Introduction and Quick demo, Cloud Native London, April 2023](https://www.youtube.com/live/SAF1OC5SpnY?feature=share\u0026t=2490)\n\nCopyright 2023 Saeid Bostandoust \u003cssbostan@yahoo.com\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssbostan%2Fprometheus-multi-tenant-proxy-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssbostan%2Fprometheus-multi-tenant-proxy-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssbostan%2Fprometheus-multi-tenant-proxy-server/lists"}