aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2017-10-11 09:02:23 -0400
committerPradeep Kilambi <pkilambi@redhat.com>2017-11-07 15:17:25 +0000
commit0c44d5ae8d7b9ae56a2f258509c77f667d5291a7 (patch)
tree6f10ee0c0c790d9850e22b4420141f7cedd4a563 /puppet/services
parent5ee398bd0145fbc3e7584c3a9fd8b6c6cf5f61ad (diff)
Set metric procssing delay for metricd
Depends-On: 1d6084045e6019c7ad536a8adfd5249b1d95e37e Closes-bug: #1722788 Change-Id: I22a815bbc8dad65366fbc212f35bdb9d7b4faa52 (cherry picked from commit 66f85f17273353c30ae5625d29c367e0a5f513a8)
Diffstat (limited to 'puppet/services')
-rw-r--r--puppet/services/gnocchi-metricd.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/gnocchi-metricd.yaml b/puppet/services/gnocchi-metricd.yaml
index d45d140a..1918c6e1 100644
--- a/puppet/services/gnocchi-metricd.yaml
+++ b/puppet/services/gnocchi-metricd.yaml
@@ -37,6 +37,10 @@ parameters:
default: '%{::os_workers}'
description: Number of workers for Gnocchi MetricD
type: string
+ MetricProcessingDelay:
+ default: 30
+ description: Delay between processing metrics.
+ type: number
resources:
GnocchiServiceBase:
@@ -59,6 +63,7 @@ outputs:
map_merge:
- get_attr: [GnocchiServiceBase, role_data, config_settings]
- gnocchi::metricd::workers: {get_param: GnocchiMetricdWorkers}
+ gnocchi::metricd::metric_processing_delay: {get_param: MetricProcessingDelay}
step_config: |
include ::tripleo::profile::base::gnocchi::metricd
upgrade_tasks: