point

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertListEq

func AssertListEq(t *testing.T, expected, actual []Point)

Types

type Point

type Point struct {
	Metric    string
	Time      int32
	Value     float64
	Timestamp int32 // keep max if metric and time equal on two points
	MetricID  int
}

func CleanUp

func CleanUp(points []Point) []Point

CleanUp removes points with empty metric for run after Deduplicate, Merge, etc for result cleanup

func Uniq

func Uniq(points []Point) []Point

Uniq removes points with equal metric and time

Jump to

Keyboard shortcuts

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