Hello František,
If you want to collect high resolution statistics, in the order of seconds, you should
read
them automatically via knotc or HTTP
(
https://gitlab.labs.nic.cz/labs/knot/blob/master/python/stats_http.py)
and store them into a time series database (InfluxDB,...).
Another approach is to enable automatic dumping into a YAML file
(
https://www.knot-dns.cz/docs/2.4/html/reference.html#statistics-section).
However, something like server.uptime is planned to implement.
Regards,
Daniel
On 01/31/2017 09:09 AM, Frantisek Princ wrote:
  Hello,
 after some testing I have deployed Knot DNS to one of our
 authoritative servers with almost 90k zones and it looks very well.
 I have one small problem with statistics, especiallly with
 interpreatation of statistics (mod-stats).
 There are some counters, but i cannot find any reliable approach, how
 to calculate numbers like queries per second, which is interesting for
 future hardware scaling.
 Did I missed anything? Or would it be possible to add one simple
 counter  - something like server.uptime = (seconds from last reload).-
 because all counters are reset after reload.
 Finally, thanks for Knot DNS - well done!
 Best regards,
 Frantisek Princ
 _______________________________________________
 knot-dns-users mailing list
 knot-dns-users(a)lists.nic.cz
 
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users