Versions in this module Expand all Collapse all v1 v1.1.0 Apr 10, 2023 v1.0.0 Dec 7, 2016 Changes in this version + type ContainerMetricChainer interface + Send func() error + SetTag func(key, value string) ContainerMetricChainer + type CounterChainer interface + Add func(delta uint64) error + Increment func() error + SetTag func(key, value string) CounterChainer + type EventEmitter interface + Emit func(events.Event) error + EmitEnvelope func(*events.Envelope) error + Origin func() string + type MetricSender struct + func NewMetricSender(eventEmitter EventEmitter) *MetricSender + func (ms *MetricSender) AddToCounter(name string, delta uint64) error + func (ms *MetricSender) ContainerMetric(appID string, instance int32, cpu float64, mem, disk uint64) ContainerMetricChainer + func (ms *MetricSender) Counter(name string) CounterChainer + func (ms *MetricSender) IncrementCounter(name string) error + func (ms *MetricSender) Send(ev events.Event) error + func (ms *MetricSender) SendContainerMetric(applicationId string, instanceIndex int32, cpuPercentage float64, ...) error + func (ms *MetricSender) SendValue(name string, value float64, unit string) error + func (ms *MetricSender) Value(name string, value float64, unit string) ValueChainer + type ValueChainer interface + Send func() error + SetTag func(key, value string) ValueChainer