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:
As a graduated project of the Cloud Native Computing Foundation (CNCF), it is a trusted, community-driven tool for robust system observability.
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# No sensitive environment variables are required for a basic Prometheus setup.
# If you configure external integrations or basic authentication later, add those secrets here.Auto-fetched 24 minutes ago
Auto-fetched 24 minutes ago