Remove unused RPCMonitor struct
This commit is contained in:
parent
68fdd60812
commit
e00fd3253f
|
|
@ -10,11 +10,9 @@ import (
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/jmhodges/clock"
|
|
||||||
"github.com/letsencrypt/boulder/Godeps/_workspace/src/github.com/cactus/go-statsd-client/statsd"
|
"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)
|
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
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue