From 789252d55f025db52ee02aa933c9f09a4aadfa97 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 9 Jan 2014 15:14:57 -0800 Subject: [PATCH] [master] stats improvements 3700. [func] Allow access to subgroups of XML statistics via special URLs http://:/xml/v3/server, /zones, /net, /tasks, /mem, and /status. [RT #35115] 3699. [bug] Improvements to statistics channel XSL stylesheet: the stylesheet can now be cached by the browser; section headers are omitted from the stats display when there is no data in those sections to be displayed; counters are now right-justified for easier readability. [RT #35117] --- CHANGES | 11 + bin/named/bind9.xsl | 1302 +++++++++++++++++-------------- bin/named/bind9.xsl.h | 274 +++++-- bin/named/convertxsl.pl | 1 + bin/named/server.c | 6 + bin/named/statschannel.c | 526 +++++++++---- doc/arm/Bv9ARM-book.xml | 49 +- lib/isc/httpd.c | 120 +-- lib/isc/include/isc/httpd.h | 22 + lib/isc/include/isc/types.h | 2 + lib/isc/unix/include/isc/time.h | 10 + lib/isc/unix/time.c | 18 + 12 files changed, 1447 insertions(+), 894 deletions(-) diff --git a/CHANGES b/CHANGES index d465d087be..62deca9857 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,14 @@ +3700. [func] Allow access to subgroups of XML statistics via + special URLs http://:/xml/v3/server, + /zones, /net, /tasks, /mem, and /status. [RT #35115] + +3699. [bug] Improvements to statistics channel XSL stylesheet: + the stylesheet can now be cached by the browser; + section headers are omitted from the stats display + when there is no data in those sections to be + displayed; counters are now right-justified for + easier readability. [RT #35117] + 3698. [cleanup] Replaced all uses of memcpy() with memmove(). [RT #35120] diff --git a/bin/named/bind9.xsl b/bin/named/bind9.xsl index d7ceb48f68..9d003830af 100644 --- a/bin/named/bind9.xsl +++ b/bin/named/bind9.xsl @@ -20,61 +20,66 @@ - + + + // Server Incoming Query Types + graphs.push({ + 'title' : "Server Incoming Query Types", + 'target': 'chart_incoming_qtypes', + 'style': 'barchart', + 'data': [['Type','Counter'],['',],] + }); + + + + // Server Incoming Requests by opcode + graphs.push({ + 'title' : "Server Incoming Requests by DNS Opcode", + 'target': 'chart_incoming_opcodes', + 'style': 'barchart', + 'data': [['Opcode','Counter'],['',],]}); + +