Open source, horizontally scalable, multi-tenant Prometheus as a service
Multi-tenant means it handles metrics from multiple independent Prometheus sources, keeping them separate.
Hosted Cortex (Prometheus as a service)
There are several commercial services where you can use Cortex on-demand:
Weave Cloud from Weaveworks lets you deploy, manage, and monitor container-based applications. Sign up at https://cloud.weave.works and follow the instructions there. Additional help can also be found in the Weave Cloud documentation.
To use Cortex as part of Grafana Cloud, sign up for GrafanaCloud by clicking "Log In" in the top right and then "Sign Up Now". Cortex is included as part of the Starter and Basic Hosted Grafana plans.
For a guide to contributing to Cortex, see the contributor guidelines.
(By default the build runs in a Docker container, using an image built
with all the tools required. The source code is mounted from where you
make into the build container as a Docker volume.)
To run the test suite:
To checkout Cortex in minikube:
kubectl create -f ./k8s
(these manifests use
latest tags, i.e. this will work if you have
just built the images and they are available on the node(s) in your
Cortex will sit behind an nginx instance exposed on port 30080. A job is deployed to scrape it itself. Try it:
dep to vendor dependencies. To fetch a new dependency, run:
To update dependencies, run
dep ensure --update
To learn more about Cortex, consult the following documents / talks:
- Original design document for Project Frankenstein
- PromCon 2016 Talk: "Project Frankenstein: Multitenant, Scale-Out Prometheus": video, slides
- KubeCon Prometheus Day talk "Weave Cortex: Multi-tenant, horizontally scalable Prometheus as a Service" slides
- CNCF TOC Presentation; "Horizontally Scalable, Multi-tenant Prometheus" slides
If you have any questions regarding Cortex:
- Ask a question on the Cortex Slack channel. To invite yourself to the CNCF Slack, visit http://slack.cncf.io/.
- File an issue.
- Send an email to email@example.com
Your feedback is always welcome.