fixing grafana

This commit is contained in:
Tassilo - 2023-07-21 21:20:07 +02:00
parent 4b47a39156
commit 9d2960940d
Signed by: revol-xut
GPG Key ID: 4F56FF7759627D07
2 changed files with 10 additions and 11 deletions

View File

@ -54,7 +54,14 @@ in
replacement = "${exporter}";
}
];
};
} ++ [
{
job_name = "funnel-connections";
static_configs = [{
targets = [ "10.13.37.1:9010" ];
}];
}
];
# generate scraper config
makeScrapeConfigHost = name: exporters: lib.mapAttrs (makeScrapeConfig name) exporters;
@ -63,15 +70,7 @@ in
TLMSScrapeConfigs = lib.lists.flatten (map lib.attrValues (lib.attrValues ScrapeConfigByHost));
in
TLMSScrapeConfigs;
} ++ [
{
job_name = "funnel-connections";
static_configs = [{
targets = [ "10.13.37.1:9010" ];
}];
}
];
};
# log collector
loki = {
enable = true;

View File

@ -1,2 +1,2 @@
# The plan is to try out how broken the stateless jupyter lab in nixos
{}
{ }