package testonly

import "github.com/google/trillian/monitoring/testonly"

Index

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

metrics.go

Version
v1.0.6
Published
Feb 1, 2018
Platform
js/wasm
Imports
2 packages
Last checked
2 hours ago

Tools for package owners.