Skip to content

Commit

Permalink
✨ change metrics default to off
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Dec 5, 2018
1 parent 97b16f5 commit 59aab21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/metrics/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ import (

// DefaultBindAddress sets the default bind address for the metrics
// listener
var DefaultBindAddress = ":8080"
// The metrics is off by default.
// TODO: Flip the default by changing DefaultBindAddress back to ":8080" in the v0.2.0.
var DefaultBindAddress = "0"

// NewListener creates a new TCP listener bound to the given address.
func NewListener(addr string) (net.Listener, error) {
Expand Down

0 comments on commit 59aab21

Please sign in to comment.