Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCounter ¶
Asserts that a counter metric has the given value
func AssertGauge ¶
Asserts that a gauge metric has the current value
func TestSetupMetrics ¶
Returns an in memory metrics sink for tests to assert metrics are emitted. Do not enable t.Parallel() since this relies on the global metrics instance.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.