From acc051bcc4da6f59a788348b3283ee249f202bf2 Mon Sep 17 00:00:00 2001 From: Jimmy Zelinskie Date: Sun, 22 Jan 2017 19:09:08 -0500 Subject: [PATCH] frontend: rm copypasta metric recording Fixes #271. --- frontend/http/frontend.go | 1 - frontend/udp/frontend.go | 1 - 2 files changed, 2 deletions(-) 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.