package
0.0.3
Repository: https://github.com/tinhminhtue/go-reused-lib.git
Documentation: pkg.go.dev

# Functions

Extract extracts the inbound HTTP request to obtain the parent span's context to ensure correct propagation of span context throughout the trace.
Inject injects the outbound HTTP request with the given span's context to ensure correct propagation of span context throughout the trace.
NewFileExporter returns a console exporter.
No description provided by the author
StartSpanFromRequest extracts the parent span context from the inbound HTTP request and starts a new child span if there is a parent span.