From: Marcin Siodelski Date: Fri, 6 Sep 2019 10:28:29 +0000 (+0200) Subject: [#755,!503] Small editorial changes in the stats.rst. X-Git-Tag: Kea-1.7.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd429574579b12d4779bf610e47be90058525c8b;p=thirdparty%2Fkea.git [#755,!503] Small editorial changes in the stats.rst. --- diff --git a/doc/sphinx/arm/stats.rst b/doc/sphinx/arm/stats.rst index 76c66f34a8..353be8d299 100644 --- a/doc/sphinx/arm/stats.rst +++ b/doc/sphinx/arm/stats.rst @@ -53,19 +53,20 @@ Statistics Lifecycle ==================== In Kea 1.6.0 version and earlier, when the Kea server is started some -of the statistics are initially not returned. For example, the ``pkt4-received`` -statistic is not initialized until the first DHCP packet is received. +of the statistics are initially not initialized. For example, the ``pkt4-received`` +statistic is not available until the first DHCP packet is received. In the later Kea versions, this behavior has been changed and all of the -statistics supported by the servers is initialized upon the servers' startup +statistics supported by the servers are initialized upon the servers' startup and should be returned in response to the commands such as ``statistic-get-all``. The runtime statistics concerning DHCP packets -processed is initially set to 0 and is not retained across the server -restarts. +processed is initially set to 0 and is reset upon the server +restart. + +Per-subnet statistics are recalculated when reconfiguration takes place. In general, once a statistic is initialized it is held in the manager until explicitly removed, by ``statistic-remove`` or ``statistic-remove-all`` being called, or when the server is shut down. -Per-subnet statistics are explicitly removed when reconfiguration takes place. Removing a statistic that is updated frequently makes little sense, as it will be re-added when the server code next records that statistic.