system-config/modules/graphite/templates/storage-aggregation.conf.erb
James E. Blair 214b9b1f59 Set xfilesfactor to 0 for stats_counts.
This matches the rule for summing .count metrics.  It means
that a minimum of 0% of the existing values must be non-null
in order for the new value to be non-null.  That's good for
sums of exact counts.

Change-Id: Ic3f50888ada274a36e8f0385e6fffddf88ba6dfe
Reviewed-on: https://review.openstack.org/18747
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-12-29 15:41:37 +00:00

25 lines
364 B
Plaintext

[min]
pattern = \.min$
xFilesFactor = 0.1
aggregationMethod = min
[max]
pattern = \.max$
xFilesFactor = 0.1
aggregationMethod = max
[sum]
pattern = \.count$
xFilesFactor = 0
aggregationMethod = sum
[stats_counts]
pattern = ^stats_counts\..*
xFilesFactor = 0
aggregationMethod = sum
[default_average]
pattern = .*
xFilesFactor = 0.3
aggregationMethod = average