👌 IMPROVE: Fix Prometheus reload URL to use the correct port

This commit is contained in:
2025-05-19 10:18:03 +00:00
parent 43ba5e60b7
commit 38a2439b98

View File

@@ -10,7 +10,7 @@ load_dotenv()
# 🔑 Load Hetzner API Token & Prometheus URL # 🔑 Load Hetzner API Token & Prometheus URL
HETZNER_API_TOKEN = os.getenv("HETZNER_API_TOKEN") HETZNER_API_TOKEN = os.getenv("HETZNER_API_TOKEN")
# https://prometheus.io/docs/prometheus/latest/configuration/configuration/ # https://prometheus.io/docs/prometheus/latest/configuration/configuration/
PROMETHEUS_RELOAD_URL = os.getenv("PROMETHEUS_RELOAD_URL", "https://prometheus.phx-erp.de:9090/-/reload") PROMETHEUS_RELOAD_URL = os.getenv("PROMETHEUS_RELOAD_URL", "https://prometheus.phx-erp.de/-/reload")
# Check if token is loaded # Check if token is loaded
if not HETZNER_API_TOKEN: if not HETZNER_API_TOKEN: