Documentation ¶
Overview ¶
Package tracing provides filters to instrument distributed tracing.
Index ¶
Constants ¶
View Source
const ( // Deprecated, use filters.TracingSpanNameName instead SpanNameFilterName = filters.TracingSpanNameName // OpenTracingProxySpanKey is the key used in the state bag to pass the span name to the proxy. OpenTracingProxySpanKey = "statebag:opentracing:proxy:span" )
View Source
const ( // Deprecated, use filters.TracingBaggageToTagName instead BaggageToTagFilterName = filters.TracingBaggageToTagName )
View Source
const ( // Deprecated, use filters.StateBagToTagName instead StateBagToTagFilterName = filters.StateBagToTagName )
Variables ¶
This section is empty.
Functions ¶
func NewBaggageToTagFilter ¶ added in v0.10.274
func NewSpanName ¶
NewSpanName creates a filter spec for setting the name of the outgoing span. (By default "proxy".)
tracingSpanName("example-operation")
func NewStateBagToTag ¶ added in v0.11.143
func NewTagFromResponse ¶ added in v0.18.4
NewTagFromResponse creates a filter similar to NewTag, but applies tags after the request has been processed.
func NewTagFromResponseIfStatus ¶ added in v0.21.181
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.