mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 06:02:32 -08:00
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]>