nixos: unbreak prometheus test

target_groups was renamed to static_configs in d459916504
("prometheus service: rename values to match prometheus 1.0 naming.").
Catch up.
This commit is contained in:
Bjørn Forsman 2016-12-20 23:17:46 +01:00
parent 06cfff71dd
commit 3fb785b0ad

View file

@ -10,7 +10,7 @@ import ./make-test.nix {
};
scrapeConfigs = [{
job_name = "prometheus";
target_groups = [{
static_configs = [{
targets = [ "127.0.0.1:9090" ];
labels = { instance = "localhost"; };
}];