we index from 0 apparently

development
Stuart Mumford 3 years ago
parent 3d063f6ace
commit 09ee5ce52e

@ -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 }}']

Loading…
Cancel
Save