package
0.6.1
Repository: https://github.com/agilebits/dd-trace-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

ContextWithSpan will return a new context that includes the given span.
Disable will disable the default tracer.
Enable will enable the default tracer.
NewChildSpan creates a span that is a child of parent.
NewChildSpanFromContext will create a child span of the span contained in the given context.
NewChildSpanWithContext will create and return a child span of the span contained in the given context, as well as a copy of the parent context containing the created child span.
NewRootSpan creates a span with no parent.
NewSpan creates a new span.
NewTracer creates a new Tracer.
NewTracerTransport create a new Tracer with the given transport.
NewTransport returns a new Transport implementation that sends traces to a trace agent running on the given hostname and port.
NextSpanID returns a new random span id.
SpanFromContext returns the stored *Span from the Context if it's available.
SpanFromContextDefault returns the stored *Span from the Context.

# Variables

DefaultTracer is a global tracer that is enabled by default.

# Structs

No description provided by the author
Span represents a computation.
Tracer creates, buffers and submits Spans which are used to time blocks of compuration.

# Interfaces

Encoder is a generic interface that expects encoding methods for traces and services, and a Read() method that will be used by the http handler.
Transport is an interface for span submission to the agent.