aboutsummaryrefslogtreecommitdiff
path: root/device/stats.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* device: add PeerStatsjs/peer-statsJosh Bleecher Snyder2021-01-261-0/+39
Per-peer statistics are the sort of thing clients refresh very frequently, for UIs. They are available via UAPI, but the serialization and deserialization is quite heavy for frequent use. This commit adds a very cheap, direct means of retrieving peer stats. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>