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

# Functions

NewConfiguration creates a `Configuration` object with default values.
NewSpan is the OpenTracing Span constructor.
NewTextMapPropagator returns a new propagator which uses opentracing.TextMap to inject and extract values.
NewTracer uses a Configuration object to initialize a Datadog Tracer.

# Constants

Error defines an error.
ResourceName defines the Resource name for the Span.
ServiceName defines the Service name for this Span.
SpanType defines the Span type (web, db, cache).

# Structs

Configuration struct configures the Datadog tracer.
Span represents an active, un-finished span in the OpenTracing system.
SpanContext represents Span state that must propagate to descendant Spans and across process boundaries.
TextMapPropagator implements a propagator which uses opentracing.TextMap internally.
Tracer is a simple, thin interface for Span creation and SpanContext propagation.

# Interfaces

Propagator implementations should be able to inject and extract SpanContexts into an implementation specific carrier.