r72693 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72692‎ | r72693 | r72694 >
Date:23:50, 9 September 2010
Author:laner
Status:deferred
Tags:
Comment:
Shorten stat descriptions
Modified paths:
  • /trunk/ganglia_plugins/memcached.py (modified) (history)

Diff [purge]

Index: trunk/ganglia_plugins/memcached.py
@@ -10,8 +10,8 @@
1111
1212 stats_cache = {}
1313 items_cache = {}
14 -stats_descriptions = { 'curr_items': 'Current number of items stored', 'bytes': 'Current number of bytes used to store items', 'curr_connectons': 'Number of clients connected', 'global_hitrate': 'Percentage of hits vs misses (get_hits / (get_hits + get_misses))', 'evictions': 'Number of valid items removed from cache to free memoy for new items', 'threads': 'Number of worker threads requested', 'listen_disabled_num': 'Number of times memcached has hit connection limit', 'cmd_flush': 'Number of times flush_all has been called' }
15 -items_descriptions = { 'median_slab_age': 'Median age of items in the cache', 'minimum_slab_age': 'Minimum age of items in the cache', 'median_evictions': 'Median number of times an item had to be evicted before it expired', 'maximum_evictions': 'Maximum number of times an item had to be evicted before it expired', 'median_outofmemory': 'Median number of times a slab was unable to store a new item', 'maximum_outofmemory': 'Maximum number of times a slab was unable to store a new item' }
 14+stats_descriptions = { 'curr_items': 'Number of items stored', 'bytes': 'Number of bytes used to store items', 'curr_connectons': 'Number of clients connected', 'global_hitrate': 'Hitrate', 'evictions': 'Number of evictions', 'threads': 'Number of worker threads requested', 'listen_disabled_num': 'Number of times connection limit hit', 'cmd_flush': 'Number of times flush_all called' }
 15+items_descriptions = { 'median_slab_age': 'Median age of items in the cache', 'minimum_slab_age': 'Minimum age of items in the cache', 'median_evictions': 'Median number of evictions before expiration', 'maximum_evictions': 'Maximum number of evictions before expiration', 'median_outofmemory': 'Median number of out of memory errors', 'maximum_outofmemory': 'Maximum number out of memory errors' }
1616 host = 'localhost'
1717 port = '11211'
1818

Status & tagging log