diff --git a/flags/flags.go b/flags/flags.go index 8e86e1c..f6f11ac 100644 --- a/flags/flags.go +++ b/flags/flags.go @@ -66,4 +66,8 @@ func init() { *ProfilesEndpoint = u.JoinPath("/v1/profiles") } } + + if *MetricsEndpoint != nil { + *ListenAddress = "127.0.0.1:10300" + } }