光轨资源网 / 开源项目
prometheus/prometheus
Prometheus监控系统和时间序列数据库。
可以做什么
安装Prometheus的方法多种多样。
怎么部署
Install
There are various ways to install Prometheus.
Precompiled binaries
Precompiled binaries for released versions are available in the
on prometheus.io. Using the latest production release binary
is the recommended way to install Prometheus.
See the Installing
chapter in the documentation for all the details.
Docker images
Docker images are available on Quay.io or Docker Hub.
You can launch a Prometheus container for trying it out with
docker run --name prometheus -d -p 127.0.0.1:9090:9090 prom/prometheus
Prometheus will now be reachable at <http://localhost:9090/>.
Building from source
To build Prometheus from source code, you need:
- Go: Version specified in [go.mod](./go.mod) or greater.
- NodeJS: Version specified in [.nvmrc](./web/ui/.nvmrc) or greater.
- npm: Version 10 or greater (check with
npm --versionand here).
Start by cloning the repository:
git clone https://github.com/prometheus/prometheus.git
cd prometheus
You can use the go tool to build and install the prometheus
and promtool binaries into your GOPATH:
go install github.com/prometheus/prometheus/cmd/...
prometheus --config.file=your_config.yml
*However*, when using go install to build Prometheus, Prometheus will expect to be able to
read its web assets from local filesystem directories under `
项目信息
项目地址:https://github.com/prometheus/prometheus
语言:Go
Star 数:67381(2026-11-07 采集)
原文简介(English)
The Prometheus monitoring system and time series database.
本站资源用于学习与开发参考,请遵守对应授权协议。