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 }
Click to show internal directories.
Click to hide internal directories.