Add collect_statistics_interval, rates_mode in rabbitmq.config template
1. Add collect_statistics_interval and rates_mode configurations in rabbitmq.config template which enables to define custom value for those fields. 2. Add collect_statistics_interval and rates_mode defaults in defaults/main.yml Change-Id: Ie349528929398f53a9d87e7fc02e0c95c9d6d4f1 Closes-bug: 1617516
This commit is contained in:
committed by
Satheesh Kumar Ulaganathan
parent
478cc729e1
commit
9ccc0ee3f1
@@ -73,3 +73,9 @@ rabbitmq_ssl_self_signed_subject: "/C=US/ST=Texas/L=San Antonio/O=IT/CN={{ conta
|
|||||||
# RabbitMQ erlang VM parameters
|
# RabbitMQ erlang VM parameters
|
||||||
rabbitmq_async_threads: 128
|
rabbitmq_async_threads: 128
|
||||||
rabbitmq_process_limit: 1048576
|
rabbitmq_process_limit: 1048576
|
||||||
|
|
||||||
|
# RabbitMQ collect statistics interval
|
||||||
|
rabbitmq_collect_statistics_interval: 5000
|
||||||
|
|
||||||
|
# RabbitMQ Management rates mode
|
||||||
|
rabbitmq_management_rates_mode: basic
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
{rabbit, [
|
{rabbit, [
|
||||||
{loopback_users, []},
|
{loopback_users, []},
|
||||||
{ssl_listeners, [5671]},
|
{ssl_listeners, [5671]},
|
||||||
|
{collect_statistics_interval, {{ rabbitmq_collect_statistics_interval }} },
|
||||||
{ssl_options, [{certfile,"{{ rabbitmq_ssl_cert }}"},
|
{ssl_options, [{certfile,"{{ rabbitmq_ssl_cert }}"},
|
||||||
{keyfile,"{{ rabbitmq_ssl_key }}"},
|
{keyfile,"{{ rabbitmq_ssl_key }}"},
|
||||||
{% if rabbitmq_user_ssl_ca_cert is defined -%}
|
{% if rabbitmq_user_ssl_ca_cert is defined -%}
|
||||||
@@ -11,5 +12,6 @@
|
|||||||
{verify,verify_none},
|
{verify,verify_none},
|
||||||
{fail_if_no_peer_cert,false}]},
|
{fail_if_no_peer_cert,false}]},
|
||||||
{% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}}{% endif %}
|
{% if rabbitmq_cluster_partition_handling != 'ignore' %}{cluster_partition_handling, {{ rabbitmq_cluster_partition_handling }}}{% endif %}
|
||||||
]}
|
]},
|
||||||
|
{rabbitmq_management, [{rates_mode, {{ rabbitmq_management_rates_mode }} }] }
|
||||||
].
|
].
|
||||||
|
|||||||
Reference in New Issue
Block a user