NOTE
2.1 Prometheus
Prometheus collects and queries monitoring metrics. Its server obtains data from exporters or Pushgateway and stores it in a time-series database.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is Prometheus
- A metrics monitoring system.
2. Prometheus Architecture

- Prometheus Server: pulls monitoring data from Exporters or PushGateway and stores it in the TSDB for later queries.
- Exporters: provide HTTP interfaces for Prometheus Server to pull monitoring data.
- PushGateway: for short-lived tasks and similar workloads that are not suitable for continuous Prometheus scraping, monitoring data can first be pushed to PushGateway, and Prometheus Server then pulls the data from PushGateway.
- Alertmanager: alert rules are created with PromQL. If a rule is satisfied, an alert is generated, and the subsequent alert-handling process is managed by Alertmanager, for example sending email.
3. Prometheus Installation
4. References
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub