👌 IMPROVE: Fix Prometheus reload URL to use the correct port
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user