System Requirements

  • ⚙️ OS: Linux, macOS, or Windows (with WSL2 support)
  • 📦 Dependencies: Go 1.18+ (for building from source), Docker (optional)
  • 🧠 Storage: 500MB+ available space for binaries and data

Installation Steps

  1. 📦 Download Prometheus from official releases
  2. 📁 Extract the archive: tar -xzf prometheus-*.tar.gz
  3. 📝 Configure prometheus.yml for scrape targets
    • Example: Add scrape_configs for your services
  4. 🚀 Start Prometheus service:
    ./prometheus --config.file=prometheus.yml
    
  5. 🧪 Verify installation:

Monitoring Setup

  • 📈 Add Grafana dashboard for visualization (link: /Documentation/en/Tools/Grafana)
  • 🔄 Enable remote write for data persistence
  • 🛡️ Set up authentication via Basic Auth or TLS
Prometheus Install Flow

Best Practices

  • 📁 Store config files in /etc/prometheus
  • 🧠 Use --web.enable-lifecycle for graceful restarts
  • 📈 Monitor system metrics first (CPU, memory, disk)

For advanced configuration options, check our complete documentation. 📚