Przeglądaj źródła

Issue #754: Updated grafana datasource url

Signed-off-by: blesson-james <blesson_james@Dellteam.com>
blesson-james 3 lat temu
rodzic
commit
bcaf2ea99a

+ 1 - 1
roles/k8s_start_services/tasks/configure_nginx_prom_grafana.yml

@@ -73,7 +73,7 @@
     grafana_user: "{{ hostvars['127.0.0.1']['grafana_username'] }}"
     grafana_password: "{{ hostvars['127.0.0.1']['grafana_password'] }}"
     ds_type: prometheus
-    ds_url: "http://{{ ansible_default_ipv4.address }}"
+    ds_url: "http://{{ ansible_default_ipv4.address }}:{{ nginx_listen_port }}"
     access: direct
   delegate_to: localhost
   no_log: true