storage-aggregation.conf 988 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Aggregation methods for whisper files. Entries are scanned in order,
  2. # and first match wins. This file is scanned for changes every 60 seconds
  3. #
  4. # [name]
  5. # pattern = <regex>
  6. # xFilesFactor = <float between 0 and 1>
  7. # aggregationMethod = <average|sum|last|max|min>
  8. #
  9. # name: Arbitrary unique name for the rule
  10. # pattern: Regex pattern to match against the metric name
  11. # xFilesFactor: Ratio of valid data points required for aggregation to the next retention to occur
  12. # aggregationMethod: function to apply to data points for aggregation
  13. #
  14. [min]
  15. pattern = \.lower$
  16. xFilesFactor = 0.1
  17. aggregationMethod = min
  18. [max]
  19. pattern = \.upper(_\d+)?$
  20. xFilesFactor = 0.1
  21. aggregationMethod = max
  22. [sum]
  23. pattern = \.sum$
  24. xFilesFactor = 0
  25. aggregationMethod = sum
  26. [count]
  27. pattern = \.count$
  28. xFilesFactor = 0
  29. aggregationMethod = sum
  30. [count_legacy]
  31. pattern = ^stats_counts.*
  32. xFilesFactor = 0
  33. aggregationMethod = sum
  34. [default_average]
  35. pattern = .*
  36. xFilesFactor = 0.3
  37. aggregationMethod = average