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/util/syspolicy/internal/metrics
Nick Khyl 2c02f712d1 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>
10 months ago
..
metrics.go util/syspolicy/internal/metrics: replace dots with underscores for metric names 10 months ago
metrics_test.go util/syspolicy/source: add package for reading policy settings from external stores 1 year ago
test_handler.go util/syspolicy/source: add package for reading policy settings from external stores 1 year ago