diff options
Diffstat (limited to 'collectors')
-rw-r--r-- | collectors/python.d.plugin/varnish/README.md | 1 | ||||
-rw-r--r-- | collectors/python.d.plugin/varnish/varnish.chart.py | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/varnish/README.md b/collectors/python.d.plugin/varnish/README.md index a052525cf2..cb29738f55 100644 --- a/collectors/python.d.plugin/varnish/README.md +++ b/collectors/python.d.plugin/varnish/README.md @@ -40,6 +40,7 @@ For every backend (VBE): For every storage (SMF, SMA, or MSE): - Storage Usage in `KiB` +- Storage Allocated Objects ## Configuration diff --git a/collectors/python.d.plugin/varnish/varnish.chart.py b/collectors/python.d.plugin/varnish/varnish.chart.py index ce7e42c674..732dc34191 100644 --- a/collectors/python.d.plugin/varnish/varnish.chart.py +++ b/collectors/python.d.plugin/varnish/varnish.chart.py @@ -158,6 +158,7 @@ def backend_charts_template(name): def storage_charts_template(name): order = [ 'storage_{0}_usage'.format(name), + 'storage_{0}_alloc_objs'.format(name) ] charts = { @@ -168,6 +169,12 @@ def storage_charts_template(name): ['{0}.g_bytes'.format(name), 'allocated', 'absolute', 1, 1 << 10] ] }, + order[1]: { + 'options': [None, 'Storage "{0}" Allocated Objects'.format(name), 'objects', 'storage usage', 'varnish.storage_alloc_objs', 'line'], + 'lines': [ + ['{0}.g_alloc'.format(name), 'allocated', 'absolute'] + ] + } } return order, charts |