Documentation ¶
Index ¶
- Variables
- type QueryMetricsHandler
- func (h *QueryMetricsHandler) Get(instanceId, classId uint, begin, end time.Time) (map[string]metrics.Stats, error)
- func (h *QueryMetricsHandler) GetMetricsSparklines(classId uint, instanceId uint, begin, end time.Time) ([]interface{}, error)
- func (h *QueryMetricsHandler) ServerSummary(instanceId uint, begin, end time.Time) (map[string]metrics.Stats, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoMetrics = errors.New("no metrics exist")
)
Functions ¶
This section is empty.
Types ¶
type QueryMetricsHandler ¶
type QueryMetricsHandler struct {
// contains filtered or unexported fields
}
func NewQueryMetricsHandler ¶
func NewQueryMetricsHandler(dbm db.Manager, stats *stats.Stats) *QueryMetricsHandler
func (*QueryMetricsHandler) GetMetricsSparklines ¶ added in v1.0.4
func (*QueryMetricsHandler) ServerSummary ¶ added in v1.0.4
Click to show internal directories.
Click to hide internal directories.