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>
2024-12-23 13:10:18 -08:00
..
2023-01-27 15:36:29 -08:00
2023-12-07 20:57:31 -05:00
2024-12-02 10:30:46 +01:00
2024-08-23 15:43:40 -05:00
2023-12-15 09:29:42 -08:00
2024-12-11 14:58:44 +00:00
2024-12-16 14:53:34 -08:00
2024-12-19 10:45:56 -06:00
2024-04-22 17:43:28 -04:00
2024-12-06 09:29:07 -06:00
2024-12-05 15:00:54 -08:00
2024-02-02 15:48:31 -08:00
2024-06-10 17:57:22 +01:00
2024-12-20 16:12:56 +00:00
2023-03-01 15:45:12 -07:00
2023-08-03 13:00:45 -07:00
2023-02-18 05:21:05 +00:00
2023-01-27 15:36:29 -08:00
2024-09-17 09:48:48 -07:00
2024-04-16 15:32:38 -07:00
2023-03-13 08:44:25 -07:00
2024-05-10 15:29:13 -07:00
2023-02-11 17:57:36 +00:00
2024-06-21 12:17:39 +02:00
2024-06-05 15:24:04 -07:00
2023-01-27 15:36:29 -08:00
2023-08-23 23:53:19 +01:00
2024-12-06 14:27:52 -05:00
2024-12-23 13:10:18 -08:00
2024-09-09 18:42:13 -07:00
2023-08-24 15:42:35 -07:00
2024-12-23 09:01:30 -08:00
2024-12-13 12:53:10 -08:00
2024-12-13 12:53:10 -08:00
2024-04-16 15:32:38 -07:00
2024-10-24 09:41:54 -05:00
2024-08-21 18:22:22 +01:00
2024-11-11 13:22:34 -08:00
2024-09-29 16:15:22 -07:00
2023-01-27 15:36:29 -08:00
2024-08-26 15:36:30 -07:00
2024-10-21 16:29:16 -05:00
2024-08-24 18:02:38 -07:00
2024-07-10 09:57:00 -07:00