2016-06-06 12:26:56 +02:00
|
|
|
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
2016-06-05 16:25:07 +02:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "statsd_bridge-${version}";
|
|
|
|
version = "0.1.0";
|
|
|
|
rev = version;
|
|
|
|
|
|
|
|
goPackagePath = "github.com/prometheus/statsd_bridge";
|
|
|
|
|
2016-06-06 12:26:56 +02:00
|
|
|
src = fetchFromGitHub {
|
2016-06-05 16:25:07 +02:00
|
|
|
inherit rev;
|
2016-06-06 12:26:56 +02:00
|
|
|
owner = "prometheus";
|
|
|
|
repo = "statsd_bridge";
|
2016-06-05 16:25:07 +02:00
|
|
|
sha256 = "1fndpmd1k0a3ar6f7zpisijzc60f2dng5399nld1i1cbmd8jybjr";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./statsd-bridge_deps.json;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Receives StatsD-style metrics and exports them to Prometheus";
|
|
|
|
homepage = https://github.com/prometheus/statsd_bridge;
|
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ benley ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|