summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver
diff options
context:
space:
mode:
authorMario Minardi <mario@tailscale.com>2025-01-16 12:21:33 -0700
committerGitHub <noreply@github.com>2025-01-16 12:21:33 -0700
commitde5683f7c61098337fe2825e2febe98b6809b291 (patch)
tree4330cf1ab0d61dce8df9904d843c4fb8ad41994c /control/controlhttp/controlhttpserver
parent7d73a38b40a57e39080eb8b74aed08c69c0fb562 (diff)
downloadtailscale-de5683f7c61098337fe2825e2febe98b6809b291.tar.xz
tailscale-de5683f7c61098337fe2825e2febe98b6809b291.zip
derp: change packets_dropped metric to also have reason and kind labels (#14651)
Metrics currently exist for dropped packets by reason, and total received packets by kind (e.g., `disco` or `other`), but relating these two together to gleam information about the drop rate for specific reasons on a per-kind basis is not currently possible. Change `derp_packets_dropped` to use a `metrics.MultiLabelMap` to track both the `reason` and `kind` in the same metric to allow for this desired level of granularity. Drop metrics that this makes unnecessary (namely `packetsDroppedReason` and `packetsDroppedType`). Updates https://github.com/tailscale/corp/issues/25489 Signed-off-by: Mario Minardi <mario@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver')
0 files changed, 0 insertions, 0 deletions