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

# Functions

New constructs a Controller, an implementation of metric.Provider, using the provided exporter and options to configure an SDK with periodic collection.
WithPeriod sets the Period configuration option of a Config.
WithResource sets the Resource configuration option of a Config.
WithTimeout sets the Timeout configuration option of a Config.

# Constants

DefaultPushPeriod is the default time interval between pushes.

# Structs

Config contains configuration for a push Controller.
Controller organizes a periodic push of metric data.

# Interfaces

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