veneur: github.com/stripe/veneur/samplers/metricpb/testutils Index | Files

package testutils

import "github.com/stripe/veneur/samplers/metricpb/testutils"

Index

Package Files

random.go

func RandomForwardMetric Uses

func RandomForwardMetric() *metricpb.Metric

RandomForwardMetric generates a metricpb.Metric with most fields initialized to random values.

func RandomForwardMetrics Uses

func RandomForwardMetrics(n int) []*metricpb.Metric

RandomForwardMetrics returns a slice of n random metricpb.Metric's

Package testutils imports 3 packages (graph). Updated 2018-04-11. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).