nodePackages.statsd: remove
The package/service is broken. Upstream is dead
This commit is contained in:
parent
e15babe35e
commit
552c223625
7 changed files with 2 additions and 66 deletions
|
@ -101,7 +101,7 @@
|
|||
iodined = 66;
|
||||
#libvirtd = 67; # unused
|
||||
graphite = 68;
|
||||
statsd = 69;
|
||||
#statsd = 69; # removed 2018-11-14
|
||||
transmission = 70;
|
||||
postgres = 71;
|
||||
#vboxusers = 72; # unused
|
||||
|
@ -411,7 +411,7 @@
|
|||
iodined = 66;
|
||||
libvirtd = 67;
|
||||
graphite = 68;
|
||||
#statsd = 69; # unused
|
||||
#statsd = 69; # removed 2018-11-14
|
||||
transmission = 70;
|
||||
postgres = 71;
|
||||
vboxusers = 72;
|
||||
|
|
|
@ -452,7 +452,6 @@
|
|||
./services/monitoring/riemann-tools.nix
|
||||
./services/monitoring/scollector.nix
|
||||
./services/monitoring/smartd.nix
|
||||
./services/monitoring/statsd.nix
|
||||
./services/monitoring/sysstat.nix
|
||||
./services/monitoring/systemhealth.nix
|
||||
./services/monitoring/teamviewer.nix
|
||||
|
|
|
@ -190,7 +190,6 @@ in
|
|||
smokeping = handleTest ./smokeping.nix {};
|
||||
snapper = handleTest ./snapper.nix {};
|
||||
solr = handleTest ./solr.nix {};
|
||||
#statsd = handleTest ./statsd.nix {}; # statsd is broken: #45946
|
||||
strongswan-swanctl = handleTest ./strongswan-swanctl.nix {};
|
||||
sudo = handleTest ./sudo.nix {};
|
||||
switchTest = handleTest ./switch-test.nix {};
|
||||
|
|
|
@ -1,51 +0,0 @@
|
|||
import ./make-test.nix ({ pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
name = "statsd";
|
||||
meta = with pkgs.stdenv.lib.maintainers; {
|
||||
maintainers = [ ma27 ];
|
||||
};
|
||||
|
||||
machine = {
|
||||
services.statsd.enable = true;
|
||||
services.statsd.backends = [ "statsd-influxdb-backend" "console" ];
|
||||
services.statsd.extraConfig = ''
|
||||
influxdb: {
|
||||
username: "root",
|
||||
password: "root",
|
||||
database: "statsd"
|
||||
}
|
||||
'';
|
||||
|
||||
services.influxdb.enable = true;
|
||||
|
||||
systemd.services.influx-init = {
|
||||
description = "Setup Influx Test Base";
|
||||
after = [ "influxdb.service" ];
|
||||
before = [ "statsd.service" ];
|
||||
|
||||
script = ''
|
||||
echo "CREATE DATABASE statsd" | ${pkgs.influxdb}/bin/influx
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
testScript = ''
|
||||
$machine->start();
|
||||
$machine->waitForUnit("statsd.service");
|
||||
$machine->waitForOpenPort(8126);
|
||||
|
||||
# check state of the `statsd` server
|
||||
$machine->succeed('[ "health: up" = "$(echo health | nc 127.0.0.1 8126 -w 120 -N)" ];');
|
||||
|
||||
# confirm basic examples for metrics derived from docs:
|
||||
# https://github.com/etsy/statsd/blob/v0.8.0/README.md#usage and
|
||||
# https://github.com/etsy/statsd/blob/v0.8.0/docs/admin_interface.md
|
||||
$machine->succeed("echo 'foo:1|c' | nc -u -w 0 127.0.0.1 8125");
|
||||
$machine->succeed("echo counters | nc -w 120 127.0.0.1 8126 -N | grep foo");
|
||||
$machine->succeed("echo 'delcounters foo' | nc -w 120 127.0.0.1 8126 -N");
|
||||
$machine->fail("echo counters | nc -w 120 127.0.0.1 8126 -N | grep foo");
|
||||
'';
|
||||
})
|
|
@ -90,12 +90,6 @@ nodePackages // {
|
|||
buildInputs = [ pkgs.automake pkgs.autoconf nodePackages.node-gyp-build ];
|
||||
};
|
||||
|
||||
statsd = nodePackages.statsd.override {
|
||||
# broken with node v8, dead upstream,
|
||||
# see #45946 and https://github.com/etsy/statsd/issues/646
|
||||
meta.broken = true;
|
||||
};
|
||||
|
||||
webdrvr = nodePackages.webdrvr.override {
|
||||
buildInputs = [ pkgs.phantomjs ];
|
||||
|
||||
|
|
|
@ -102,9 +102,6 @@
|
|||
, "snyk"
|
||||
, "socket.io"
|
||||
, "stackdriver-statsd-backend"
|
||||
, "statsd"
|
||||
, "statsd-influxdb-backend"
|
||||
, "statsd-librato-backend"
|
||||
, "svgo"
|
||||
, "swagger"
|
||||
, "tern"
|
||||
|
|
|
@ -19000,8 +19000,6 @@ with pkgs;
|
|||
|
||||
stella = callPackage ../misc/emulators/stella { };
|
||||
|
||||
statsd = nodePackages.statsd;
|
||||
|
||||
linuxstopmotion = callPackage ../applications/video/linuxstopmotion { };
|
||||
|
||||
sweethome3d = recurseIntoAttrs ( (callPackage ../applications/misc/sweethome3d { })
|
||||
|
|
Loading…
Reference in a new issue