package
0.0.0-20200829024228-19284bb65194
Repository: https://github.com/aclk/goblog.git
Documentation: pkg.go.dev

# Functions

AddTracingToReq adds tracing information to an OUTGOING HTTP request.
AddTracingToReqFromContext adds tracing information to an OUTGOING HTTP request.
No description provided by the author
CarrierToMap converts a TextMapCarrier to the amqp headers format.
CloseSpan logs event finishes span.
InitTracing connects the calling service to Zipkin and initializes the tracer.
LogEventToOngoingSpan extracts span from context and adds LogEvent.
MapToCarrier converts a generic map to opentracing http headers carrier.
SetTracer can be used by unit tests to provide a NoopTracer instance.
StartChildSpanFromContext starts a child span from span within the supplied context, if available.
StartHTTPTrace loads tracing information from an INCOMING HTTP request.
StartSpanFromContext starts a span.
StartSpanFromContextWithLogEvent starts span from context with logevent.
StartTraceFromCarrier extracts tracing info from a generic map and starts a new span.
UpdateContext updates the supplied context with the supplied span.