Skip to content

Prometheus

🛠 Installation

Default Port: 9090

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/prometheus.sh)"
bash -c "$(wget -qLO - https://github.com/asylumexp/Proxmox/raw/main/ct/prometheus.sh)"

âš™ Config

Make symlinks to repo.

Traefik

homelab/pve/traefik/conf.d/prometheus.yaml
---
http:
 #region routers 
  routers:
    prometheus:
      entryPoints:
        - "websecure"
      rule: "Host(`prometheus.l.nicholaswilde.io`)"
      middlewares:
        - default-headers@file
        - https-redirectscheme@file
      tls: {}
      service: prometheus

#endregion
#region services
  services:
    prometheus:
      loadBalancer:
        servers:
          - url: "http://192.168.2.96:9090"
        passHostHeader: true
#endregion

🔗 References