Expose the incoming transfers' rates in the statistics channel

Expose the average transfer rate (in bytes-per-second) during the
last full 'min-transfer-rate-in <bytes> <minutes>' minutes interval.
If no such interval has passed yet, then the overall average rate is
reported instead.
This commit is contained in:
Aram Sargsyan
2024-11-27 10:34:40 +00:00
committed by Arаm Sаrgsyаn
parent b9c6aa24f8
commit c701b590e4
5 changed files with 51 additions and 6 deletions

View File

@@ -7835,6 +7835,12 @@ Incoming Zone Transfers
64-bit unsigned Integer. This is the number of usable bytes
of DNS data. It does not include transport overhead.
``Transfer Rate (B/s)`` (``rate``)
64 bit unsigned Integer. This is the average zone transfer rate in
bytes-per-second during the latest full interval that is configured by the
:any:`min-transfer-rate-in` configuration option. If no such interval
has passed yet, then the overall average rate is reported instead.
.. note::
Depending on the current state of the transfer, some of the
values may be empty or set to ``-`` (meaning "not available").