Use a prom variable and not a synapse role variable
This commit is contained in:
@ -35,7 +35,7 @@ scrape_configs:
|
||||
instance: {{ matrix_domain }}
|
||||
job: master
|
||||
index: 0
|
||||
{% for worker in matrix_synapse_workers_enabled_list|d([]) %}
|
||||
{% for worker in matrix_prometheus_scraper_synapse_workers_enabled_list %}
|
||||
{% if worker.metrics_port != 0 %}
|
||||
- targets: ['matrix-synapse-worker-{{ worker.type }}-{{ worker.instanceId }}:{{ worker.metrics_port }}']
|
||||
labels:
|
||||
|
Reference in New Issue
Block a user