Increase maximum payload size for Monasca Log API

Increase the maximum payload size so that it slightly exceeds the default
maximum chunk size (8MB) in Fluentd. This prevents the Monasca Log API
dropping logs when under heavy load.

Partially-Implements: blueprint monasca-roles
Change-Id: I13020abde7de1c92acc07352466b814b4a6ce5bc
This commit is contained in:
Doug Szumski 2018-09-21 09:51:44 +00:00
parent 0cae7d9b34
commit b1dee2d85b

View File

@ -5,6 +5,8 @@ debug = {{ monasca_logging_debug }}
[service] [service]
region = {{ openstack_region_name }} region = {{ openstack_region_name }}
# Increase the maximum payload size to slightly above the default Fluentd chunk size (8MB)
max_log_size = 10485760
[kafka_healthcheck] [kafka_healthcheck]
kafka_topics = {{ monasca_raw_logs_topic }} kafka_topics = {{ monasca_raw_logs_topic }}