Make the workers configurable for gnocchi metricd

By default, the workers for gnocchi_metricd is 5[0], it's too
small for production environment, this PS to make it configurable,
in this way, user can change it according to actual needs.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L356

Change-Id: Ibf4dec793f02c407547c77963cc13799d044b90f
This commit is contained in:
wu.chunyang 2018-05-09 21:09:54 +08:00
parent 3f100310ee
commit bd708d9433
2 changed files with 3 additions and 1 deletions

View File

@ -84,6 +84,8 @@ gnocchi_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ g
gnocchi_logging_debug: "{{ openstack_logging_debug }}"
gnocchi_metricd_workers: "{{ openstack_service_workers }}"
gnocchi_keystone_user: "gnocchi"
openstack_gnocchi_auth: "{{ openstack_auth }}"

View File

@ -36,7 +36,7 @@ archive_policy_name = low
flush_delay=10
[metricd]
workers = {{ openstack_service_workers }}
workers = {{ gnocchi_metricd_workers }}
[indexer]
url = mysql+pymysql://{{ gnocchi_database_user }}:{{ gnocchi_database_password }}@{{ gnocchi_database_address }}/{{ gnocchi_database_name }}