Versions in this module Expand all Collapse all v0 v0.5.0 Sep 9, 2021 v0.4.5 Oct 15, 2020 Changes in this version type Option + func WithMaxBufferedSpans(value int) Option v0.4.4 Oct 1, 2020 Changes in this version + func OCProtoSpanToOTelSpanData(span *tracepb.Span) (*trace.SpanData, error) + type Exporter struct + func NewExporter(opts ...Option) (*Exporter, error) + func (e *Exporter) Close() + func (e *Exporter) ExportSpan(ctx context.Context, data *trace.SpanData) + func (e *Exporter) Flush() + type Option func(*config) + func WithAccessToken(accessToken string) Option + func WithHost(host string) Option + func WithPlainText(pt bool) Option + func WithPort(port int) Option + func WithServiceName(serviceName string) Option + func WithServiceVersion(serviceVersion string) Option + func WithSystemMetricMeasurementFrequency(frequency time.Duration) Option + func WithSystemMetricTimeout(timeout time.Duration) Option + func WithSystemMetricsDisabled(disabled bool) Option