prometheus/prometheus
Apps
The repository builds two binaries. Both share the same Go module and reuse most subsystems via internal imports.
| App | Source | What it does |
|---|---|---|
prometheus |
cmd/prometheus/ |
The main server: scrapes targets, stores samples, evaluates rules, dispatches alerts, serves the HTTP API and UI. Runs in either server mode or agent mode. |
promtool |
cmd/promtool/ |
Operator/developer CLI for config validation, querying a remote server, debugging and benchmarking the TSDB, importing metrics, and running rule unit tests. |
Both binaries are entry points for the github.com/prometheus/prometheus Go module — they use the libraries documented in Subsystems and the cross-cutting Features.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.