Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.circleci/ | H | 15-Jan-2019 | - | 124 | 113 | |
.github/ | H | 15-Jan-2019 | - | 56 | 26 | |
cmd/ | H | 15-Jan-2019 | - | 2,353 | 1,810 | |
config/ | H | 15-Jan-2019 | - | 2,316 | 1,820 | |
console_libraries/ | H | 15-Jan-2019 | - | |||
consoles/ | H | 03-May-2022 | - | 29 | 23 | |
discovery/ | H | 15-Jan-2019 | - | 12,156 | 9,915 | |
docs/ | H | 15-Jan-2019 | - | 4,527 | 3,405 | |
documentation/ | H | 15-Jan-2019 | - | 3,029 | 2,294 | |
notifier/ | H | 15-Jan-2019 | - | 1,224 | 924 | |
pkg/ | H | 15-Jan-2019 | - | 5,132 | 4,027 | |
prompb/ | H | 15-Jan-2019 | - | 3,802 | 3,475 | |
promql/ | H | 15-Jan-2019 | - | 12,047 | 9,544 | |
relabel/ | H | 15-Jan-2019 | - | 538 | 488 | |
rules/ | H | 15-Jan-2019 | - | 2,553 | 1,930 | |
scrape/ | H | 15-Jan-2019 | - | 4,186 | 2,752 | |
scripts/ | H | 15-Jan-2019 | - | 70 | 54 | |
storage/ | H | 15-Jan-2019 | - | 4,613 | 3,448 | |
template/ | H | 15-Jan-2019 | - | 644 | 535 | |
util/ | H | 15-Jan-2019 | - | 2,567 | 1,879 | |
vendor/ | H | 03-May-2022 | - | 1,009,429 | 749,079 | |
web/ | H | 15-Jan-2019 | - | 13,067 | 12,051 | |
.dockerignore | H A D | 15-Jan-2019 | 47 | 6 | 4 | |
.gitignore | H A D | 15-Jan-2019 | 370 | 24 | 21 | |
.promu.yml | H A D | 15-Jan-2019 | 1.5 KiB | 55 | 53 | |
.travis.yml | H A D | 15-Jan-2019 | 291 | 15 | 10 | |
CHANGELOG.md | H A D | 15-Jan-2019 | 65.4 KiB | 1,267 | 1,118 | |
CONTRIBUTING.md | H A D | 15-Jan-2019 | 4.1 KiB | 82 | 51 | |
Dockerfile | H A D | 15-Jan-2019 | 846 | 20 | 16 | |
LICENSE | H A D | 15-Jan-2019 | 11.1 KiB | 202 | 169 | |
MAINTAINERS.md | H A D | 15-Jan-2019 | 434 | 7 | 4 | |
Makefile | H A D | 15-Jan-2019 | 1.8 KiB | 45 | 25 | |
Makefile.common | H A D | 15-Jan-2019 | 7 KiB | 227 | 160 | |
NOTICE | H A D | 15-Jan-2019 | 2.7 KiB | 88 | 69 | |
README.md | H A D | 15-Jan-2019 | 4.6 KiB | 106 | 72 | |
RELEASE.md | H A D | 15-Jan-2019 | 7 KiB | 101 | 59 | |
VERSION | H A D | 15-Jan-2019 | 6 | 2 | 1 | |
code-of-conduct.md | H A D | 15-Jan-2019 | 155 | 4 | 2 | |
go.mod | H A D | 15-Jan-2019 | 7.8 KiB | 133 | 130 | |
go.sum | H A D | 15-Jan-2019 | 30 KiB | 298 | 297 |
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