chrony_exporter
chrony_exporter copied to clipboard
Client statistics
I propse a new group of metrics about clients. Chrony seems to track individual client stats, that is probably too detailed for metrics collecting. However it would be nice to know
- count of clients
- a histogram of last seen (I observe common values from 2 seconds up to 1d, the rest is inf+)
- histogram of intervals
- histogram of drops, rejects or like
- amount of commands?
There are other stats which is always zero for me but others may be interested in. I'm not sure there is a stat about NTP and NTS client counts, but if there is it would be pretty useful.
Sure, PRs welcome.
The best thing to do is start simple, with the things you know you want.
Okay, I will learn go, and the libs, the prometheus thingy, and hopefully come back with a PR unless someone beats me to it. ;'-)