Documentation ¶
Overview ¶
Package stageslatency is the nterface to events_stages_summary_global_by_event_name
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StagesLatency ¶
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 ¶
func NewStagesLatency(cfg *config.Config, db *sql.DB) *StagesLatency
NewStagesLatency returns a stageslatency StagesLatency
func (*StagesLatency) Collect ¶
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) HaveRelativeStats ¶
func (sl StagesLatency) HaveRelativeStats() bool
HaveRelativeStats is true for this object
func (*StagesLatency) ResetStatistics ¶ added in v1.1.0
func (sl *StagesLatency) ResetStatistics()
ResetStatistics resets the statistics to current values
Click to show internal directories.
Click to hide internal directories.