This is an automated email from the ASF dual-hosted git repository.

arvindsh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/fluo-muchos.git


The following commit(s) were added to refs/heads/master by this push:
     new d81daee  Tweak collectd / statsd perf data collection (#337)
d81daee is described below

commit d81daee470d24724f7454994c17903260ce298b9
Author: Arvind Shyamsundar <[email protected]>
AuthorDate: Fri Mar 27 16:14:12 2020 -0700

    Tweak collectd / statsd perf data collection (#337)
    
    * Adjusts the collectd poll interval to conservative 60 seconds
    * Ensures that stale counters are removed by the statsd plugin
---
 ansible/roles/common/templates/etc/collectd.conf.j2         | 2 +-
 ansible/roles/common/templates/etc/collectd.d/azure.conf.j2 | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ansible/roles/common/templates/etc/collectd.conf.j2 
b/ansible/roles/common/templates/etc/collectd.conf.j2
index d35c338..5f8d2a1 100644
--- a/ansible/roles/common/templates/etc/collectd.conf.j2
+++ b/ansible/roles/common/templates/etc/collectd.conf.j2
@@ -5,7 +5,7 @@
 #PluginDir   "/usr/lib64/collectd"
 #TypesDB     "/usr/share/collectd/types.db"
 
-Interval     10
+Interval     60
 
 #Timeout      2
 #ReadThreads  5
diff --git a/ansible/roles/common/templates/etc/collectd.d/azure.conf.j2 
b/ansible/roles/common/templates/etc/collectd.d/azure.conf.j2
index badfff7..fede4c7 100644
--- a/ansible/roles/common/templates/etc/collectd.d/azure.conf.j2
+++ b/ansible/roles/common/templates/etc/collectd.d/azure.conf.j2
@@ -11,5 +11,8 @@ LoadPlugin statsd
   Host "::"
   Port "8125"
   DeleteSets     true
+  DeleteCounters true
+  DeleteTimers   true
+  DeleteGauges   true
   TimerPercentile 90.0
 </Plugin>

Reply via email to