You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/metrics
James Tucker 68b12a74ed metrics,syncs: add ShardedInt support to metrics.LabelMap
metrics.LabelMap grows slightly more heavy, needing a lock to ensure
proper ordering for newly initialized ShardedInt values. An Add method
enables callers to use .Add for both expvar.Int and syncs.ShardedInt
values, but retains the original behavior of defaulting to initializing
expvar.Int values.

Updates tailscale/corp#25450

Co-Authored-By: Andrew Dunham <andrew@du.nham.ca>
Signed-off-by: James Tucker <james@tailscale.com>
12 months ago
..
fds_linux.go all: update copyright and license headers 3 years ago
fds_notlinux.go all: update copyright and license headers 3 years ago
metrics.go metrics,syncs: add ShardedInt support to metrics.LabelMap 12 months ago
metrics_test.go metrics,syncs: add ShardedInt support to metrics.LabelMap 12 months ago
multilabelmap.go metrics: revert changes to MultiLabelMap's String method 1 year ago
multilabelmap_test.go metrics: revert changes to MultiLabelMap's String method 1 year ago