report

package
v2.0.0-beta2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2019 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ByQueryTime

type ByQueryTime []*qanpb.MetricsBucket

func (ByQueryTime) Len

func (a ByQueryTime) Len() int

func (ByQueryTime) Less

func (a ByQueryTime) Less(i, j int) bool

func (ByQueryTime) Swap

func (a ByQueryTime) Swap(i, j int)

type Report

type Report struct {
	StartTs time.Time              // Start time of interval, UTC
	EndTs   time.Time              // Stop time of interval, UTC
	Buckets []*qanpb.MetricsBucket // per-class metrics
}

func MakeReport

func MakeReport(startTime, endTime time.Time, result *Result) *Report

type Result

type Result struct {
	Buckets []*qanpb.MetricsBucket
}

Data for an interval from slow log or performance schema (pfs) parser, passed to MakeReport() which transforms into a qan.Report{}.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL