Versions in this module Expand all Collapse all v0 v0.4.4 Sep 2, 2021 Changes in this version + type Clock interface + Now func() time.Time + Ticker func(time.Duration) Ticker + type Config struct + ErrorHandler sdk.ErrorHandler + Resource *resource.Resource + type Controller struct + func New(batcher export.Batcher, exporter export.Exporter, period time.Duration, ...) *Controller + func (c *Controller) Meter(name string) metric.Meter + func (c *Controller) SetClock(clock Clock) + func (c *Controller) SetErrorHandler(errorHandler sdk.ErrorHandler) + func (c *Controller) Start() + func (c *Controller) Stop() + type Option interface + Apply func(*Config) + func WithErrorHandler(fn sdk.ErrorHandler) Option + func WithResource(r *resource.Resource) Option + type Ticker interface + C func() <-chan time.Time + Stop func()