Documentation ¶
Index ¶
- func AssertCounterValue(t *testing.T, expected int64, s tally.Snapshot, name string, ...) bool
- func AssertGaugeNil(t *testing.T, s tally.Snapshot, name string, tags map[string]string) bool
- func AssertGaugeValue(t *testing.T, expected float64, s tally.Snapshot, name string, ...) bool
- func CounterMap(m map[string]tally.CounterSnapshot) map[string]int64
- func GaugeMap(m map[string]tally.GaugeSnapshot) map[string]float64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertCounterValue ¶
func AssertCounterValue(t *testing.T, expected int64, s tally.Snapshot, name string, tags map[string]string) bool
AssertCounterValue asserts that the given counter has the expected value.
func AssertGaugeNil ¶
AssertGaugeNil asserts that the given gauge does not exist.
func AssertGaugeValue ¶
func AssertGaugeValue(t *testing.T, expected float64, s tally.Snapshot, name string, tags map[string]string) bool
AssertGaugeValue asserts that the given gauge has the expected value.
func CounterMap ¶ added in v1.2.0
func CounterMap(m map[string]tally.CounterSnapshot) map[string]int64
CounterMap returns the counter map for a snapshot.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.