Documentation ¶ Index ¶ type Value func DownsampleCounterResets(prevFrameLastValue float64, frameValues []float64, results []Value) []Value Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Value ¶ type Value struct { // FrameIndex is the index to the original datapoint within source frame (before downsampling). FrameIndex int // Value is a downsampled datapoint value. Value float64 } Value represents a datapoint value after downsampling. func DownsampleCounterResets ¶ func DownsampleCounterResets( prevFrameLastValue float64, frameValues []float64, results []Value, ) []Value Source Files ¶ View all Source files counter_resets_downsampler.go Click to show internal directories. Click to hide internal directories.