prometheus-statsd-bridge: extracted from goPackages
This commit is contained in:
28
pkgs/servers/monitoring/prometheus/statsd-bridge.nix
Normal file
28
pkgs/servers/monitoring/prometheus/statsd-bridge.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
# This file was generated by go2nix.
|
||||
{ stdenv, lib, goPackages, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
||||
|
||||
with goPackages;
|
||||
|
||||
buildGoPackage rec {
|
||||
name = "statsd_bridge-${version}";
|
||||
version = "0.1.0";
|
||||
rev = version;
|
||||
|
||||
goPackagePath = "github.com/prometheus/statsd_bridge";
|
||||
|
||||
src = fetchgit {
|
||||
inherit rev;
|
||||
url = "https://github.com/prometheus/statsd_bridge";
|
||||
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;
|
||||
};
|
||||
}
|
||||
15
pkgs/servers/monitoring/prometheus/statsd-bridge_deps.json
Normal file
15
pkgs/servers/monitoring/prometheus/statsd-bridge_deps.json
Normal file
@@ -0,0 +1,15 @@
|
||||
[
|
||||
{
|
||||
"include": "../../libs.json",
|
||||
"packages": [
|
||||
"github.com/howeyc/fsnotify",
|
||||
"github.com/prometheus/client_golang",
|
||||
"github.com/prometheus/client_model",
|
||||
"bitbucket.org/ww/goautoneg",
|
||||
"github.com/beorn7/perks",
|
||||
"github.com/golang/protobuf",
|
||||
"github.com/matttproud/golang_protobuf_extensions",
|
||||
"github.com/prometheus/procfs"
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user