Enable synapse metrics

This commit is contained in:
Paul-Henri Froidmont 2022-11-07 15:55:29 +01:00
parent 65eace8e53
commit b173d18275
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE
4 changed files with 11922 additions and 2 deletions

View file

@ -122,10 +122,12 @@ in
settings = {
server_name = config.networking.domain;
enable_metrics = true;
listeners = [
{
port = 8008;
bind_addresses = [ "::1" ];
bind_addresses = [ "::1" "127.0.0.1" ];
type = "http";
tls = false;
x_forwarded = true;
@ -136,6 +138,13 @@ in
}
];
}
{
port = 9000;
bind_addresses = [ "0.0.0.0" ];
type = "metrics";
tls = false;
resources = [ ];
}
];
database = {