ajout chemin personnalisé pour les job
This commit is contained in:
parent
c25b004d3b
commit
0a3658fa57
@ -78,6 +78,9 @@
|
||||
<variable name='scrpScheme' type='string' description="Protocole à utiliser pour l'interrogation de la sonde">
|
||||
<value>http</value>
|
||||
</variable>
|
||||
<variable name='scrpMetricPath' type='string' description="Chemin d'accès de la ressource">
|
||||
<value>/metrics</value>
|
||||
</variable>
|
||||
|
||||
<variable name='addPrOpenTarg' type='oui/non' description="Ajouter des cibles statiques pour les jobs personnalisé">
|
||||
<value>non</value>
|
||||
@ -168,7 +171,8 @@
|
||||
<slave>scrpInterval</slave>
|
||||
<slave>scrpTimeout</slave>
|
||||
<slave>honorLabels</slave>
|
||||
<slave>scrpScheme</slave>
|
||||
<slave>scrpScheme</slave>
|
||||
<slave>scrpMetricPath</slave>
|
||||
</group>
|
||||
|
||||
<group master='alRoute'>
|
||||
|
@ -44,6 +44,7 @@ scrape_configs:
|
||||
scrape_interval: %%{job.scrpInterval}s
|
||||
scrape_timeout: %%{job.scrpTimeout}s
|
||||
scheme: %%job.scrpScheme
|
||||
metrics_path: %%job.scrpMetricPath
|
||||
%set first = True
|
||||
static_configs:
|
||||
- targets: [ %slurp
|
||||
|
Loading…
Reference in New Issue
Block a user