package
2.0.0+incompatible
Repository: https://github.com/fredbi/go-trace.git
Documentation: pkg.go.dev

# Functions

IsHealthEndpoint instructs the tracer to skip tracing when the function returns true.
IsPublicEndpoint instructs the tracer to consider incoming trace metadata as a linked trace rather than a parent (for publicly accessible servers).
OCHTTP is a middleware that wraps go.opencensus.io/plugin/ochttp for a more idiomatic usage.
WithFormat overrides the trace propagation format (default is B3).
WithFormatSpanName injects a function to determine the span name according to the request.
WithGetStartOptions enables trace start options such a overriding the span kind or adding a sampler, on a per request basis.
WithRoute decorates the trace with an extra route tag.
WithStartOptions enables trace start options such a overriding the span kind or adding a sampler.

# Type aliases

No description provided by the author