Documentation ¶
Overview ¶
Package stages_latency is the nterface to events_stages_summary_global_by_event_name
Index ¶
- type Row
- type Rows
- type StagesLatency
- func (sl *StagesLatency) Collect()
- func (sl StagesLatency) Description() string
- func (sl StagesLatency) EmptyRowContent() string
- func (sl StagesLatency) HaveRelativeStats() bool
- func (sl *StagesLatency) Headings() string
- func (sl StagesLatency) Len() int
- func (sl StagesLatency) RowContent() []string
- func (sl *StagesLatency) SetFirstFromLast()
- func (sl StagesLatency) TotalRowContent() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
Row contains the information in one row
type Rows ¶
type Rows []Row
Rows contains a slice of Rows
type StagesLatency ¶ added in v0.7.16
type StagesLatency struct { baseobject.BaseObject // embedded Results Rows // results (maybe with subtraction) Totals Row // totals of results // contains filtered or unexported fields }
StagesLatency provides a public view of object
func NewStagesLatency ¶ added in v0.7.6
func NewStagesLatency(ctx *context.Context, db *sql.DB) *StagesLatency
NewStagesLatency returns a stages_latency StagesLatency
func (*StagesLatency) Collect ¶ added in v0.7.16
func (sl *StagesLatency) Collect()
Collect collects data from the db, updating initial values if needed, and then subtracting initial values if we want relative values, after which it stores totals.
func (StagesLatency) Description ¶ added in v0.7.16
func (sl StagesLatency) Description() string
Description describe the stages
func (StagesLatency) EmptyRowContent ¶ added in v0.7.16
func (sl StagesLatency) EmptyRowContent() string
EmptyRowContent returns an empty row
func (StagesLatency) HaveRelativeStats ¶ added in v0.7.16
func (sl StagesLatency) HaveRelativeStats() bool
HaveRelativeStats is true for this object
func (*StagesLatency) Headings ¶ added in v0.7.16
func (sl *StagesLatency) Headings() string
Headings returns the headings of the object
func (StagesLatency) Len ¶ added in v0.7.16
func (sl StagesLatency) Len() int
Len returns the length of the result set
func (StagesLatency) RowContent ¶ added in v0.7.16
func (sl StagesLatency) RowContent() []string
RowContent returns a slice of strings containing the row content
func (*StagesLatency) SetFirstFromLast ¶ added in v0.7.16
func (sl *StagesLatency) SetFirstFromLast()
SetFirstFromLast resets the statistics to current values
func (StagesLatency) TotalRowContent ¶ added in v0.7.16
func (sl StagesLatency) TotalRowContent() string
TotalRowContent returns a row containing the totals