+ - job_name: arvados_ws
+ bearer_token: __MANAGEMENT_TOKEN__
+ scheme: https
+ static_configs:
+ - targets: ['ws.__DOMAIN__:443']
+ labels:
+ instance: ws.__CLUSTER__
+ cluster: __CLUSTER__
+ - job_name: arvados_controller
+ bearer_token: __MANAGEMENT_TOKEN__
+ {%- if enable_balancer %}
+ scheme: http
+ {%- else %}
+ scheme: https
+ {%- endif %}
+ static_configs:
+ {%- if enable_balancer %}
+ {%- for controller in controller_nodes %}
+ - targets: ['{{ controller }}']
+ labels:
+ instance: {{ controller.split('.')[0] }}.__CLUSTER__
+ cluster: __CLUSTER__
+ {%- endfor %}
+ {%- else %}
+ - targets: ['__DOMAIN__:443']
+ labels:
+ instance: controller.__CLUSTER__
+ cluster: __CLUSTER__
+ {%- endif %}