2021-01-25 09:26:54 +01:00
|
|
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 16:25:07 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "statsd_exporter";
|
2019-04-21 22:06:06 +02:00
|
|
|
version = "0.9.0";
|
2016-06-05 16:25:07 +02:00
|
|
|
rev = version;
|
2016-06-28 15:32:22 +02:00
|
|
|
|
2019-04-21 22:06:06 +02:00
|
|
|
goPackagePath = "github.com/prometheus/statsd_exporter";
|
2016-06-05 16:25:07 +02:00
|
|
|
|
2016-06-06 12:26:56 +02:00
|
|
|
src = fetchFromGitHub {
|
2017-08-27 23:18:42 +02:00
|
|
|
rev = "v${version}";
|
2016-06-06 12:26:56 +02:00
|
|
|
owner = "prometheus";
|
2016-06-28 15:32:22 +02:00
|
|
|
repo = "statsd_exporter";
|
2019-04-21 22:06:06 +02:00
|
|
|
sha256 = "0bgi00005j41p650rb6n1iz2w9m4p22d1w91f2hwlh5bqxf55al3";
|
2016-06-05 16:25:07 +02:00
|
|
|
};
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-06-05 16:25:07 +02:00
|
|
|
description = "Receives StatsD-style metrics and exports them to Prometheus";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://github.com/prometheus/statsd_exporter";
|
2016-06-05 16:25:07 +02:00
|
|
|
license = licenses.asl20;
|
2019-04-21 22:06:06 +02:00
|
|
|
maintainers = with maintainers; [ benley ivan ];
|
2016-06-05 16:25:07 +02:00
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|