The Gnocchi service project is currently always configured to be
filtered in the Gnocchi publisher, and cannot be fully disabled
(though functionally it can be by setting the values to point to
a project that does not exist).
Filtering out the Gnocchi service project is only really useful
when Gnocchi is configured to use the Swift storage driver due
to a feedback loop that occurs when Ceilometer polls Swift for
metrics. Many deployments use other storage drivers such as
Ceph, so for those deployments it is desirable to be able to
publish metrics for *all* projects, to allow for keeping track
of all resource usage on a cloud.
This patch adds an enable_filter_project publisher boolean option
to the Gnocchi publisher, allowing Gnocchi service project filtering
to be disabled entirely. This option is set to true by default
to maintain compatibility with existing setups.
Change-Id: Iabce13caedbcf7ab2f2b5737bf2ec4d421783293
Signed-off-by: Callum Dickinson <callum.dickinson@catalystcloud.nz>