package testonly
import "github.com/google/trillian/monitoring/testonly"
Index ¶
- func TestCounter(t *testing.T, factory monitoring.MetricFactory)
- func TestGauge(t *testing.T, factory monitoring.MetricFactory)
- func TestHistogram(t *testing.T, factory monitoring.MetricFactory)
Functions ¶
func TestCounter ¶
func TestCounter(t *testing.T, factory monitoring.MetricFactory)
TestCounter runs a test on a Counter produced from the provided MetricFactory.
func TestGauge ¶
func TestGauge(t *testing.T, factory monitoring.MetricFactory)
TestGauge runs a test on a Gauge produced from the provided MetricFactory.
func TestHistogram ¶
func TestHistogram(t *testing.T, factory monitoring.MetricFactory)
TestHistogram runs a test on a Histogram produced from the provided MetricFactory.
Source Files ¶
- Version
- v1.2.0
- Published
- Jun 22, 2018
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 6 hours ago –
Tools for package owners.