tracing

package
v0.15.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2023 License: Apache-2.0, MIT Imports: 4 Imported by: 4

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 NewBaggageToTagFilter() filters.Spec

func NewSpanName

func NewSpanName() filters.Spec

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 NewStateBagToTag() filters.Spec

func NewTag added in v0.11.12

func NewTag() filters.Spec

NewTag creates a filter specification for the tracingTag filter.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL