modification de la configuration
This commit is contained in:
parent
9c0273099f
commit
94fa0002e3
|
@ -16,7 +16,7 @@ scrape_configs:
|
||||||
%if %%getVar('ajout_client_prometheus','non') == 'oui'
|
%if %%getVar('ajout_client_prometheus','non') == 'oui'
|
||||||
%if not %%is_empty(%%url_nouveau_client_prometheus)
|
%if not %%is_empty(%%url_nouveau_client_prometheus)
|
||||||
%for %%client_prometheus in %%url_nouveau_client_prometheus
|
%for %%client_prometheus in %%url_nouveau_client_prometheus
|
||||||
- targets: ['%%client_prometheus.%%url_nouveau_client_prometheus:9090']
|
- targets: ['%%client_prometheus.%%url_nouveau_client_prometheus:9100']
|
||||||
%end for
|
%end for
|
||||||
%end if
|
%end if
|
||||||
%end if
|
%end if
|
||||||
|
|
Loading…
Reference in New Issue