Filippo Giunchedi has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/192792

Change subject: graphite: extend aggregation for statsite extended counters
......................................................................

graphite: extend aggregation for statsite extended counters

statsite has an option to push additional metrics for counters, however they
are named .upper and .lower

Bug: T90111
Change-Id: I519020cfd5def8c6a6d15622934094f322465c12
---
M manifests/role/graphite.pp
1 file changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/92/192792/1

diff --git a/manifests/role/graphite.pp b/manifests/role/graphite.pp
index 7496ee6..144d025 100644
--- a/manifests/role/graphite.pp
+++ b/manifests/role/graphite.pp
@@ -56,6 +56,17 @@
                 xFilesFactor      => 0.1,
                 aggregationMethod => 'max',
             },
+            # statsite extended counters
+            'lower' => {
+                pattern           => '\.lower$',
+                xFilesFactor      => 0.1,
+                aggregationMethod => 'min',
+            },
+            'upper' => {
+                pattern           => '\.upper$',
+                xFilesFactor      => 0.1,
+                aggregationMethod => 'max',
+            },
         },
 
         # All metric data goes through a single carbon-relay instance, which

-- 
To view, visit https://gerrit.wikimedia.org/r/192792
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I519020cfd5def8c6a6d15622934094f322465c12
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to