package testutils
import "github.com/uber/jaeger-lib/metrics/testutils"
Index ¶
- func AssertCounterMetrics(t *testing.T, f *metrics.LocalFactory, expectedMetrics ...ExpectedMetric)
- func AssertGaugeMetrics(t *testing.T, f *metrics.LocalFactory, expectedMetrics ...ExpectedMetric)
- type ExpectedMetric
Functions ¶
func AssertCounterMetrics ¶
func AssertCounterMetrics(t *testing.T, f *metrics.LocalFactory, expectedMetrics ...ExpectedMetric)
AssertCounterMetrics checks if counter metrics exist.
func AssertGaugeMetrics ¶
func AssertGaugeMetrics(t *testing.T, f *metrics.LocalFactory, expectedMetrics ...ExpectedMetric)
AssertGaugeMetrics checks if gauge metrics exist.
Types ¶
type ExpectedMetric ¶
ExpectedMetric contains metrics under test.
Source Files ¶
- Version
- v1.1.0
- Published
- Sep 10, 2017
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 56 minutes ago –
Tools for package owners.