forked from mirrors/nixpkgs
prometheus-haproxy-exporter: fold into go-packages.nix
This commit is contained in:
parent
c5b6f17e1c
commit
9001ad4106
|
@ -1,25 +0,0 @@
|
||||||
{ lib, goPackages, fetchFromGitHub }:
|
|
||||||
|
|
||||||
let self = goPackages.buildGoPackage rec {
|
|
||||||
name = "prometheus-haproxy-exporter-0.4.0";
|
|
||||||
goPackagePath = "github.com/prometheus/haproxy_exporter";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
|
||||||
owner = "prometheus";
|
|
||||||
repo = "haproxy_exporter";
|
|
||||||
rev = "6ee6d1df3e68ed73df37c9794332b2594e4da45d";
|
|
||||||
sha256 = "0lbwv6jsdfjd9ihiky3lq7d5rkxqjh7xfaziw8i3w34a38japlpr";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ goPackages.prometheus.client_golang ];
|
|
||||||
|
|
||||||
meta = with lib; {
|
|
||||||
description = "HAProxy Exporter for the Prometheus monitoring system";
|
|
||||||
homepage = https://github.com/prometheus/haproxy_exporter;
|
|
||||||
license = licenses.asl20;
|
|
||||||
maintainers = with maintainers; [ benley ];
|
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
in self.bin
|
|
|
@ -9201,9 +9201,8 @@ let
|
||||||
prometheus-alertmanager = goPackages.prometheus.alertmanager.bin;
|
prometheus-alertmanager = goPackages.prometheus.alertmanager.bin;
|
||||||
prometheus-cli = goPackages.prometheus.cli.bin;
|
prometheus-cli = goPackages.prometheus.cli.bin;
|
||||||
prometheus-collectd-exporter = goPackages.prometheus.collectd-exporter.bin;
|
prometheus-collectd-exporter = goPackages.prometheus.collectd-exporter.bin;
|
||||||
|
prometheus-haproxy-exporter = goPackages.prometheus.haproxy-exporter.bin;
|
||||||
|
|
||||||
prometheus-haproxy-exporter =
|
|
||||||
callPackage ../servers/monitoring/prometheus/haproxy_exporter { };
|
|
||||||
prometheus-mesos-exporter =
|
prometheus-mesos-exporter =
|
||||||
callPackage ../servers/monitoring/prometheus/mesos_exporter { };
|
callPackage ../servers/monitoring/prometheus/mesos_exporter { };
|
||||||
prometheus-mysqld-exporter =
|
prometheus-mysqld-exporter =
|
||||||
|
|
|
@ -2051,6 +2051,21 @@ let
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
prometheus.haproxy-exporter = buildFromGitHub {
|
||||||
|
rev = "0.4.0";
|
||||||
|
owner = "prometheus";
|
||||||
|
repo = "haproxy_exporter";
|
||||||
|
sha256 = "0cwls1d4hmzjkwc50mjkxjb4sa4q6yq581wlc5sg9mdvl6g91zxr";
|
||||||
|
buildInputs = [ prometheus.client_golang ];
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
description = "HAProxy Exporter for the Prometheus monitoring system";
|
||||||
|
homepage = https://github.com/prometheus/haproxy_exporter;
|
||||||
|
license = licenses.asl20;
|
||||||
|
maintainers = with maintainers; [ benley ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
prometheus.log = buildFromGitHub {
|
prometheus.log = buildFromGitHub {
|
||||||
rev = "439e5db48fbb50ebbaf2c816030473a62f505f55";
|
rev = "439e5db48fbb50ebbaf2c816030473a62f505f55";
|
||||||
date = "2015-05-29";
|
date = "2015-05-29";
|
||||||
|
|
Loading…
Reference in a new issue