summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-10 16:15:23 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-10 16:15:23 -0800
commit6d7f1064107cc385c313ad194a676c8e3fd6f87f (patch)
tree1969a8dd36f146c10e57ca908a320d2ac7b47ddf
parent12557cbdb5dee2d72b83514f390911e89fc6b172 (diff)
downloadfatcat-6d7f1064107cc385c313ad194a676c8e3fd6f87f.tar.gz
fatcat-6d7f1064107cc385c313ad194a676c8e3fd6f87f.zip
local collectd example
-rw-r--r--extra/collectd_statsd.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/collectd_statsd.conf b/extra/collectd_statsd.conf
new file mode 100644
index 00000000..53419be2
--- /dev/null
+++ b/extra/collectd_statsd.conf
@@ -0,0 +1,22 @@
+
+# This configures collectd to accept statsd metrics. They will end up under,
+# eg, <hostname>.statsd.derive-*. On a local machine they can be viewed with,
+# eg, kcollectd, which is helpful for basic debugging of metrics.
+#
+# To use, copy this file to, eg: /etc/collectd/collectd.conf.d/fatcat_statsd.conf
+# then restart colectd: sudo service collectd restart
+
+LoadPlugin statsd
+
+<Plugin statsd>
+ Host "127.0.0.1"
+ #Host "::1"
+ Port "8125"
+ DeleteSets true
+ DeleteCounters true
+ DeleteTimers true
+ DeleteGauges true
+
+ TimerCount true
+ #CounterSum false
+</Plugin>