more metrics
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Vivian 2022-07-30 12:22:19 +02:00
parent 0e203b6eca
commit ccfbd0b477
6 changed files with 46 additions and 42 deletions

View file

@ -37,11 +37,20 @@ in
enable = true;
openFirewall = true;
prometheusConfig = {
global = {
global = {
scrape_interval = "1m";
scrape_timeout = "30s";
};
scrape_configs = [
{
job_name = "nginx";
static_configs = [
{
targets = [ "nginx.olympus:9113" ];
labels.app = "nginx";
}
];
}
{
job_name = "synapse";
metrics_path = "/_synapse/metrics";
@ -50,6 +59,13 @@ in
labels.app = "synapse";
}];
}
{
job_name = "wireguard";
static_configs = [{
targets = [ "wireguard.olympus:9586" ];
labels.app = "wireguard";
}];
}
];
};
};