Package tracing provides filters to instrument distributed tracing.
const ( // SpanNameFilterName is the name of the filter in eskip. SpanNameFilterName = "tracingSpanName" // OpenTracingProxySpanKey is the key used in the state bag to pass the span name to the proxy. OpenTracingProxySpanKey = "statebag:opentracing:proxy:span" )
const ( BaggageToTagFilterName = "tracingBaggageToTag" )
NewSpanName creates a filter spec for setting the name of the outgoing span. (By default "proxy".)
EXPERIMENTAL: this filter is experimental, and the name and the arguments can change until marked as stable.
NewTag creates a filter specification for the tracingTag filter.