Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChildSpanFromContext ¶
ChildSpanFromContext takes an opname and context.Context and returns a span NB: Using this function will not mean that buffalo metadata won't be attached to the traces in the new Span
func OpenTracing ¶
func OpenTracing(tr opentracing.Tracer) buffalo.MiddlewareFunc
OpenTracing is a buffalo middleware that adds the necessary components to the request to make it traced through OpenTracing. Initialize it by passing in an opentracing.Tracer.
func SpanFromContext ¶
SpanFromContext attempts to retrieve a span from the Buffalo context, returning it if found. If none is found a new one is created.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.