package
1.0.0
Repository: https://github.com/0angelic0/dd-trace-go.git
Documentation: pkg.go.dev

# Functions

ExtractSpanContext retrieves the SpanContext from a kafka.Message.
NewReader calls kafka.NewReader and wraps the resulting Consumer.
NewWriter calls kafka.NewWriter and wraps the resulting Producer.
WrapReader wraps a kafka.Reader so that any consumed events are traced.
WrapWriter wraps a kafka.Writer so requests are traced.

# Variables

WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithDataStreams enables the Data Streams monitoring product features: https://www.datadoghq.com/product/data-streams-monitoring/.
WithServiceName sets the config service name to serviceName.

# Structs

A Reader wraps a kafka.Reader.
Writer wraps a kafka.Writer with tracing config data.

# Type aliases

An Option customizes the config.