Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatDebugStats ¶
FormatDebugStats returns a printable version of debug stats.
Types ¶
type Server ¶
type Server struct { Statistics *util.Stats Started bool // contains filtered or unexported fields }
Server represent a Dogstatsd server
func NewServer ¶
func NewServer(metricOut chan<- []*metrics.MetricSample, eventOut chan<- []*metrics.Event, serviceCheckOut chan<- []*metrics.ServiceCheck) (*Server, error)
NewServer returns a running Dogstatsd server
func (*Server) GetJSONDebugStats ¶
GetJSONDebugStats returns jsonified debug statistics.
Click to show internal directories.
Click to hide internal directories.