Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Collect ¶
func Collect(t *testing.T) metricdata.ResourceMetrics
Collect metrics from test reader.
func Init ¶
Init should be called at the beginning of a test to wire up all global metrics to a test reader. Test case should not be running in parallel with any other part of the program that interacts with metrics.
func RequireActiveRequestsMetric ¶
func RequireActiveRequestsMetric(t *testing.T, mets metricdata.ResourceMetrics, model string, val int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.