Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FBAdapter ¶
type FBAdapter struct {
// contains filtered or unexported fields
}
FBAdapter provides a facebookgo/stats client interface that sends metrics via a StatsD client
func NewFBAdapter ¶
NewFBAdapter returns a new adapter
func (FBAdapter) BumpHistogram ¶
BumpHistogram isn't used by facebookgo/httpdown
type HTTPMonitor ¶
type HTTPMonitor struct {
// contains filtered or unexported fields
}
HTTPMonitor stores some server state
func NewHTTPMonitor ¶
NewHTTPMonitor returns a new initialized HTTPMonitor
func (*HTTPMonitor) Handle ¶
func (h *HTTPMonitor) Handle() http.Handler
Handle wraps handlers and records various metrics about requests to these handlers and sends them to StatsD
Click to show internal directories.
Click to hide internal directories.