r/synapse: Enable Prometheus metrics
Synapse supports exporting metrics in Prometheus format. It can do this either as part of the main server, or in a separate listener. I chose to use a separate listener so that the metrics are not exposed publicly.ntfy
parent
6df0d7bea4
commit
3127b9b8f7
|
@ -22,6 +22,10 @@ listeners:
|
|||
resources:
|
||||
- names: [client, federation]
|
||||
compress: false
|
||||
- type: metrics
|
||||
port: 9000
|
||||
bind_addresses:
|
||||
- 0.0.0.0
|
||||
|
||||
retention:
|
||||
|
||||
|
@ -38,6 +42,7 @@ registration_shared_secret: '{{ synapse_registration_shared_secret }}'
|
|||
|
||||
account_threepid_delegates:
|
||||
|
||||
enable_metrics: true
|
||||
metrics_flags:
|
||||
|
||||
report_stats: false
|
||||
|
|
Loading…
Reference in New Issue