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

# Functions

Middleware returns echo middleware which will trace incoming requests.
NoDebugStack prevents stack traces from being attached to spans finishing with an error.
WithAnalytics enables Trace Analytics for all started spans.
WithAnalyticsRate sets the sampling rate for Trace Analytics events correlated to started spans.
WithCustomTag will attach the value to the span tagged by the key.
WithErrorCheck sets the func which determines if err would be ignored (if it returns true, the error is not tagged).
WithErrorTranslator sets a function to translate Go errors into echo Errors.
WithHeaderTags enables the integration to attach HTTP request headers as span tags.
WithIgnoreRequest sets a function which determines if tracing will be skipped for a given request.
WithServiceName sets the given service name for the system.
WithStatusCheck specifies a function fn which reports whether the passed statusCode should be considered an error.

# Type aliases

IgnoreRequestFunc determines if tracing will be skipped for a request.
Option represents an option that can be passed to Middleware.