diff options
author | Hector Jusforgues <hector.jusforgues@gmail.com> | 2017-07-07 11:01:45 +0200 |
---|---|---|
committer | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-07-07 10:01:45 +0100 |
commit | 0f2db06540bac596ac47816b76c189f4715c8ea5 (patch) | |
tree | eae95923e73a015c6afd3419c94d969dd229d092 /pkgs/servers | |
parent | b8726c346cdb12a1537c94a2f18f46dc822c8e1b (diff) | |
download | nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.tar nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.tar.gz nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.tar.bz2 nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.tar.lz nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.tar.xz nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.tar.zst nixlib-0f2db06540bac596ac47816b76c189f4715c8ea5.zip |
consul_exporter: init at 0.3.0 (#27162)
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/consul-exporter.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/servers/monitoring/prometheus/consul-exporter.nix b/pkgs/servers/monitoring/prometheus/consul-exporter.nix new file mode 100644 index 000000000000..47abcb33ee79 --- /dev/null +++ b/pkgs/servers/monitoring/prometheus/consul-exporter.nix @@ -0,0 +1,23 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "consul_exporter-${version}"; + version = "0.3.0"; + + goPackagePath = "github.com/prometheus/consul_exporter"; + + src = fetchFromGitHub { + owner = "prometheus"; + repo = "consul_exporter"; + rev = "v${version}"; + sha256 = "1zffbxyfmqpbdqkx5rb5vjgd9j4p4zcrh6jvn1zhbdzrcs7khnd9"; + }; + + meta = with stdenv.lib; { + description = "Prometheus exporter for Consul metrics"; + homepage = https://github.com/prometheus/consul_exporter; + license = licenses.asl20; + maintainers = with maintainers; [ hectorj ]; + platforms = platforms.unix; + }; +} |