Skip to content

Commit bd3f10e

Browse files
jkorzekwa-atlassianojongerius
authored andcommitted
Change DataPoint to array of pointers (#146)
1 parent 6c08e23 commit bd3f10e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

series.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515

1616
// DataPoint is a tuple of [UNIX timestamp, value]. This has to use floats
1717
// because the value could be non-integer.
18-
type DataPoint [2]float64
18+
type DataPoint [2]*float64
1919

2020
// Metric represents a collection of data points that we might send or receive
2121
// on one single metric line.

0 commit comments

Comments
 (0)