Disable metrics by default

Former-commit-id: 43e1341352
This commit is contained in:
Owen
2026-01-18 15:20:13 -08:00
parent 2712bcda8c
commit dcab3a46d0

View File

@@ -344,7 +344,7 @@ func runNewtMain(ctx context.Context) {
// Metrics/observability flags (mirror ENV if unset)
if metricsEnabledEnv == "" {
flag.BoolVar(&metricsEnabled, "metrics", true, "Enable Prometheus /metrics exporter")
flag.BoolVar(&metricsEnabled, "metrics", false, "Enable Prometheus metrics exporter")
} else {
if v, err := strconv.ParseBool(metricsEnabledEnv); err == nil {
metricsEnabled = v