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:
parent
06cfff71dd
commit
3fb785b0ad
@ -10,7 +10,7 @@ import ./make-test.nix {
|
|||||||
};
|
};
|
||||||
scrapeConfigs = [{
|
scrapeConfigs = [{
|
||||||
job_name = "prometheus";
|
job_name = "prometheus";
|
||||||
target_groups = [{
|
static_configs = [{
|
||||||
targets = [ "127.0.0.1:9090" ];
|
targets = [ "127.0.0.1:9090" ];
|
||||||
labels = { instance = "localhost"; };
|
labels = { instance = "localhost"; };
|
||||||
}];
|
}];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user