Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromContextAndSpan ¶ added in v0.2.0
func FromContextAndSpan(ctx context.Context, span opentracing.Span) servicectx.Properties
FromContextAndSpan retrieves properties from Go context and from span's context. This is convenient when the properties can be set both in application code via context and from outside world by opentracing. The properties from Go context have a preference over span's context.
func FromSpan ¶
func FromSpan(span opentracing.Span) servicectx.Properties
FromSpan retrieves properties from span
func FromSpanContext ¶
func FromSpanContext(spanCtx opentracing.SpanContext) servicectx.Properties
FromSpanContext retrieves properties from span's context
func InjectIntoSpan ¶
func InjectIntoSpan(span opentracing.Span, props servicectx.Properties)
InjectIntoSpan adds properties into span's baggage
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.