diff --git a/metrics/metrics.go b/metrics/metrics.go index 980973ea2..96bf86639 100644 --- a/metrics/metrics.go +++ b/metrics/metrics.go @@ -10,11 +10,9 @@ import ( "net" "net/http" "strings" - "sync" "sync/atomic" "time" - "github.com/jmhodges/clock" "github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cactus/go-statsd-client/statsd" ) @@ -87,12 +85,3 @@ func (h *HTTPMonitor) watchAndServe(w http.ResponseWriter, r *http.Request) { } h.stats.TimingDuration(fmt.Sprintf("%s.HTTP.ResponseTime.%s", h.statsPrefix, endpoint), cClosed, 1.0) } - -// RPCMonitor stores rpc delivery state -type RPCMonitor struct { - deliveryTimings map[string]time.Time - dtMu *sync.RWMutex - - stats statsd.Statter - clock clock.Clock -}