diff options
author | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-09-16 10:41:27 +0200 |
---|---|---|
committer | Jaka Hudoklin <jakahudoklin@gmail.com> | 2014-09-16 10:41:56 +0200 |
commit | 9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563 (patch) | |
tree | 08aaa81f5e8f58f474d9b1c224db3cb81864e2c3 /nixos/modules/services/monitoring/graphite.nix | |
parent | 1770272775ec416bc7489e0ccc76e0761dd77d60 (diff) | |
download | nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.tar nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.tar.gz nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.tar.bz2 nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.tar.lz nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.tar.xz nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.tar.zst nixpkgs-9bd66b24d9d0afbc2b9f96011e1dcdb03dd01563.zip |
nixos/graphiteApi: add example config for influxdb backend
Diffstat (limited to 'nixos/modules/services/monitoring/graphite.nix')
-rw-r--r-- | nixos/modules/services/monitoring/graphite.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix index ecf144aeee0..ff5951afb4c 100644 --- a/nixos/modules/services/monitoring/graphite.nix +++ b/nixos/modules/services/monitoring/graphite.nix @@ -117,6 +117,20 @@ in { directories: - ${dataDir}/whisper ''; + example = literalExample '' + allowed_origins: + - dashboard.example.com + cheat_times: true + influxdb: + host: localhost + port: 8086 + user: influxdb + pass: influxdb + db: metrics + cache: + CACHE_TYPE: 'filesystem' + CACHE_DIR: '/tmp/graphite-api-cache' + ''; type = types.str; }; }; |