Skip to content

collectors MemcachedCollector

Rob Smith edited this page Oct 4, 2012 · 19 revisions

MemcachedCollector

Collect memcached stats

Dependencies

  • subprocess

Example Configuration

MemcachedCollector.conf

    enabled = True
    hosts = localhost:11211, app-1@localhost:11212, app-2@localhost:11213, etc

Options

  • Generic Options
  • hosts: List of hosts, and ports to collect. Set an alias by prefixing the host:port with alias@
  • 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)

Example Output

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
Clone this wiki locally