Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More memcached metrics #185

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SuperQ
Copy link

@SuperQ SuperQ commented Feb 11, 2015

Add additional memcached ganglia metrics

From the memcached protocol.txt0 add these metrics to the ganglia plugin:

  • reclaimed
    Number of times an entry was stored using memory from an expired entry
  • expired_unfetched
    Items pulled from LRU that were never touched by get/incr/append/etc
    before expiring
  • evicted_unfetched
    Items evicted from LRU that were never touched by get/incr/append/etc.
  • crawler_reclaimed
    Total items freed by LRU Crawler

Update config template to match

SuperQ and others added 2 commits February 11, 2015 17:32
Catch exceptions in update_metric loop
From the memcached protocol.txt[0] add these metrics to the ganglia
plugin:
* reclaimed
  Number of times an entry was stored using memory from an expired entry
* expired_unfetched
  Items pulled from LRU that were never touched by get/incr/append/etc
  before expiring
* evicted_unfetched
  Items evicted from LRU that were never touched by get/incr/append/etc.
* crawler_reclaimed
  Total items freed by LRU Crawler

Update config template to match

[0]: https://github.com/memcached/memcached/blob/master/doc/protocol.txt
@SuperQ
Copy link
Author

SuperQ commented Feb 11, 2015

Hrm, crap, it looks like my cross-fork git-fu is weak. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants