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/net/portmapper
Andrew Dunham d9ae7d670e net/portmapper: add clientmetric for UPnP error codes
This should allow us to gather a bit more information about errors that
we encounter when creating UPnP mappings. Since we don't have a
"LabelMap" construction for clientmetrics, do what sockstats does and
lazily register a new metric when we see a new code.

Updates #9343

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: Ibb5aadd6138beb58721f98123debcc7273b611ba
1 year ago
..
disabled_stubs.go all: update copyright and license headers 2 years ago
igd_test.go net/portmapper: fall back to permanent UPnP leases if necessary 1 year ago
pcp.go all: update tools that manage copyright headers 2 years ago
pcp_test.go all: update copyright and license headers 2 years ago
pcpresultcode_string.go all: update copyright and license headers 2 years ago
pmpresultcode_string.go all: update copyright and license headers 2 years ago
portmapper.go net/portmapper: add clientmetric for UPnP error codes 1 year ago
portmapper_test.go control/controlknobs, all: add plumbed Knobs type, not global variables 1 year ago
upnp.go net/portmapper: add clientmetric for UPnP error codes 1 year ago
upnp_test.go net/portmapper: fall back to permanent UPnP leases if necessary 1 year ago