Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 04-Nov-2017 | - | |||
cmd/ | H | 04-Nov-2017 | - | |||
config/ | H | 04-Nov-2017 | - | |||
console_libraries/ | H | 04-Nov-2017 | - | |||
consoles/ | H | 03-May-2022 | - | |||
discovery/ | H | 04-Nov-2017 | - | |||
docs/ | H | 04-Nov-2017 | - | |||
documentation/ | H | 04-Nov-2017 | - | |||
notifier/ | H | 04-Nov-2017 | - | |||
promql/ | H | 04-Nov-2017 | - | |||
relabel/ | H | 04-Nov-2017 | - | |||
retrieval/ | H | 04-Nov-2017 | - | |||
rules/ | H | 04-Nov-2017 | - | |||
scripts/ | H | 04-Nov-2017 | - | |||
storage/ | H | 04-Nov-2017 | - | |||
template/ | H | 04-Nov-2017 | - | |||
util/ | H | 04-Nov-2017 | - | |||
vendor/ | H | 04-Nov-2017 | - | |||
web/ | H | 04-Nov-2017 | - | |||
.codeclimate.yml | H A D | 04-Nov-2017 | 218 | |||
.dockerignore | H A D | 04-Nov-2017 | 47 | |||
.gitignore | H A D | 04-Nov-2017 | 396 | |||
.promu.yml | H A D | 04-Nov-2017 | 1.5 KiB | |||
.travis.yml | H A D | 04-Nov-2017 | 136 | |||
CHANGELOG.md | H A D | 04-Nov-2017 | 49.2 KiB | |||
CONTRIBUTING.md | H A D | 04-Nov-2017 | 3 KiB | |||
Dockerfile | H A D | 04-Nov-2017 | 950 | |||
LICENSE | H A D | 04-Nov-2017 | 11.1 KiB | |||
MAINTAINERS.md | H A D | 04-Nov-2017 | 534 | |||
Makefile | H A D | 04-Nov-2017 | 3.1 KiB | |||
NOTICE | H A D | 04-Nov-2017 | 2.7 KiB | |||
README.md | H A D | 04-Nov-2017 | 4.8 KiB | |||
VERSION | H A D | 04-Nov-2017 | 6 | |||
circle.yml | H A D | 04-Nov-2017 | 2.4 KiB | |||
code-of-conduct.md | H A D | 04-Nov-2017 | 155 |
README.md
1# Prometheus [![Build Status](https://travis-ci.org/prometheus/prometheus.svg)][travis] 2 3[![CircleCI](https://circleci.com/gh/prometheus/prometheus/tree/master.svg?style=shield)][circleci] 4[![Docker Repository on Quay](https://quay.io/repository/prometheus/prometheus/status)][quay] 5[![Docker Pulls](https://img.shields.io/docker/pulls/prom/prometheus.svg?maxAge=604800)][hub] 6[![Go Report Card](https://goreportcard.com/badge/github.com/prometheus/prometheus)](https://goreportcard.com/report/github.com/prometheus/prometheus) 7[![Code Climate](https://codeclimate.com/github/prometheus/prometheus/badges/gpa.svg)](https://codeclimate.com/github/prometheus/prometheus) 8[![Issue Count](https://codeclimate.com/github/prometheus/prometheus/badges/issue_count.svg)](https://codeclimate.com/github/prometheus/prometheus) 9 10Visit [prometheus.io](https://prometheus.io) for the full documentation, 11examples and guides. 12 13Prometheus, a [Cloud Native Computing Foundation](https://cncf.io/) project, is a systems and service monitoring system. It collects metrics 14from configured targets at given intervals, evaluates rule expressions, 15displays the results, and can trigger alerts if some condition is observed 16to be true. 17 18Prometheus' main distinguishing features as compared to other monitoring systems are: 19 20- a **multi-dimensional** data model (timeseries defined by metric name and set of key/value dimensions) 21- a **flexible query language** to leverage this dimensionality 22- no dependency on distributed storage; **single server nodes are autonomous** 23- timeseries collection happens via a **pull model** over HTTP 24- **pushing timeseries** is supported via an intermediary gateway 25- targets are discovered via **service discovery** or **static configuration** 26- multiple modes of **graphing and dashboarding support** 27- support for hierarchical and horizontal **federation** 28 29## Architecture overview 30 31![](https://cdn.rawgit.com/prometheus/prometheus/c34257d069c630685da35bcef084632ffd5d6209/documentation/images/architecture.svg) 32 33## Install 34 35There are various ways of installing Prometheus. 36 37### Precompiled binaries 38 39Precompiled binaries for released versions are available in the 40[*download* section](https://prometheus.io/download/) 41on [prometheus.io](https://prometheus.io). Using the latest production release binary 42is the recommended way of installing Prometheus. 43See the [Installing](https://prometheus.io/docs/introduction/install/) 44chapter in the documentation for all the details. 45 46Debian packages [are available](https://packages.debian.org/sid/net/prometheus). 47 48### Docker images 49 50Docker images are available on [Quay.io](https://quay.io/repository/prometheus/prometheus). 51 52You can launch a Prometheus container for trying it out with 53 54 $ docker run --name prometheus -d -p 127.0.0.1:9090:9090 quay.io/prometheus/prometheus 55 56Prometheus will now be reachable at http://localhost:9090/. 57 58### Building from source 59 60To build Prometheus from the source code yourself you need to have a working 61Go environment with [version 1.8 or greater installed](http://golang.org/doc/install). 62 63You can directly use the `go` tool to download and install the `prometheus` 64and `promtool` binaries into your `GOPATH`. We use Go 1.5's experimental 65vendoring feature, so you will also need to set the `GO15VENDOREXPERIMENT=1` 66environment variable in this case: 67 68 $ GO15VENDOREXPERIMENT=1 go get github.com/prometheus/prometheus/cmd/... 69 $ prometheus -config.file=your_config.yml 70 71You can also clone the repository yourself and build using `make`: 72 73 $ mkdir -p $GOPATH/src/github.com/prometheus 74 $ cd $GOPATH/src/github.com/prometheus 75 $ git clone https://github.com/prometheus/prometheus.git 76 $ cd prometheus 77 $ make build 78 $ ./prometheus -config.file=your_config.yml 79 80The Makefile provides several targets: 81 82 * *build*: build the `prometheus` and `promtool` binaries 83 * *test*: run the tests 84 * *test-short*: run the short tests 85 * *format*: format the source code 86 * *vet*: check the source code for common errors 87 * *assets*: rebuild the static assets 88 * *docker*: build a docker container for the current `HEAD` 89 90## More information 91 92 * The source code is periodically indexed: [Prometheus Core](http://godoc.org/github.com/prometheus/prometheus). 93 * You will find a Travis CI configuration in `.travis.yml`. 94 * See the [Community page](https://prometheus.io/community) for how to reach the Prometheus developers and users on various communication channels. 95 96## Contributing 97 98Refer to [CONTRIBUTING.md](https://github.com/prometheus/prometheus/blob/master/CONTRIBUTING.md) 99 100## License 101 102Apache License 2.0, see [LICENSE](https://github.com/prometheus/prometheus/blob/master/LICENSE). 103 104 105[travis]: https://travis-ci.org/prometheus/prometheus 106[hub]: https://hub.docker.com/r/prom/prometheus/ 107[circleci]: https://circleci.com/gh/prometheus/prometheus 108[quay]: https://quay.io/repository/prometheus/prometheus 109