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

..03-May-2022-

.circleci/H15-Jan-2019-124113

.github/H15-Jan-2019-5626

cmd/H15-Jan-2019-2,3531,810

config/H15-Jan-2019-2,3161,820

console_libraries/H15-Jan-2019-

consoles/H03-May-2022-2923

discovery/H15-Jan-2019-12,1569,915

docs/H15-Jan-2019-4,5273,405

documentation/H15-Jan-2019-3,0292,294

notifier/H15-Jan-2019-1,224924

pkg/H15-Jan-2019-5,1324,027

prompb/H15-Jan-2019-3,8023,475

promql/H15-Jan-2019-12,0479,544

relabel/H15-Jan-2019-538488

rules/H15-Jan-2019-2,5531,930

scrape/H15-Jan-2019-4,1862,752

scripts/H15-Jan-2019-7054

storage/H15-Jan-2019-4,6133,448

template/H15-Jan-2019-644535

util/H15-Jan-2019-2,5671,879

vendor/H03-May-2022-1,009,429749,079

web/H15-Jan-2019-13,06712,051

.dockerignoreH A D15-Jan-201947 64

.gitignoreH A D15-Jan-2019370 2421

.promu.ymlH A D15-Jan-20191.5 KiB5553

.travis.ymlH A D15-Jan-2019291 1510

CHANGELOG.mdH A D15-Jan-201965.4 KiB1,2671,118

CONTRIBUTING.mdH A D15-Jan-20194.1 KiB8251

DockerfileH A D15-Jan-2019846 2016

LICENSEH A D15-Jan-201911.1 KiB202169

MAINTAINERS.mdH A D15-Jan-2019434 74

MakefileH A D15-Jan-20191.8 KiB4525

Makefile.commonH A D15-Jan-20197 KiB227160

NOTICEH A D15-Jan-20192.7 KiB8869

README.mdH A D15-Jan-20194.6 KiB10672

RELEASE.mdH A D15-Jan-20197 KiB10159

VERSIONH A D15-Jan-20196 21

code-of-conduct.mdH A D15-Jan-2019155 42

go.modH A D15-Jan-20197.8 KiB133130

go.sumH A D15-Jan-201930 KiB298297

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[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/486/badge)](https://bestpractices.coreinfrastructure.org/projects/486)
8
9Visit [prometheus.io](https://prometheus.io) for the full documentation,
10examples and guides.
11
12Prometheus, a [Cloud Native Computing Foundation](https://cncf.io/) project, is a systems and service monitoring system. It collects metrics
13from configured targets at given intervals, evaluates rule expressions,
14displays the results, and can trigger alerts if some condition is observed
15to be true.
16
17Prometheus' main distinguishing features as compared to other monitoring systems are:
18
19- a **multi-dimensional** data model (timeseries defined by metric name and set of key/value dimensions)
20- a **flexible query language** to leverage this dimensionality
21- no dependency on distributed storage; **single server nodes are autonomous**
22- timeseries collection happens via a **pull model** over HTTP
23- **pushing timeseries** is supported via an intermediary gateway
24- targets are discovered via **service discovery** or **static configuration**
25- multiple modes of **graphing and dashboarding support**
26- support for hierarchical and horizontal **federation**
27
28## Architecture overview
29
30![](https://cdn.jsdelivr.net/gh/prometheus/prometheus@c34257d069c630685da35bcef084632ffd5d6209/documentation/images/architecture.svg)
31
32## Install
33
34There are various ways of installing Prometheus.
35
36### Precompiled binaries
37
38Precompiled binaries for released versions are available in the
39[*download* section](https://prometheus.io/download/)
40on [prometheus.io](https://prometheus.io). Using the latest production release binary
41is the recommended way of installing Prometheus.
42See the [Installing](https://prometheus.io/docs/introduction/install/)
43chapter in the documentation for all the details.
44
45Debian packages [are available](https://packages.debian.org/sid/net/prometheus).
46
47### Docker images
48
49Docker images are available on [Quay.io](https://quay.io/repository/prometheus/prometheus) or [Docker Hub](https://hub.docker.com/r/prom/prometheus/).
50
51You can launch a Prometheus container for trying it out with
52
53    $ docker run --name prometheus -d -p 127.0.0.1:9090:9090 prom/prometheus
54
55Prometheus will now be reachable at http://localhost:9090/.
56
57### Building from source
58
59To build Prometheus from the source code yourself you need to have a working
60Go environment with [version 1.11 or greater installed](http://golang.org/doc/install).
61
62You can directly use the `go` tool to download and install the `prometheus`
63and `promtool` binaries into your `GOPATH`:
64
65    $ go get github.com/prometheus/prometheus/cmd/...
66    $ prometheus --config.file=your_config.yml
67
68You can also clone the repository yourself and build using `make`:
69
70    $ mkdir -p $GOPATH/src/github.com/prometheus
71    $ cd $GOPATH/src/github.com/prometheus
72    $ git clone https://github.com/prometheus/prometheus.git
73    $ cd prometheus
74    $ make build
75    $ ./prometheus --config.file=your_config.yml
76
77The Makefile provides several targets:
78
79  * *build*: build the `prometheus` and `promtool` binaries
80  * *test*: run the tests
81  * *test-short*: run the short tests
82  * *format*: format the source code
83  * *vet*: check the source code for common errors
84  * *assets*: rebuild the static assets
85  * *docker*: build a docker container for the current `HEAD`
86
87## More information
88
89  * The source code is periodically indexed: [Prometheus Core](http://godoc.org/github.com/prometheus/prometheus).
90  * You will find a Travis CI configuration in `.travis.yml`.
91  * See the [Community page](https://prometheus.io/community) for how to reach the Prometheus developers and users on various communication channels.
92
93## Contributing
94
95Refer to [CONTRIBUTING.md](https://github.com/prometheus/prometheus/blob/master/CONTRIBUTING.md)
96
97## License
98
99Apache License 2.0, see [LICENSE](https://github.com/prometheus/prometheus/blob/master/LICENSE).
100
101
102[travis]: https://travis-ci.org/prometheus/prometheus
103[hub]: https://hub.docker.com/r/prom/prometheus/
104[circleci]: https://circleci.com/gh/prometheus/prometheus
105[quay]: https://quay.io/repository/prometheus/prometheus
106