weakforced icon indicating copy to clipboard operation
weakforced copied to clipboard

[FEATURE] Change time to logging stats directive

Open bypper opened this issue 1 year ago • 3 comments

Is your feature request related to a problem? Please describe. Stats are logged every 5 minutes. This can be too much, but I can't see any configuration directive for change it.

Describe the solution you'd like I think is necessary an configuration directive for set time to logged stats, and not 5 min.

Describe alternatives you've considered I like this stats, I don't wont remove with Rsyslog features, but 5 min it's too much for me.

bypper avatar Jan 02 '24 09:01 bypper

The stats logging feature may be removed in a future release - you should really be using the prometheus metrics, which have all the same information, but in a standard format.

neilcook avatar Jan 02 '24 09:01 neilcook

The stats logging feature may be removed in a future release - you should really be using the prometheus metrics, which have all the same information, but in a standard format.

Do you have any link with info about this?

bypper avatar Jan 03 '24 11:01 bypper

The prometheus metrics are part of the wforce API under /metrics: https://petstore.swagger.io/?url=https://raw.githubusercontent.com/PowerDNS/weakforced/master/docs/swagger/wforce_api.7.yml

See https://prometheus.io for more info about prometheus in general.

neilcook avatar Jan 03 '24 12:01 neilcook