fakes

package
v0.0.0-...-02209d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFakeMetricSubmitter

func NewFakeMetricSubmitter() instrumentation.MetricSubmitter

Types

type FakeMetricSubmitter

type FakeMetricSubmitter struct {
	MetricValuePairs []MetricValuePair
}

func (*FakeMetricSubmitter) SendMetric

func (metricSubmitter *FakeMetricSubmitter) SendMetric(value int, metric instrumentation.Metric)

func (*FakeMetricSubmitter) SendMetricToNamespace

func (metricSubmitter *FakeMetricSubmitter) SendMetricToNamespace(value int, metric instrumentation.Metric, accountName, namespaceName string)

type MetricValuePair

type MetricValuePair struct {
	Metric instrumentation.Metric
	Value  int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL