GithubHelp home page GithubHelp logo

alexxnica / cortex Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cortexproject/cortex

0.0 0.0 0.0 77.31 MB

A multitenant, horizontally scalable Prometheus as a Service

License: Apache License 2.0

Makefile 0.71% Python 0.08% Shell 0.23% Go 98.98%

cortex's Introduction

Weave Cortex Logo

Open source, horizontally scalable Prometheus as a service

Circle CI GoDoc Slack Status

Cortex is a Weaveworks project that forms the monitoring backend of Weave Cloud.

It provides horizontally scalable, long term storage for Prometheus metrics when used as a remote write destination, and a horizontally scalable, Prometheus-compatible query API.

To use Cortex, sign up for Weave Cloud and follow the instructions there.

Additional help can also be found in the Weave Cloud documentation:

Developing

To build & test, install minikube, and run:

eval $(minikube docker-env)
make
kubectl create -f ./k8s

Cortex will sit behind an nginx instance exposed on port 30080. A job is deployed to scrape it itself. Try it:

http://192.168.99.100:30080/api/prom/api/v1/query?query=up

Experimental Bazel builds

We also have early support for Bazel builds. Once you have installed bazel, try these commands:

make bazel-test
make bazel

This will require Bazel 0.5.4 or later.

Bazel can be useful for running fast, local, incremental builds and tests. Currently bazel does not support cross-compiling so it is not used to produce the final binaries and docker container images.

Vendoring

We use dep to vendor dependencies. To fetch a new dependency, run:

make update-vendor

To update dependencies, run

dep ensure --update && make update-vendor

Further reading

To learn more about Cortex, consult the following documents / talks:

Getting Help

If you have any questions regarding Cortex, or on using Prometheus with Weave Cloud:

Your feedback is always welcome.

cortex's People

Contributors

aaron7 avatar abuehrle avatar awh avatar bboreham avatar bwplotka avatar davkal avatar dlespiau avatar ekimekim avatar jml avatar jpellizzari avatar juliusv avatar lelenanam avatar leth avatar lukemarsden avatar marccarre avatar mbrukman avatar meccanorak avatar mjlodge avatar paulbellamy avatar rbruggem avatar rndstr avatar tomwilkie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.