New package: prometheus-statsd-bridge
This commit is contained in:
parent
781dbfb9b8
commit
bcc8293cba
27
pkgs/servers/monitoring/prometheus/statsd_bridge/default.nix
Normal file
27
pkgs/servers/monitoring/prometheus/statsd_bridge/default.nix
Normal file
@ -0,0 +1,27 @@
|
||||
{ stdenv, lib, goPackages, fetchFromGitHub }:
|
||||
|
||||
goPackages.buildGoPackage rec {
|
||||
name = "prometheus-statsd-bridge-${stdenv.lib.strings.substring 0 7 rev}";
|
||||
rev = "9715b183150c7bed8a10affb23d33fb55c597180";
|
||||
goPackagePath = "github.com/prometheus/statsd_bridge";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
inherit rev;
|
||||
owner = "prometheus";
|
||||
repo = "statsd_bridge";
|
||||
sha256 = "119024xb08qjwbhplpl5d94bjdfhn92w4ffn4kxr7aviri1gynfz";
|
||||
};
|
||||
|
||||
buildInputs = with goPackages; [
|
||||
fsnotify
|
||||
prometheus.client_golang
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Receives StatsD-style metrics and exports them to Prometheus";
|
||||
homepage = https://github.com/prometheus/statsd_bridge;
|
||||
licenses = licenses.asl20;
|
||||
maintainers = with maintainers; [ benley ];
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
@ -8395,6 +8395,8 @@ let
|
||||
callPackage ../servers/monitoring/prometheus/node_exporter { };
|
||||
prometheus-pushgateway =
|
||||
callPackage ../servers/monitoring/prometheus/pushgateway { };
|
||||
prometheus-statsd-bridge =
|
||||
callPackage ../servers/monitoring/prometheus/statsd_bridge { };
|
||||
|
||||
psqlodbc = callPackage ../servers/sql/postgresql/psqlodbc { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user