Documentation ¶
Index ¶
- func GenerateMetrics(n int, startValue, endValue, stepValue float64) []float64
- func MaxInt(a, b int) int
- func MetricDataIsEqual(d1, d2 *types.MetricData, compareTags bool) bool
- func NearlyEqual(a, b []float64) bool
- func NearlyEqualMetrics(a, b *types.MetricData) bool
- func TestMetricData(t *testing.T, got, want []*types.MetricData)
- func TestMetricDataEqLen(t *testing.T, got, want []*types.MetricData)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateMetrics ¶
func MetricDataIsEqual ¶
func MetricDataIsEqual(d1, d2 *types.MetricData, compareTags bool) bool
func NearlyEqual ¶
func NearlyEqualMetrics ¶
func NearlyEqualMetrics(a, b *types.MetricData) bool
func TestMetricData ¶
func TestMetricData(t *testing.T, got, want []*types.MetricData)
func TestMetricDataEqLen ¶
func TestMetricDataEqLen(t *testing.T, got, want []*types.MetricData)
Validate test case values length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.