From: paulfantom Date: Mon, 22 Aug 2016 18:40:18 +0000 (+0200) Subject: add cache size to memcached module X-Git-Tag: v1.3.0~12^2~2 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=3b3287d3ea38d543d3726a0932cc90c4e06e56fc;p=netdata.git add cache size to memcached module --- diff --git a/python.d/memcached.chart.py b/python.d/memcached.chart.py index e99186f3..5e07da28 100644 --- a/python.d/memcached.chart.py +++ b/python.d/memcached.chart.py @@ -19,9 +19,15 @@ retries = 60 # 'unix_socket': None # }} -ORDER = ['net', 'connections', 'items', 'evicted_reclaimed', 'get', 'get_rate', 'set_rate', 'delete', 'cas', 'increment', 'decrement', 'touch', 'touch_rate'] +ORDER = ['cache', 'net', 'connections', 'items', 'evicted_reclaimed', + 'get', 'get_rate', 'set_rate', 'delete', 'cas', 'increment', 'decrement', 'touch', 'touch_rate'] CHARTS = { + 'cache': { + 'options': [None, 'Cache Size', 'kilobytes', 'Cache', 'memcached.cache', 'line'], + 'lines': [ + ['bytes', 'cache', 'absolute', 1, 1024] + ]}, 'net': { 'options': [None, 'Network', 'kilobytes/s', 'Network', 'memcached.net', 'line'], 'lines': [