Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultRes int64 = 1500 DefaultMinInterval = time.Second * 15 )
Functions ¶
func CalcPointInterval ¶
CalcPointInterval calculates the appropriate interval between each point (aka step) Note that its main usage is with SelectSeries, therefore its * inputs are in ms * output is in seconds
func New ¶
func New(series *v1.Series, startMs int64, endMs int64, durationDeltaSec int64) *flamebearer.FlamebearerTimelineV1
New generates a FlamebearerTimeline, backfilling any missing data with zeros. If startMs or endMs are in the middle of its durationDeltaSec bucket, they will be snapped to the beginning of that bucket.
It assumes: * Ordered * Series timestamps are within [startMs, endMs)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.