Skip to content

Commit f332dbe

Browse files
author
Mengqi Yu
committed
✨ change metrics default to off
1 parent 8f98fb7 commit f332dbe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/metrics/listener.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ import (
2323

2424
// DefaultBindAddress sets the default bind address for the metrics
2525
// listener
26-
var DefaultBindAddress = ":8080"
26+
// The metrics is off by default.
27+
// TODO: Flip the default by changing DefaultBindAddress back to ":8080" in the v0.2.0.
28+
var DefaultBindAddress = "0"
2729

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

0 commit comments

Comments
 (0)