>> What about https://www.knot-dns.cz/docs/latest/singlehtml/#stats-section ?
> 
>     statistics:
>       timer: TIME
>       file: STR
>       append: BOOL
> 
>     timer
> 
>     A period (in seconds) after which all available statistics metrics
>     will by written to the file.
> 
> when does the timer [re]start?
> 
> i edited `knot.conf` to have
> 
>     statistics:
>       timer: 86400
>       file: /var/log/knot-stats.yml
> 
> and did a `knotc reload`
> 
> 30 hours later the file (i touched and chowned) is still zero length

if i remove the file: spec, it dumps the stats to `/var/run/stats.yaml`
as specified in the docs

randy


--

Reply via email to