Merge pull request #232884 from teutat3s/zhf/prometheus-exporters-json-test
nixosTests.prometheus-exporters.json: fix test script
This commit is contained in:
commit
04547deb91
@ -348,9 +348,13 @@ let
|
||||
enable = true;
|
||||
url = "http://localhost";
|
||||
configFile = pkgs.writeText "json-exporter-conf.json" (builtins.toJSON {
|
||||
metrics = [
|
||||
{ name = "json_test_metric"; path = "{ .test }"; }
|
||||
];
|
||||
modules = {
|
||||
default = {
|
||||
metrics = [
|
||||
{ name = "json_test_metric"; path = "{ .test }"; }
|
||||
];
|
||||
};
|
||||
};
|
||||
});
|
||||
};
|
||||
metricProvider = {
|
||||
|
Loading…
Reference in New Issue
Block a user