tracer

package
v1.43.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 4 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetTracer deprecated

func SetTracer(t Tracer)

SetTracer can be used for your own tracing (for example, with Lightstep).

Deprecated: Use otel.SetTracerProvider.

Types

type NoOpSpan

type NoOpSpan = noop.Span

type NoOpTracer

type NoOpTracer = noop.Tracer

type Span

type Span = trace.Span

func Start deprecated

func Start(ctx context.Context, spanName string, opts ...any) (context.Context, Span)

Start a new span.

Deprecated: Use otel.Tracer for your service, and call Start on it instead.

type Tracer

type Tracer = trace.Tracer

type TracerProvider added in v1.41.0

type TracerProvider = trace.TracerProvider

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL