diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-08 15:59:35 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-06-08 16:10:39 +0200 |
commit | 0195628118064039030b38c948b51b3a59e5ac3b (patch) | |
tree | 59e873221ab708d66853dfe79e6dca6cb652ca3f /nixos/modules/services/monitoring/statsd.nix | |
parent | edd472983853eecda67e0b59cddd0b5a8737feb9 (diff) | |
download | nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.tar nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.tar.gz nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.tar.bz2 nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.tar.lz nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.tar.xz nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.tar.zst nixpkgs-0195628118064039030b38c948b51b3a59e5ac3b.zip |
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.
Diffstat (limited to 'nixos/modules/services/monitoring/statsd.nix')
-rw-r--r-- | nixos/modules/services/monitoring/statsd.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/statsd.nix b/nixos/modules/services/monitoring/statsd.nix index 05950639c1e..74f3deb4c29 100644 --- a/nixos/modules/services/monitoring/statsd.nix +++ b/nixos/modules/services/monitoring/statsd.nix @@ -69,8 +69,8 @@ in }; graphitePort = mkOption { - description = "Port of Graphite server"; - default = config.services.graphite.web.port; + description = "Port of Graphite server (i.e. carbon-cache)."; + default = 2003; type = types.uniq types.int; }; |