Set metric procssing delay for metricd

Depends-On: 1d6084045e6019c7ad536a8adfd5249b1d95e37e

Closes-bug: #1722788

Change-Id: I22a815bbc8dad65366fbc212f35bdb9d7b4faa52
This commit is contained in:
Pradeep Kilambi 2017-10-11 09:02:23 -04:00
parent 2a7efbada6
commit 66f85f1727

View File

@ -37,6 +37,10 @@ parameters:
default: '%{::os_workers}' default: '%{::os_workers}'
description: Number of workers for Gnocchi MetricD description: Number of workers for Gnocchi MetricD
type: string type: string
MetricProcessingDelay:
default: 30
description: Delay between processing metrics.
type: number
resources: resources:
GnocchiServiceBase: GnocchiServiceBase:
@ -59,6 +63,7 @@ outputs:
map_merge: map_merge:
- get_attr: [GnocchiServiceBase, role_data, config_settings] - get_attr: [GnocchiServiceBase, role_data, config_settings]
- gnocchi::metricd::workers: {get_param: GnocchiMetricdWorkers} - gnocchi::metricd::workers: {get_param: GnocchiMetricdWorkers}
gnocchi::metricd::metric_processing_delay: {get_param: MetricProcessingDelay}
step_config: | step_config: |
include ::tripleo::profile::base::gnocchi::metricd include ::tripleo::profile::base::gnocchi::metricd
upgrade_tasks: upgrade_tasks: