Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Graphite's storage aggregations for collectd metrics
# This is a work in progress. Any improvement welcome :)
[collectd_plugin_entropy]
pattern = \.entropy\.entropy$
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_tcpconns]
pattern = \.tcp_connections.*$
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_memory]
pattern = \.memory.*$
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_swap]
# swap_io is a DERIVE so handled by the default group
pattern = \.swap\.swap\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_haproxy.gauges]
pattern = \.haproxy\.gauge|.*\.gauge\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_haproxy.derives]
pattern = \.haproxy\.derive|.*\.derive\.
xFilesFactory = 0.3
aggregationMethod = average
[collectd_plugin_df]
pattern = \.df\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_disk.pending_operations]
pattern = \.disk\..*\.pending_operations
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_disk.io_times]
pattern = \.disk\..*\.disk_io_time\.
xFilesFactory = 0.3
aggregationMethod = max
[collectd_plugin_couchbase]
pattern = \.couchbase\..*\.gauge\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_redis]
pattern = \.redis\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_redis_info]
pattern = \.redis_info\..*\.gauge|bytes\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_nginx.nginx_connections]
pattern = \.nginx\.nginx_connections\.
xFilesFactory = 0.3
aggregationMethod = last
[collectd_plugin_postgresql.gauges]
pattern = \.postgresql\..*\.pg_db_size|pg_n_tup_g|pg_numbackends
xFilesFactory = 0.3
aggregationMethod = last
[default]
pattern = .*
xFilesFactor = 0.3
aggregationMethod = average
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.