<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>pg-collectd provides an (unofficial) alternative and opinionated postgres collectd writer plugin, where flexibility is traded in for performance and ease of use.<br>
</span>
<div><br>
</div>
<div>https://github.com/nickbabcock/pg-collectd<br>
</div>
<div><br>
</div>
<div>- It achieves a 4x reduction in db cpu usage compared to using collectd's default postgres writer + setup<br>
</div>
<div>- If one is running Debian based system and collectd 5.4+ (eg: Ubuntu 14.04+) one can `dpkg -i` the provided debs. If using another distro, one can compile from source (Rust).<br>
</div>
<div>- pg-collectd works by flattening the collectd metrics and `COPY` them directly to the db.<br>
</div>
<div><br>
</div>
<div>Depending on your use case, this plugin won't replace collectd's native postgres plugin as:<br>
</div>
<div><br>
</div>
<div>- pg-collectd must insert into a single table<br>
</div>
<div>- pg-collectd must insert into a table called "collectd_metrics" (work in progress)<br>
</div>
<div>- pg-collectd cannot communicate over TLS (work in progress)<br>
</div>
<div><br>
</div>
<span>Anyways, if anyone has thoughts or suggestions please share them or raise an issue.</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>-Nick.</span><br>
</div>
</body>
</html>