mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 19:03:28 +00:00
nixos/graphiteApi: add example config for influxdb backend
This commit is contained in:
parent
1770272775
commit
9bd66b24d9
@ -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;
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user