Documentation ¶
Index ¶
- func GetTracer() trace.Tracer
- func InitTraceProvider(ctx context.Context) (*sdktrace.TracerProvider, error)
- func NewTransport(inner http.RoundTripper) http.RoundTripper
- func RecordError(span trace.Span, err error, description string)
- func SpanFromContext(ctx context.Context, appName, spanName string, opts ...trace.SpanStartOption) (context.Context, trace.Span)
- type InstrumentedTransport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitTraceProvider ¶
func InitTraceProvider(ctx context.Context) (*sdktrace.TracerProvider, error)
func NewTransport ¶
func NewTransport(inner http.RoundTripper) http.RoundTripper
Types ¶
type InstrumentedTransport ¶
type InstrumentedTransport struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.