prometheus-json-exporter: 0.2.0 -> 0.3.0
This commit is contained in:
parent
21bf56687d
commit
b3c592bf08
@ -302,7 +302,7 @@ let
|
||||
url = "http://localhost";
|
||||
configFile = pkgs.writeText "json-exporter-conf.json" (builtins.toJSON {
|
||||
metrics = [
|
||||
{ name = "json_test_metric"; path = "$.test"; }
|
||||
{ name = "json_test_metric"; path = "{ .test }"; }
|
||||
];
|
||||
});
|
||||
};
|
||||
|
@ -2,16 +2,16 @@
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "prometheus-json-exporter";
|
||||
version = "0.2.0";
|
||||
version = "0.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "prometheus-community";
|
||||
repo = "json_exporter";
|
||||
rev = "v${version}";
|
||||
sha256 = "1aabvd75a2223x5wnbyryigj7grw6l05jhr3g3s97b1f1hfigz6d";
|
||||
sha256 = "0nhww7pbyqpiikcli1ysqa15d4y76h3jaij1j0sj8i3mhv1nsjz9";
|
||||
};
|
||||
|
||||
vendorSha256 = "03kb0gklq08krl7qnvs7267siw1pkyy346b42dsk1d9gr5302wsw";
|
||||
vendorSha256 = "1fiy6x06mqxbv9c4rxfl4q7hvblbzhknkpcp0alz61f3fk5wxsgp";
|
||||
|
||||
passthru.tests = { inherit (nixosTests.prometheus-exporters) json; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user