metrics_address should be optional parameter (#2087)

This commit is contained in:
wasaga 2021-04-13 15:56:35 -04:00 committed by GitHub
parent 1dcccf2b56
commit c12c0aab49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 16 deletions

View file

@ -1,7 +1,6 @@
package registry
import (
"errors"
"time"
)
@ -15,9 +14,3 @@ const (
// path metrics are available at
defaultMetricsPath = "/metrics"
)
var (
errNoMetricsAddr = errors.New("no metrics address provided")
errNoMetricsPort = errors.New("no metrics port provided")
errNoMetricsHost = errors.New("no metrics host provided")
)