Browse Source

Fix path annotation for the Prometheus

Lukáš Vlček 7 years ago
parent
commit
3a1e989a3b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      roles/openshift_logging_elasticsearch/tasks/main.yaml

+ 1 - 1
roles/openshift_logging_elasticsearch/tasks/main.yaml

@@ -395,7 +395,7 @@
       metadata#annotations#service.alpha.openshift.io/serving-cert-secret-name: "prometheus-tls"
       metadata#annotations#prometheus.io/scrape: "true"
       metadata#annotations#prometheus.io/scheme: "https"
-      metadata#annotations#prometheus.io/path: "_prometheus/metrics"
+      metadata#annotations#prometheus.io/path: "/_prometheus/metrics"
 
 - name: Check to see if PVC already exists
   oc_obj: