summaryrefslogtreecommitdiffhomepage
path: root/control/controlhttp/controlhttpserver/controlhttpserver.go
diff options
context:
space:
mode:
authorNick Khyl <nickk@tailscale.com>2025-01-31 16:09:15 -0600
committerNick Khyl <1761190+nickkhyl@users.noreply.github.com>2025-02-01 13:10:42 -0600
commit2c02f712d1961b1260fcdf488d7971d7c833fabe (patch)
tree67a9108df00a586d50963131ca3689e33c7148ec /control/controlhttp/controlhttpserver/controlhttpserver.go
parenta0537dc0270505bf34736c5bd8595b9770111e1a (diff)
downloadtailscale-2c02f712d1961b1260fcdf488d7971d7c833fabe.tar.xz
tailscale-2c02f712d1961b1260fcdf488d7971d7c833fabe.zip
util/syspolicy/internal/metrics: replace dots with underscores for metric names
Dots are not allowed in metric names and cause panics. Since we use dots in names like AlwaysOn.OverrideWithReason, let's replace them with underscores. We don’t want to use setting.KeyPathSeparator here just yet to make it fully hierarchical, but we will decide as we progress on the (experimental) AlwaysOn.* policy settings. tailscale/corp#26146 Signed-off-by: Nick Khyl <nickk@tailscale.com>
Diffstat (limited to 'control/controlhttp/controlhttpserver/controlhttpserver.go')
0 files changed, 0 insertions, 0 deletions