nixos/graphiteApi: add example config for influxdb backend

This commit is contained in:
Jaka Hudoklin 2014-09-16 10:41:27 +02:00
parent 1770272775
commit 9bd66b24d9

View File

@ -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;
};
};