diff options
author | Carlos Camacho <ccamacho@redhat.com> | 2016-09-22 13:08:58 +0200 |
---|---|---|
committer | Carlos Camacho <ccamacho@redhat.com> | 2016-09-26 09:28:20 +0200 |
commit | 3e0694ec1c84b201c44982cbca4e5f662f1b942d (patch) | |
tree | 014487e1bd01c162454b296be209f70ad16ae3f8 /puppet | |
parent | 5d49b75b6e8c608ede6fc7bd63b06055ce5f6317 (diff) |
Add metricd workers support in gnocchi
Depending on the environment, gnocchi workers
uses several controller resources RAM/CPU,
this option makes it configurable.
Also, configured to 1 in environments/low-memory-usage.yaml
which will reduce the service footprint in i.e. CI
Change-Id: Ia008b32151f4d8fec586cf89994ac836751b7cce
Closes-bug: #1626473
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/services/gnocchi-metricd.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/gnocchi-metricd.yaml b/puppet/services/gnocchi-metricd.yaml index ebdebd1e..1400bc98 100644 --- a/puppet/services/gnocchi-metricd.yaml +++ b/puppet/services/gnocchi-metricd.yaml @@ -21,6 +21,10 @@ parameters: MonitoringSubscriptionGnocchiMetricd: default: 'overcloud-gnocchi-metricd' type: string + GnocchiMetricdWorkers: + default: '' + description: Number of workers for Gnocchi MetricD + type: string resources: GnocchiServiceBase: @@ -39,5 +43,6 @@ outputs: config_settings: map_merge: - get_attr: [GnocchiServiceBase, role_data, config_settings] + - gnocchi::metricd::workers: {get_param: GnocchiMetricdWorkers} step_config: | include ::tripleo::profile::base::gnocchi::metricd |