diff options
| author | Andrew Dunham <andrew@du.nham.ca> | 2023-09-12 19:16:51 -0400 |
|---|---|---|
| committer | Andrew Dunham <andrew@du.nham.ca> | 2023-09-18 18:47:24 -0400 |
| commit | d9ae7d670e4352ff5246711e30accea4fa5090c2 (patch) | |
| tree | f942e5a00b08596f34a5677a1952fe96b2be497f /control/controlknobs | |
| parent | 19a9d9037f9770adb2cc4b812aeb1f1ff02da5af (diff) | |
| download | tailscale-d9ae7d670e4352ff5246711e30accea4fa5090c2.tar.xz tailscale-d9ae7d670e4352ff5246711e30accea4fa5090c2.zip | |
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
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
