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