nixos/statsd-service: fix 'graphitePort' default value

graphitePort must point to the port that carbon-cache listens on, not
the graphite webUI port.

With this change I finally got data from statsd to graphite.
This commit is contained in:
Bjørn Forsman 2014-06-08 15:59:35 +02:00
parent edd4729838
commit 0195628118

View file

@ -69,8 +69,8 @@ in
}; };
graphitePort = mkOption { graphitePort = mkOption {
description = "Port of Graphite server"; description = "Port of Graphite server (i.e. carbon-cache).";
default = config.services.graphite.web.port; default = 2003;
type = types.uniq types.int; type = types.uniq types.int;
}; };