Allow a configurable Graphite namespace (prefix)

This commit is contained in:
Scott Schneider 2014-03-06 10:53:27 -08:00
parent 401f8f8ffd
commit 3af680f860
3 changed files with 45 additions and 26 deletions

View file

@ -49,6 +49,26 @@
:redis:
server: 'redis.company.com'
# :graphite:
#
# This section contains the connection information required to store
# historical data in an external Graphite database.
#
# Available configuration parameters:
#
# - server
# The FQDN hostname of the Graphite server.
# (optional)
#
# - prefix
# The prefix to use while storing Graphite data.
# (optional; default: 'vmpooler')
# Example:
:graphite:
server: 'graphite.company.com'
# :config:
#
# This section contains global configuration information.
@ -63,10 +83,6 @@
# The path to vmpooler's log file.
# (optional; default: '/var/log/vmpooler.log')
#
# - graphite
# The FQDN hostname of the Graphite server.
# (optional)
#
# - task_limit
# The number of concurrent VMware vSphere tasks to perform.
# (optional; default: '10')
@ -84,7 +100,6 @@
:config:
site_name: 'vmpooler'
logfile: '/var/log/vmpooler.log'
graphite: 'graphite.company.com'
task_limit: 10
vm_checktime: 15
vm_lifetime: 12