From ef04480253da2412ac7f6297a8961e4aec5a9a08 Mon Sep 17 00:00:00 2001 From: akrzos Date: Wed, 25 Jan 2017 11:45:33 -0500 Subject: [PATCH] Add to storage-aggregation.conf + Prevent loss of Gnocchi status metrics with xFileFactor=0.0 + Aggregate using max rather than avg (default) Change-Id: I6f25e6821531729f639fc738c5530c28f80ab40c --- .../roles/graphite/files/storage-aggregation.conf | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ansible/install/roles/graphite/files/storage-aggregation.conf b/ansible/install/roles/graphite/files/storage-aggregation.conf index e69de29bb..2b6d7260d 100644 --- a/ansible/install/roles/graphite/files/storage-aggregation.conf +++ b/ansible/install/roles/graphite/files/storage-aggregation.conf @@ -0,0 +1,12 @@ +[gnocchi_status] +# Prevent lose of gnocchi_status metrics when: +# collectd plugin interval > smallest frequency:history +# When xFilesFactor = 0.0 any single datapoint will be "aggregated" +# for the next configured retention period in storage-schemas.conf +# +# Also aggregationMethod here is max since the maximum of these +# metrics is most representative of behavior. +# +pattern = ^.*\.gnocchi_status\. +xFilesFactor = 0.0 +aggregationMethod = max