Favicon of Prometheus

Prometheus

Monitor cloud-native systems with a dimensional data model and flexible query language. Collect, store, and query metrics for powerful alerting and dashboards.

Gain deep insights into your applications and infrastructure with this powerful open-source monitoring system. Built for the reliability and dynamism of cloud-native environments, it provides a complete solution for collecting, storing, and querying time-series data.

Its core strength lies in its dimensional data model, allowing you to attach arbitrary key-value pairs to any time series. This data can be explored using a flexible query language (PromQL), enabling you to slice and dice metrics for detailed analysis, dashboarding, and alerting. Designed for modern infrastructure, it integrates seamlessly with service discovery mechanisms, including Kubernetes, to automatically find and monitor new targets.

Key capabilities include:

  • Multi-dimensional data collection via a pull model over HTTP.
  • An efficient time-series database for rapid data storage and retrieval.
  • A powerful query language for complex analysis.
  • A modern alerting system with support for various notification channels.

As a graduated project of the Cloud Native Computing Foundation (CNCF), it is a trusted, community-driven tool for robust system observability.

Directory Structure

prometheus
prometheus-data
.env
docker-compose.yml
prometheus.yml

docker-compose.yml

services:
  prometheus:
    image: prom/prometheus:latest
    container_name: prometheus
    ports:
      - "9090:9090"
    volumes:
      - ./prometheus.yml:/etc/prometheus/prometheus.yml
      - ./prometheus-data:/prometheus
    command:
      - '--config.file=/etc/prometheus/prometheus.yml'
      - '--storage.tsdb.path=/prometheus'
      - '--web.console.libraries=/usr/share/prometheus/console_libraries'
      - '--web.console.templates=/usr/share/prometheus/consoles'
    restart: unless-stopped

.env

# No sensitive environment variables are required for a basic Prometheus setup.
# If you configure external integrations or basic authentication later, add those secrets here.

Share:

Ad
Favicon

 

  
 

Similar to Prometheus

Favicon

 

  
  
Favicon

 

  
  
Favicon