Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DBCacheQuery ¶
type DBCacheQuery struct {
// contains filtered or unexported fields
}
DBCacheQuery is a database cache query metric measurer.
type DBQuery ¶
type DBQuery struct {
// contains filtered or unexported fields
}
DBQuery is a database query metric measurer.
type GRPCRequest ¶
type GRPCRequest struct {
// contains filtered or unexported fields
}
GRPCRequest is a grpc request metric measurer.
type HTTPRequest ¶
type HTTPRequest struct {
// contains filtered or unexported fields
}
HTTPRequest is a new http request metric measurer.
type Module ¶
type Module struct {
// contains filtered or unexported fields
}
Module represents a statsd metrics collector.
func (*Module) NewDBCacheQuery ¶
func (m *Module) NewDBCacheQuery(name string) metrics.DBCacheQuery
NewDBCacheQuery creates a new db cache query metrics collector.
func (*Module) NewDBQuery ¶
NewDBQuery creates a new db query metrics collector.
func (*Module) NewGRPCRequest ¶
func (m *Module) NewGRPCRequest(method string) metrics.GRPCRequest
NewGRPCRequest creates a new grpc request metrics collector.
func (*Module) NewHTTPRequest ¶
func (m *Module) NewHTTPRequest(method, path string) metrics.HTTPRequest
NewHTTPRequest creates a new db query metrics collector.
Click to show internal directories.
Click to hide internal directories.