mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-23 09:00:51 +00:00
Merge pull request #232884 from teutat3s/zhf/prometheus-exporters-json-test
nixosTests.prometheus-exporters.json: fix test script
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user