TUN-8242: Enable remote diagnostics by default

This commit makes the remote diagnostics enabled by default, which is
a useful feature when debugging cloudflared issues without manual intervention from users.
Users can still opt-out by disabling the feature flag.
This commit is contained in:
João Oliveirinha
2024-02-14 17:52:51 +00:00
parent 3299a9bc15
commit 5344a0bc6a
2 changed files with 4 additions and 4 deletions

View File

@@ -790,7 +790,7 @@ func tunnelFlags(shouldHide bool) []cli.Flag {
Name: "management-diagnostics",
Usage: "Enables the in-depth diagnostic routes to be made available over the management service (/debug/pprof, /metrics, etc.)",
EnvVars: []string{"TUNNEL_MANAGEMENT_DIAGNOSTICS"},
Value: false,
Value: true,
}),
selectProtocolFlag,
overwriteDNSFlag,