nixos/tests: unbreak prometheus test
Commit 271d3f7a43
("prometheus service: globalConfig.labels is obsolete")
removed globalConfig.labels. Update the test config accordingly.
This commit is contained in:
parent
cd52a3d53c
commit
774d05878a
@ -5,9 +5,6 @@ import ./make-test.nix {
|
|||||||
one = { config, pkgs, ... }: {
|
one = { config, pkgs, ... }: {
|
||||||
services.prometheus = {
|
services.prometheus = {
|
||||||
enable = true;
|
enable = true;
|
||||||
globalConfig = {
|
|
||||||
labels = { foo = "bar"; };
|
|
||||||
};
|
|
||||||
scrapeConfigs = [{
|
scrapeConfigs = [{
|
||||||
job_name = "prometheus";
|
job_name = "prometheus";
|
||||||
static_configs = [{
|
static_configs = [{
|
||||||
|
Loading…
Reference in New Issue
Block a user