tailscale/metrics
Kristoffer Dalby 0e0e53d3b3 util/usermetrics: make usermetrics non-global
this commit changes usermetrics to be non-global, this is a building
block for correct metrics if a go process runs multiple tsnets or
in tests.

Updates #13420
Updates tailscale/corp#22075

Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
2024-09-25 15:57:00 +02:00
..
fds_linux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
fds_notlinux.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
metrics_test.go all: use Go 1.22 range-over-int 2024-04-16 15:32:38 -07:00
metrics.go metrics: add missing comma in histogram JSON export 2023-09-07 15:28:12 -07:00
multilabelmap_test.go usermetric: add initial user-facing metrics 2024-08-27 11:21:35 +02:00
multilabelmap.go util/usermetrics: make usermetrics non-global 2024-09-25 15:57:00 +02:00