Ottomata has uploaded a new change for review.

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


Change subject: Setting log_statistics_interval to 15 for varnishkafka
......................................................................

Setting log_statistics_interval to 15 for varnishkafka

This ensures that metrics in gmond are fresh whenever gmetad polls.
This isn't explicitly necessary now that the custom vanrishkafka
ganglia python module is computing the per_second rates on its own
i.e. there are no positively sloped metrics, but it seems nice to
be fresh when gmetad asks.

Change-Id: I17f0aaa887ca8a4a4d673c98e47a0819b078c84a
---
M manifests/role/cache.pp
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/12/102312/1

diff --git a/manifests/role/cache.pp b/manifests/role/cache.pp
index 7eb97b1..9a409df 100644
--- a/manifests/role/cache.pp
+++ b/manifests/role/cache.pp
@@ -438,6 +438,10 @@
                                # number of production nodes, we will allow 
puppet
                                # to restart varnishkafka.
                                should_subscribe             => false,
+                               # Write out stats to varnishkafka.stats.json
+                               # this often.  This is set at 15 so that
+                               # stats will be fresh when polled from gmetad.
+                               log_statistics_interval      => 15,
                        }
 
                        class { '::varnishkafka::monitoring': }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I17f0aaa887ca8a4a4d673c98e47a0819b078c84a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ottomata <[email protected]>

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

Reply via email to