Files
tailscale/ipn
Kabir Sikand a73f5930d9 ipn/ipnlocal: reject load metrics on App Connectors and off Linux
App Connectors advertise a route per resolved DNS address, so per-route series
would grow with end-user browsing rather than with admin configuration. Rather
than silently emitting thousands of series, enabling the pref on one now fails
with an explanation. There is no override; App Connector support is a later
milestone.

The check lives in checkPrefsLocked, beside checkAdvertiseRoutes, so it
applies to tailscale set, tailscale up, and config-file loads alike. Because
it validates the merged prefs, it also catches turning on AppConnector while
load metrics are already enabled.

Also rejected off Linux, where nothing on the packet path honors the pref.

Updates tailscale/corp#45684

Change-Id: Ida2c7d90bf00e4d007858bca42d622ebea7f4885
Signed-off-by: Kabir Sikand <[email protected]>
2026-07-29 02:03:10 +00:00
..
2026-07-29 02:01:36 +00:00
2026-07-29 02:01:36 +00:00
2026-07-29 02:01:36 +00:00
2026-07-29 02:01:36 +00:00
2026-07-29 02:01:36 +00:00