traceutils

package
v1.0.0-alpha.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHTTPSpanName

func GetHTTPSpanName(r *http.Request) string

GetHTTPSpanName grab needed fields from *http.Request to generate a span name for `http.server` span op.

func OutgoingHeaders

func OutgoingHeaders(ctx context.Context, existing string, withTraceparent bool) (trace, baggage, traceparent string)

OutgoingHeaders selects the Sentry trace, merges existing baggage, and derives W3C traceparent from that same selection.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL