Documentation
¶
Index ¶
- func FormatHttpStatusCode(httpStatusCode int64) string
- func GetTimeIntervalTag(respTime float64) (ret []string)
- func ModRecorder() func(http.Handler) http.Handler
- func MonitorMe(params MonitorParams)
- func NotFound(w http.ResponseWriter, r *http.Request)
- func PanicLogger(panicMsg interface{}, serviceID string, requestURI string, curTime time.Time)
- type DataDogAgent
- type MonitorParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatHttpStatusCode ¶
func GetTimeIntervalTag ¶
func MonitorMe ¶
func MonitorMe(params MonitorParams)
Types ¶
type DataDogAgent ¶
type DataDogAgent struct {
Client *dogstatsd.Client
}
func (*DataDogAgent) ClientExists ¶
func (d *DataDogAgent) ClientExists() (exists bool)
func (*DataDogAgent) Close ¶
func (d *DataDogAgent) Close()
Click to show internal directories.
Click to hide internal directories.