Advertisement
Guest User

Untitled

a guest
Jul 7th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1.  
  2. diff --git a/modules/graphite/manifests/init.pp b/modules/graphite/manifests/init.pp
  3. index b46680e..9cb4be1 100644
  4. --- a/modules/graphite/manifests/init.pp
  5. +++ b/modules/graphite/manifests/init.pp
  6. @@ -455,12 +455,62 @@ class graphite (
  7. retentions => '1m:90d'
  8. },
  9. {
  10. + name => 'statsd',
  11. + pattern => '^statsd|\.stats\.',
  12. + retentions => '10s:1d,60s:1w,5m:90d,1h:1y'
  13. + },
  14. + {
  15. + name => '10sec',
  16. + pattern => '\.10sec\.',
  17. + retentions => '10s:1d,60s:1w,5m:90d,1h:1y'
  18. + },
  19. + {
  20. name => 'default',
  21. pattern => '.*',
  22. retentions => '1s:30m,1m:1d,5m:2y'
  23. }
  24. ],
  25. $gr_storage_aggregation_rules = {
  26. + 'min' => {
  27. + pattern => '[\._]min$',
  28. + method => 'min',
  29. + factor => '0.1',
  30. + },
  31. + 'max' => {
  32. + pattern => '[\._]max$',
  33. + method => 'max',
  34. + factor => '0.1',
  35. + },
  36. + 'sum' => {
  37. + pattern => '[\._]sum$',
  38. + method => 'sum',
  39. + factor => '0',
  40. + },
  41. + [statsd_lower]
  42. + pattern => '\.lower(_\d+)?$',
  43. + method => 'min',
  44. + factor => '0.1',
  45. + },
  46. + [statsd_upper]
  47. + pattern => '\.upper(_\d+)?$',
  48. + method => 'max',
  49. + factor => '0.1',
  50. + },
  51. + [statsd_sum]
  52. + pattern => '\.sum(_\d+)?$',
  53. + method => 'sum',
  54. + factor => '0.1',
  55. + },
  56. + [statsd_count]
  57. + pattern => '\.count$',
  58. + method => 'sum',
  59. + factor => '0.1',
  60. + },
  61. + 'average' => {
  62. + pattern => '\.*',
  63. + method => 'average',
  64. + factor => '0.5',
  65. + },
  66. '00_min' => {
  67. pattern => '\.min$',
  68. factor => '0.1',
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement