prometheus-json-exporter: init at 20160913

authored by Corbin and committed by Robin Gloster 1e5de5fc 1b839a58

+137
+25
pkgs/servers/monitoring/prometheus/json-exporter.nix
··· 1 + # This file was generated by go2nix. 2 + { stdenv, buildGoPackage, fetchFromGitHub, lib }: 3 + 4 + buildGoPackage rec { 5 + name = "prometheus-json-exporter-${version}"; 6 + version = "unstable-2016-09-13"; 7 + rev = "d45e5ebdb08cb734ad7a8683966032af1d91a76c"; 8 + 9 + goPackagePath = "github.com/kawamuray/prometheus-json-exporter"; 10 + 11 + src = fetchFromGitHub { 12 + inherit rev; 13 + owner = "kawamuray"; 14 + repo = "prometheus-json-exporter"; 15 + sha256 = "0v3as7gakdqpsir97byknsrqxxxkq66hp23j4cscs45hsdb24pi9"; 16 + }; 17 + 18 + goDeps = ./json-exporter_deps.nix; 19 + 20 + meta = { 21 + description = "A prometheus exporter which scrapes remote JSON by JSONPath"; 22 + homepage = "https://github.com/kawamuray/prometheus-json-exporter"; 23 + license = lib.licenses.asl20; 24 + }; 25 + }
+111
pkgs/servers/monitoring/prometheus/json-exporter_deps.nix
··· 1 + # This file was generated by go2nix. 2 + [ 3 + { 4 + goPackagePath = "github.com/Sirupsen/logrus"; 5 + fetch = { 6 + type = "git"; 7 + url = "https://github.com/Sirupsen/logrus"; 8 + rev = "a437dfd2463eaedbec3dfe443e477d3b0a810b3f"; 9 + sha256 = "1904s2bbc7p88anzjp6fyj3jrbm5p6wbb8j4490674dq10kkcfbj"; 10 + }; 11 + } 12 + { 13 + goPackagePath = "github.com/beorn7/perks"; 14 + fetch = { 15 + type = "git"; 16 + url = "https://github.com/beorn7/perks"; 17 + rev = "4c0e84591b9aa9e6dcfdf3e020114cd81f89d5f9"; 18 + sha256 = "1hrybsql68xw57brzj805xx2mghydpdiysv3gbhr7f5wlxj2514y"; 19 + }; 20 + } 21 + { 22 + goPackagePath = "github.com/golang/protobuf"; 23 + fetch = { 24 + type = "git"; 25 + url = "https://github.com/golang/protobuf"; 26 + rev = "8ee79997227bf9b34611aee7946ae64735e6fd93"; 27 + sha256 = "0qm1lpdhf97k2hxgivq2cpjgawhlmmz39y230kgxijhm96xijxb8"; 28 + }; 29 + } 30 + { 31 + goPackagePath = "github.com/kawamuray/jsonpath"; 32 + fetch = { 33 + type = "git"; 34 + url = "https://github.com/kawamuray/jsonpath"; 35 + rev = "5c448ebf973557834ef870e788b0b2d95ac68d12"; 36 + sha256 = "1i1id1i85rf09rldp03h0ibyi6zg0fz9p9l5qj7i8dfs6h6y8f0a"; 37 + }; 38 + } 39 + { 40 + goPackagePath = "github.com/kawamuray/prometheus-exporter-harness"; 41 + fetch = { 42 + type = "git"; 43 + url = "https://github.com/kawamuray/prometheus-exporter-harness"; 44 + rev = "97eeea7b8b0619ea2a065d75c0f0f5909327afa6"; 45 + sha256 = "12al8irf8jb6p2xmm4wbh0wjqsyrdywynr4w122wxxnsx2n56xyv"; 46 + }; 47 + } 48 + { 49 + goPackagePath = "github.com/matttproud/golang_protobuf_extensions"; 50 + fetch = { 51 + type = "git"; 52 + url = "https://github.com/matttproud/golang_protobuf_extensions"; 53 + rev = "c12348ce28de40eed0136aa2b644d0ee0650e56c"; 54 + sha256 = "1d0c1isd2lk9pnfq2nk0aih356j30k3h1gi2w0ixsivi5csl7jya"; 55 + }; 56 + } 57 + { 58 + goPackagePath = "github.com/prometheus/client_golang"; 59 + fetch = { 60 + type = "git"; 61 + url = "https://github.com/prometheus/client_golang"; 62 + rev = "575f371f7862609249a1be4c9145f429fe065e32"; 63 + sha256 = "0hyvszjv5m6i40k2fn21c3bjr8jhlfdqavk1r6g2v5dybyj47vps"; 64 + }; 65 + } 66 + { 67 + goPackagePath = "github.com/prometheus/client_model"; 68 + fetch = { 69 + type = "git"; 70 + url = "https://github.com/prometheus/client_model"; 71 + rev = "fa8ad6fec33561be4280a8f0514318c79d7f6cb6"; 72 + sha256 = "11a7v1fjzhhwsl128znjcf5v7v6129xjgkdpym2lial4lac1dhm9"; 73 + }; 74 + } 75 + { 76 + goPackagePath = "github.com/prometheus/common"; 77 + fetch = { 78 + type = "git"; 79 + url = "https://github.com/prometheus/common"; 80 + rev = "0d5de9d6d8629cb8bee6d4674da4127cd8b615a3"; 81 + sha256 = "1zlvvgw67p66fz9nswkydq15j4a5z5kkiskl0jxps8i27ya1baq0"; 82 + }; 83 + } 84 + { 85 + goPackagePath = "github.com/prometheus/procfs"; 86 + fetch = { 87 + type = "git"; 88 + url = "https://github.com/prometheus/procfs"; 89 + rev = "abf152e5f3e97f2fafac028d2cc06c1feb87ffa5"; 90 + sha256 = "0cp8lznv1b4zhi3wnbjkfxwzhkqd3wbmiy6mwgjanip8l9l3ykws"; 91 + }; 92 + } 93 + { 94 + goPackagePath = "github.com/urfave/cli"; 95 + fetch = { 96 + type = "git"; 97 + url = "https://github.com/urfave/cli"; 98 + rev = "0bdeddeeb0f650497d603c4ad7b20cfe685682f6"; 99 + sha256 = "1ny63c7bfwfrsp7vfkvb4i0xhq4v7yxqnwxa52y4xlfxs4r6v6fg"; 100 + }; 101 + } 102 + { 103 + goPackagePath = "gopkg.in/yaml.v2"; 104 + fetch = { 105 + type = "git"; 106 + url = "https://gopkg.in/yaml.v2"; 107 + rev = "a5b47d31c556af34a302ce5d659e6fea44d90de0"; 108 + sha256 = "0v6l48fshdjrqzyq1kwn22gy7vy434xdr1i0lm3prsf6jbln9fam"; 109 + }; 110 + } 111 + ]
+1
pkgs/top-level/all-packages.nix
··· 10523 10523 prometheus-cli = callPackage ../servers/monitoring/prometheus/cli.nix { }; 10524 10524 prometheus-collectd-exporter = callPackage ../servers/monitoring/prometheus/collectd-exporter.nix { }; 10525 10525 prometheus-haproxy-exporter = callPackage ../servers/monitoring/prometheus/haproxy-exporter.nix { }; 10526 + prometheus-json-exporter = callPackage ../servers/monitoring/prometheus/json-exporter.nix { }; 10526 10527 prometheus-mesos-exporter = callPackage ../servers/monitoring/prometheus/mesos-exporter.nix { }; 10527 10528 prometheus-mysqld-exporter = callPackage ../servers/monitoring/prometheus/mysqld-exporter.nix { }; 10528 10529 prometheus-nginx-exporter = callPackage ../servers/monitoring/prometheus/nginx-exporter.nix { };