Documentation ¶
Overview ¶
Package testutils provides utilities for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetricsFromChannel ¶
func MetricsFromChannel(dataChan chan *metrics.EventMetrics, num int, timeout time.Duration) (results []*metrics.EventMetrics, err error)
MetricsFromChannel reads metrics.EventMetrics from dataChannel with a timeout
func MetricsMap ¶
MetricsMap rearranges a list of metrics into a map of map.
{ "m1": { "target1": [val1, val2..], "target2": [val1], }, "m2": { ... } }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.