-
Notifications
You must be signed in to change notification settings - Fork 384
collectors MemcachedCollector
Rob Smith edited this page Aug 17, 2012
·
19 revisions
Collect memcached stats
- subprocess
diamond.conf
[[MemcachedCollector]]
enabled = True
[[[hosts]]]
[[[[app-1]]]
host = localhost
port = 11211
Repeat the app-1 block as many times as needed for different host/port combos
- Generic Options
- hosts: Complex set of hosts and ports to collect
- enabled: Enable collecting these metrics
- publish: Which rows of 'status' you would like to publish. Telnet host port' and type stats and hit enter to see the list of possibilities. Leave unset to publish all.
- byte_unit: Default numeric output(s)
servers.hostname.localhost.accepting_conns 1.0
servers.hostname.localhost.auth_cmds 0.0
servers.hostname.localhost.auth_errors 0.0
servers.hostname.localhost.bytes 0.0
servers.hostname.localhost.bytes_read 7.0
servers.hostname.localhost.bytes_written 0.0
servers.hostname.localhost.cas_badval 0.0
servers.hostname.localhost.cas_hits 0.0
servers.hostname.localhost.cas_misses 0.0
servers.hostname.localhost.cmd_flush 0.0
servers.hostname.localhost.cmd_get 0.0
servers.hostname.localhost.cmd_set 0.0
servers.hostname.localhost.cmd_touch 0.0
servers.hostname.localhost.conn_yields 0.0
servers.hostname.localhost.connection_structures 11.0
servers.hostname.localhost.curr_connections 10.0
servers.hostname.localhost.curr_items 0.0
servers.hostname.localhost.decr_hits 0.0
servers.hostname.localhost.decr_misses 0.0
servers.hostname.localhost.delete_hits 0.0
servers.hostname.localhost.delete_misses 0.0
servers.hostname.localhost.evicted_unfetched 0.0
servers.hostname.localhost.evictions 0.0
servers.hostname.localhost.expired_unfetched 0.0
servers.hostname.localhost.get_hits 0.0
servers.hostname.localhost.get_misses 0.0
servers.hostname.localhost.hash_bytes 524288.0
servers.hostname.localhost.hash_is_expanding 0.0
servers.hostname.localhost.hash_power_level 16.0
servers.hostname.localhost.incr_hits 0.0
servers.hostname.localhost.incr_misses 0.0
servers.hostname.localhost.limit_maxbytes 67108864.0
servers.hostname.localhost.listen_disabled_num 0.0
servers.hostname.localhost.reclaimed 0.0
servers.hostname.localhost.reserved_fds 20.0
servers.hostname.localhost.rusage_system 0.195071
servers.hostname.localhost.rusage_user 0.231516
servers.hostname.localhost.threads 4.0
servers.hostname.localhost.total_connections 11.0
servers.hostname.localhost.total_items 0.0
servers.hostname.localhost.touch_hits 0.0
servers.hostname.localhost.touch_misses 0.0
servers.hostname.localhost.uptime 25763.0