diff --git a/puppet/services/metrics/collectd.yaml b/puppet/services/metrics/collectd.yaml index 3b1d97d866..ad6bf40e58 100644 --- a/puppet/services/metrics/collectd.yaml +++ b/puppet/services/metrics/collectd.yaml @@ -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::::interval" + key in ExtraConfig(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: diff --git a/releasenotes/notes/collectd-polling-4aac123faaebd1bc.yaml b/releasenotes/notes/collectd-polling-4aac123faaebd1bc.yaml new file mode 100644 index 0000000000..415a9d62fa --- /dev/null +++ b/releasenotes/notes/collectd-polling-4aac123faaebd1bc.yaml @@ -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.