Versions in this module Expand all Collapse all v0 v0.2.99 Oct 24, 2023 Changes in this version + type Option interface + func WithDeploymentEnvironment(env string) Option + func WithEnableCompression() Option + func WithEnableMetrics(enableMetrics bool) Option + func WithEnableTracing(enableTracing bool) Option + func WithExportEndpoint(endpoint string) Option + func WithHeaders(headers map[string]string) Option + func WithInsecure() Option + func WithMeterProvider(meterProvider *metric.MeterProvider) Option + func WithResource(resource *resource.Resource) Option + func WithResourceAttribute(rAttr attribute.KeyValue) Option + func WithResourceAttributes(rAttrs []attribute.KeyValue) Option + func WithResourceDetector(detector resource.Detector) Option + func WithSampler(sampler sdktrace.Sampler) Option + func WithSdkTracerProvider(sdkTracerProvider *sdktrace.TracerProvider) Option + func WithServiceName(serviceName string) Option + func WithServiceNamespace(namespace string) Option + func WithTextMapPropagator(p propagation.TextMapPropagator) Option + type OtelProvider interface + Shutdown func(ctx context.Context) error + func NewOpenTelemetryProvider(opts ...Option) OtelProvider