mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Enable synapse metrics
This commit is contained in:
parent
65eace8e53
commit
b173d18275
4 changed files with 11922 additions and 2 deletions
11901
modules/dashboards/synapse.json
Normal file
11901
modules/dashboards/synapse.json
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -68,6 +68,16 @@
|
|||
];
|
||||
}];
|
||||
}
|
||||
{
|
||||
job_name = "synapse";
|
||||
scrape_interval = "15s";
|
||||
metrics_path = "/_synapse/metrics";
|
||||
static_configs = [{
|
||||
targets = [
|
||||
"10.0.1.1:9000"
|
||||
];
|
||||
}];
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue