Ori.livneh has submitted this change and it was merged.

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(-)

Approvals:
  Ori.livneh: Verified; Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/graphite.pp b/manifests/role/graphite.pp
index 706a567..c915936 100644
--- a/manifests/role/graphite.pp
+++ b/manifests/role/graphite.pp
@@ -61,6 +61,17 @@
                 xFilesFactor      => 0,
                 aggregationMethod => 'sum',
             },
+            # 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: merged
Gerrit-Change-Id: I519020cfd5def8c6a6d15622934094f322465c12
Gerrit-PatchSet: 6
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
Gerrit-Reviewer: Chasemp <[email protected]>
Gerrit-Reviewer: GWicke <[email protected]>
Gerrit-Reviewer: Ori.livneh <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to