Filter Gnocchi Swift activity in the Ceilometer dispatcher

Currently, ignoring Gnocchi activity in the Swift ceilometermiddleware
is not enough to avoid all Swift notifications generated by Gnocchi's
own usage of Swift. Thefore, we also filter this activity at the
dispatcher level.

Change-Id: I3e2804561143617d0345c2a0cd5a462b841e73a3
Closes-Bug: #1624900
This commit is contained in:
Paulo Matias 2016-09-20 00:28:24 -03:00
parent 93cd614884
commit e0c1459667
1 changed files with 4 additions and 0 deletions

View File

@ -103,6 +103,10 @@ event_connection = {{ ceilometer_connection_string }}
{% if ceilometer_gnocchi_enabled | bool %}
[dispatcher_gnocchi]
archive_policy = low
{% if gnocchi_storage_driver is defined and gnocchi_storage_driver == 'swift' %}
filter_service_activity = True
filter_project = {{ gnocchi_service_project_name }}
{% endif %}
[storage]
max_retries = 80