Merge "Enable default polling interval override"

This commit is contained in:
Zuul 2018-05-15 03:12:59 +00:00 committed by Gerrit Code Review
commit e37e0e6d47
2 changed files with 15 additions and 0 deletions

View File

@ -37,6 +37,14 @@ parameters:
type: string
description: Keystone region for endpoint
default: 'regionOne'
CollectdDefaultPollingInterval:
default: 120
type: number
description: >
Controls how often registered read functions are called and with that
the resolution of the collected data. This value can be overriden per
plugin(per role) by setting "::collectd::plugin::<plugin_name>::interval"
key in ExtraConfig(<role_name>ExtraConfig).
CollectdDefaultPlugins:
default:
- disk
@ -217,6 +225,7 @@ outputs:
collectd::minimum_version: "5.7"
collectd::plugin::unixsock::socketgroup: root
collectd::plugin::unixsock::socketfile: /var/run/collectd-socket
collectd::interval: {get_param: CollectdDefaultPollingInterval}
tripleo.collectd.plugins.collectd:
yaql:
data:

View File

@ -0,0 +1,6 @@
---
features:
- |
Adds possibility to override default polling interval for collectd and set
default value to 120 seconds, because current default (10s)
was too aggressive.