Versions in this module Expand all Collapse all v2 v2.2.3 Jun 24, 2022 Changes in this version + func NewFileExporter(outputPath string, opts ...stdouttrace.Option) sdktrace.SpanExporter + func NewJaegerExporter(opt jaeger.EndpointOption) sdktrace.SpanExporter + func NewNoopExporter() sdktrace.SpanExporter + type AfterCtx struct + Input struct{ ... } + Output struct{} + func NewAfterCtx() *AfterCtx + type BeforeCtx struct + Input struct{ ... } + Output struct{ ... } + func NewBeforeCtx() *BeforeCtx + type BootConfig struct + Enabled bool + Exporter struct{ ... } + Ignore []string + type NoopExporter struct + func (nsb *NoopExporter) ExportSpans(context.Context, []sdktrace.ReadOnlySpan) error + func (nsb *NoopExporter) Shutdown(context.Context) error + type Option func(*optionSet) + func ToOptions(config *BootConfig, entryName, entryType string) []Option + func WithEntryNameAndType(entryName, entryType string) Option + func WithExporter(exporter sdktrace.SpanExporter) Option + func WithMockOptionSet(mock OptionSetInterface) Option + func WithPathToIgnore(paths ...string) Option + func WithPropagator(propagator propagation.TextMapPropagator) Option + func WithSpanProcessor(processor sdktrace.SpanProcessor) Option + func WithTracerProvider(provider *sdktrace.TracerProvider) Option + type OptionSetInterface interface + After func(before *BeforeCtx, after *AfterCtx) + AfterCtx func(resCode int, resMsg string, attrs ...attribute.KeyValue) *AfterCtx + Before func(*BeforeCtx) + BeforeCtx func(req *http.Request, isClient bool, attrs ...attribute.KeyValue) *BeforeCtx + GetEntryName func() string + GetEntryType func() string + GetPropagator func() propagation.TextMapPropagator + GetProvider func() *sdktrace.TracerProvider + GetTracer func() oteltrace.Tracer + ShouldIgnore func(string) bool + func NewOptionSet(opts ...Option) OptionSetInterface + func NewOptionSetMock(before *BeforeCtx, after *AfterCtx, tracer oteltrace.Tracer, ...) OptionSetInterface