From 3de771c6aa2092b524ed2f9af1264968ab48e07f Mon Sep 17 00:00:00 2001 From: Eric Degenetais Date: Wed, 11 Sep 2024 14:38:19 +0200 Subject: [PATCH] FIX prometheus ui path everywhere. --- psc-prometheus/psc-prometheus.nomad.tpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/psc-prometheus/psc-prometheus.nomad.tpl b/psc-prometheus/psc-prometheus.nomad.tpl index c70ea0c..0c2272f 100644 --- a/psc-prometheus/psc-prometheus.nomad.tpl +++ b/psc-prometheus/psc-prometheus.nomad.tpl @@ -49,8 +49,8 @@ job "psc-prometheus" { image = "${image}:${tag}" args = [ "--config.file=/local/prometheus.yml", - "--web.external-url=https://$\u007BPUBLIC_HOSTNAME\u007D/psc-prometheus/", - "--web.route-prefix=/psc-prometheus", + "--web.external-url=https://$\u007BPUBLIC_HOSTNAME\u007D/portal/tool/prometheus/", + "--web.route-prefix=/portal/tool/prometheus/", "--storage.tsdb.path=/alloc/data/", "--storage.tsdb.retention.time=30d", "--web.listen-address=0.0.0.0:9090", @@ -174,7 +174,7 @@ EOH destination = "local/file.env" env = true data = <