author | Bruno Prémont <bonbons@linux-vserver.org> | |
Sat, 14 Mar 2009 17:06:58 +0000 (18:06 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 14 Mar 2009 17:06:58 +0000 (18:06 +0100) | ||
commit | 78a49673197fd30f544e0a03c7bd60e00503f83e | |
tree | cab9dd2d74cf020039e2e60a5bf3d4f4d5364b81 | tree | snapshot |
parent | c3c16d0e36a47c92fb47fb84a2f84a9a2ba02960 | commit | diff |
bind plugin: Actually handle RR cache numbers as `gauge'..
Hi Florian,
Well a working patch was even less trivial as the quick one from
yesterday evening.
Just using a gauge type is not sufficient (only 0 is written to RRD
files), it's also necessary to adjust the bind_xml_stats_handle_view()
as has been done for the memory statistics
Attached is a patch to bind.c (I skipped types.db) which fixes the
cache data collection.
In addition I attached a graph of the cache evolution and memory (for
memory it might be worth giving it an own type as it's not cumulative
at all)
Bruno
Hi Florian,
Well a working patch was even less trivial as the quick one from
yesterday evening.
Just using a gauge type is not sufficient (only 0 is written to RRD
files), it's also necessary to adjust the bind_xml_stats_handle_view()
as has been done for the memory statistics
Attached is a patch to bind.c (I skipped types.db) which fixes the
cache data collection.
In addition I attached a graph of the cache evolution and memory (for
memory it might be worth giving it an own type as it's not cumulative
at all)
Bruno
src/bind.c | diff | blob | history |