Skip to content

Commit

Permalink
nixos: unbreak prometheus test
Browse files Browse the repository at this point in the history
target_groups was renamed to static_configs in d459916504
("prometheus service: rename values to match prometheus 1.0 naming.").
Catch up.
  • Loading branch information
bjornfor committed Dec 20, 2016
1 parent 06cfff7 commit 3fb785b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/prometheus.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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"; };
}];
Expand Down

0 comments on commit 3fb785b

Please sign in to comment.