synapse workers: define and expose METRICS port for each worker
As seen on TV: https://github.com/matrix-org/synapse/blob/master/docs/metrics-howto.md#monitoring-workers
This commit is contained in:
@ -21,6 +21,10 @@ worker_listeners:
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
- type: metrics
|
||||
bind_address: ''
|
||||
port: {{ item.metrics_port }}
|
||||
|
||||
{% if item.type == 'frontend_proxy' %}
|
||||
worker_main_http_uri: http://127.0.0.1:8008
|
||||
{% endif %}
|
||||
|
Reference in New Issue
Block a user