Add dingserver2

This commit is contained in:
2022-07-20 03:13:34 +01:00
parent a2b2ca98bf
commit a41c567ace
9 changed files with 322 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
{
config,
pkgs,
lib,
...
}: {
services.grafana = {
enable = true;
};
services.prometheus = {
enable = true;
exporters = {
};
scrapeConfigs = [
{
job_name = "synapse";
metrics_path = "/_synapse/metrics";
static_configs = [
{
targets = ["localhost:9000"];
}
];
}
];
};
}