Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceName string
Functions ¶
func Exporter ¶
func Exporter() (sdktrace.SpanExporter, error)
func Register ¶
func Register(name string, exp ExporterDetector, priority int)
func TracerProvider ¶
func TracerProvider() (trace.TracerProvider, error)
Types ¶
type ExporterDetector ¶
type ExporterDetector func() (sdktrace.SpanExporter, error)
type TraceRecorder ¶ added in v0.11.0
type TraceRecorder struct { sdktrace.SpanExporter // contains filtered or unexported fields }
var Recorder *TraceRecorder
func NewTraceRecorder ¶ added in v0.11.0
func NewTraceRecorder() *TraceRecorder
func (*TraceRecorder) ExportSpans ¶ added in v0.11.0
func (r *TraceRecorder) ExportSpans(ctx context.Context, spans []sdktrace.ReadOnlySpan) error
Click to show internal directories.
Click to hide internal directories.