1
0
Fork 0

matrix: enable metrics

Change-Id: Ia916cb1311ab079153ba37818455170e85e437bc
master
q3k 2020-09-12 22:09:46 +00:00 committed by q3k
parent 8d069d8d1a
commit 1230ac38b5
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,10 @@ listeners:
- names: [federation]
compress: false
- port: 9092
type: metrics
bind_addresses: ['::']
## Database ##
database:

View File

@ -133,6 +133,7 @@ local telegram = import "appservice-telegram.libsonnet";
command: ["/bin/sh", "-c", "/start.py migrate_config && exec /start.py"],
ports_: {
http: { containerPort: 8008 },
metrics: { containerPort: 9092 },
},
env_: {
SYNAPSE_CONFIG_DIR: "/config",