tailscale/metrics
Brad Fitzpatrick 9699bb0a20 metrics: fix outdated docs on MultiLabelMap
And make NewMultiLabelMap panic earlier (at construction time)
if the comparable struct type T violates the documented rules,
rather than panicking at Add time.

Updates #cleanup

Change-Id: Ib1a03babdd501b8d699c4f18b1097a56c916c6d5
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-04-04 20:53:47 -07: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.go metrics: add missing comma in histogram JSON export 2023-09-07 15:28:12 -07:00
metrics_test.go metrics: add LabelMap.GetIncrFunc 2023-07-01 07:14:55 -07:00
multilabelmap.go metrics: fix outdated docs on MultiLabelMap 2024-04-04 20:53:47 -07:00
multilabelmap_test.go metrics, tsweb/varz: add multi-label map metrics 2024-03-26 09:01:04 -07:00