|
|
@ -34,7 +34,7 @@ scrape_configs:
|
|
|
|
labels:
|
|
|
|
labels:
|
|
|
|
instance: {{ matrix_domain }}
|
|
|
|
instance: {{ matrix_domain }}
|
|
|
|
job: master
|
|
|
|
job: master
|
|
|
|
index: 1
|
|
|
|
index: 0
|
|
|
|
{% for worker in matrix_synapse_workers_enabled_list|d([]) %}
|
|
|
|
{% for worker in matrix_synapse_workers_enabled_list|d([]) %}
|
|
|
|
{% if worker.metrics_port != 0 %}
|
|
|
|
{% if worker.metrics_port != 0 %}
|
|
|
|
- targets: ['matrix-synapse-worker-{{ worker.type }}-{{ worker.instanceId }}:{{ worker.metrics_port }}']
|
|
|
|
- targets: ['matrix-synapse-worker-{{ worker.type }}-{{ worker.instanceId }}:{{ worker.metrics_port }}']
|
|
|
|