aboutsummaryrefslogtreecommitdiffstats
path: root/extra/deployment/collectd_statsd.conf
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-11-29 15:02:27 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-11-29 15:02:27 -0800
commit7c6afa0a21883dc8037f3d021246db24eef39b41 (patch)
tree3fa7c1e595248a46e88ea62c2f9f70106186b0fe /extra/deployment/collectd_statsd.conf
parentc32154f2875a7fb9aac727013e1475cdd811e180 (diff)
downloadfatcat-7c6afa0a21883dc8037f3d021246db24eef39b41.tar.gz
fatcat-7c6afa0a21883dc8037f3d021246db24eef39b41.zip
clean up extra/ folder a bit
Diffstat (limited to 'extra/deployment/collectd_statsd.conf')
-rw-r--r--extra/deployment/collectd_statsd.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/extra/deployment/collectd_statsd.conf b/extra/deployment/collectd_statsd.conf
new file mode 100644
index 00000000..a434ed9f
--- /dev/null
+++ b/extra/deployment/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 collectd: 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>