diff --git a/frontend/http/frontend.go b/frontend/http/frontend.go index f4f0d34..79d13e8 100644 --- a/frontend/http/frontend.go +++ b/frontend/http/frontend.go @@ -19,7 +19,6 @@ import ( func init() { prometheus.MustRegister(promResponseDurationMilliseconds) - recordResponseDuration("action", nil, time.Second) } // ErrInvalidIP indicates an invalid IP. diff --git a/frontend/udp/frontend.go b/frontend/udp/frontend.go index 419e36d..2f5047d 100644 --- a/frontend/udp/frontend.go +++ b/frontend/udp/frontend.go @@ -20,7 +20,6 @@ import ( func init() { prometheus.MustRegister(promResponseDurationMilliseconds) - recordResponseDuration("action", nil, time.Second) } // ErrInvalidIP indicates an invalid IP.