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