jenkins-bot has submitted this change and it was merged.

Change subject: Update Ganglia metric module
......................................................................


Update Ganglia metric module

- Change default prefix to 'eventlogging_' (was 'zeromq_', which implied that
  the module was still generic enough to be used to track any ZeroMQ publisher.
  It isn't.)
- Changed metric group parameter 'collect_every' to 30 (from 10). Produces
  smoother graphs.

Change-Id: I017a9931f3350ed19e6bbaa6e251a5c34c6ca368
---
M ganglia/conf.d/eventlogging_mon.pyconf
M ganglia/python_modules/eventlogging_mon.py
2 files changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/ganglia/conf.d/eventlogging_mon.pyconf 
b/ganglia/conf.d/eventlogging_mon.pyconf
index 8b80a16..7b9a77b 100644
--- a/ganglia/conf.d/eventlogging_mon.pyconf
+++ b/ganglia/conf.d/eventlogging_mon.pyconf
@@ -8,10 +8,10 @@
 }
 
 collection_group {
-    collect_every = 10
+    collect_every = 30
     time_threshold = 60
     metric {
-        name_match = "zeromq_(.+)"
+        name_match = "eventlogging_(.+)"
         title = "\\1"
         value_threshold = 0
     }
diff --git a/ganglia/python_modules/eventlogging_mon.py 
b/ganglia/python_modules/eventlogging_mon.py
index f40eb61..54c568b 100644
--- a/ganglia/python_modules/eventlogging_mon.py
+++ b/ganglia/python_modules/eventlogging_mon.py
@@ -95,7 +95,7 @@
     metric descriptors.
 
     """
-    prefix = params.get('prefix', 'zeromq_')
+    prefix = params.get('prefix', 'eventlogging_')
     config_dir = params.get('config_dir', '/etc/eventlogging.d')
     pubs = {prefix + k: v for k, v in iter_pubs(config_dir)}
     counters = {k: 0 for k in pubs}

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I017a9931f3350ed19e6bbaa6e251a5c34c6ca368
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Ori.livneh <[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