add hookshot metrics to internal prometheus

This commit is contained in:
HarHarLinks
2022-01-11 00:56:51 +01:00
parent 1987cc4839
commit 87871040df
4 changed files with 12 additions and 2 deletions

View File

@ -20,7 +20,9 @@ matrix_hookshot_appservice_endpoint: "{{ matrix_hookshot_public_endpoint }}/_mat
# metrics work only in conjunction with matrix_synapse_metrics_enabled etc
matrix_hookshot_metrics_enabled: true
# there is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
# there is no need to edit ports.
# read the documentation to learn about using hookshot metrics with external Prometheus
# if you still want something different, use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.
matrix_hookshot_metrics_port: 9001
matrix_hookshot_metrics_endpoint: "{{ matrix_hookshot_public_endpoint }}/metrics"