• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H04-Nov-2017-4822

cmd/H04-Nov-2017-1,286975

config/H04-Nov-2017-2,7992,135

console_libraries/H04-Nov-2017-

consoles/H03-May-2022-4943

discovery/H04-Nov-2017-7,8546,248

docs/H04-Nov-2017-3,7882,836

documentation/H04-Nov-2017-2,0031,492

notifier/H04-Nov-2017-1,027794

promql/H04-Nov-2017-11,0488,800

relabel/H04-Nov-2017-541490

retrieval/H04-Nov-2017-2,8101,997

rules/H04-Nov-2017-1,293950

scripts/H04-Nov-2017-118

storage/H04-Nov-2017-18,08013,450

template/H04-Nov-2017-595494

util/H04-Nov-2017-3,4422,629

vendor/H04-Nov-2017-969,111768,967

web/H04-Nov-2017-11,29910,522

.codeclimate.ymlH A D04-Nov-2017218 1615

.dockerignoreH A D04-Nov-201747 64

.gitignoreH A D04-Nov-2017396 3127

.promu.ymlH A D04-Nov-20171.5 KiB5048

.travis.ymlH A D04-Nov-2017136 138

CHANGELOG.mdH A D04-Nov-201749.2 KiB1,001885

CONTRIBUTING.mdH A D04-Nov-20173 KiB5233

DockerfileH A D04-Nov-2017950 2016

LICENSEH A D04-Nov-201711.1 KiB202169

MAINTAINERS.mdH A D04-Nov-2017534 85

MakefileH A D04-Nov-20173.1 KiB9563

NOTICEH A D04-Nov-20172.7 KiB8869

README.mdH A D04-Nov-20174.8 KiB10975

VERSIONH A D04-Nov-20176 21

circle.ymlH A D04-Nov-20172.4 KiB6460

code-of-conduct.mdH A D04-Nov-2017155 42

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