Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MeterProvider ¶
type MeterProvider struct { embedded.MeterProvider // contains filtered or unexported fields }
func NewMeterProvider ¶
func NewMeterProvider(opts ...Option) *MeterProvider
func (*MeterProvider) Meter ¶
func (c *MeterProvider) Meter(instrumentationName string, opts ...metric.MeterOption) metric.Meter
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option is the interface that applies the value to a configuration option.
func WithInterval ¶ added in v0.9.2
WithInterval sets the intervening time to call observables
func WithResource ¶
WithResource sets the Resource configuration option of a Config by merging it with the Resource configuration in the environment.
func WithStatsdClient ¶
func WithStatsdClient(s statsd.StatSender) Option
WithStatsdClient sets the StatsD client. If not set, a default one will be created.
func WithWorkerChanBufferSize ¶
WithWorkerChanBufferSize sets the size of the worker chan buffer. Default is workers * 10
func WithWorkers ¶
WithWorkers sets the number of Workers. If <= 0, send synchronously
Source Files ¶
Click to show internal directories.
Click to hide internal directories.