Documentation ¶
Index ¶
- Variables
- type MetricCall
- type Provider
- func (f *Provider) Calls() []MetricCall
- func (f *Provider) Count(name string, value int64, tags []string, rate float64) error
- func (f *Provider) Gauge(name string, value float64, tags []string, rate float64) error
- func (f *Provider) TimeInMilliseconds(name string, value float64, tags []string, rate float64) error
Constants ¶
This section is empty.
Variables ¶
View Source
var CMPMetrics = gocmp.Options{ cmpopts.EquateApprox(0, 4), cmpopts.SortSlices(func(x, y MetricCall) bool { const format = "%s|%s|%s" return fmt.Sprintf(format, x.Metric, x.Name, x.Tags) < fmt.Sprintf(format, y.Metric, y.Name, y.Tags) }), }
Functions ¶
This section is empty.
Types ¶
type MetricCall ¶
Click to show internal directories.
Click to hide internal directories.