Prometheus Monitoring (original) (raw)

Last Updated : 30 Apr, 2026

Prometheus is an open-source monitoring tool designed to capture and process numeric time-series data with associated metrics, labels, and timestamps.

Need of Prometheus

Traditional monitoring tools often struggle to keep up with modern, dynamic infrastructures powered by microservices and containers.

Prometheus solves this challenge by offering:

Core Components

Architecture

  1. **Metric Collection & Pull Model: Prometheus server actively pulls metrics from targets (short-lived jobs via Pushgateway, long-lived exporters, and Node) using a pull-based architecture rather than waiting for data to be pushed to it.
  2. **Service Discovery: Prometheus automatically discovers targets through Kubernetes and file_sd (file-based service discovery), enabling dynamic monitoring without manual configuration updates.
  3. **Time-Series Database & Storage: The Prometheus server stores collected metrics in its built-in TSDB (time-series database) on disk (HDFS/HDD), providing efficient storage and querying of historical data.
  4. **Alert Generation & Management: Prometheus evaluates rules and triggers alerts through Alertmanager, which handles routing, grouping, and notification delivery to multiple channels (Email, Slack, etc.).
  5. **Multi-Interface Data Access: Metrics are exposed through HTTP API, PromQL queries, and the web UI, allowing flexible data retrieval and visualization alongside integration with external tools.
  6. **Ecosystem Integration: Prometheus data feeds into Grafana for visualization, external API clients, and other monitoring systems, creating a complete observability platform with pagerduty integration for incident management.

what-is-prometheus-monitoring

Prometheus Architecture

Metrics Type of Prometheus

  1. **Counter: One of the maximum basic metric kinds is the counter. It is helpful for keeping track of and comparing values which might be only going to upward push. You can reset the value to zero and take some other dimension once it reaches a specific fee.
  2. **Gauge: The Values that upward thrust and fall are measured by gauge metrics. This includes the amount of concurrent requests or the reminiscence utilization in the interim. Usually, the metric is represented by way of an unmarried numerical cost.
  3. **Summary: The Following sampling observations, the summary displays the entire quantity of observations and the sum of determined values. Additionally, it determines variable quantiles over a sliding time window.
  4. **Histogram: They are used to symbolize records inclusive of response times, sample sizes, and related observations. While histogram quantiles may be computed server aspect, quantiles for summaries are computed patron-aspect. Choose the statistical metric type that makes experience for your software due to the fact both strategies have exchange-offs.

Prometheus Working

Prometheus Kubernetes Monitoring

Key Features

Advantages

Limitations