package
0.0.0-20210607135310-a1b153e96659
Repository: https://github.com/ch1f/otel.git
Documentation: pkg.go.dev

# Functions

New returns a *Controller configured with an aggregation selector and options.
WithCachePeriod sets the CachePeriod configuration option of a Config.
WithResource sets the Resource configuration option of a Config.

# Constants

DefaultCachePeriod determines how long a recently-computed result will be returned without gathering metric data again.

# Structs

Config contains configuration for a pull Controller.
Controller manages access to a *sdk.Accumulator and *basic.Processor.

# Interfaces

Option is the interface that applies the value to a configuration option.