tracing

package
v0.10.26 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2018 License: Apache-2.0, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package tracing provides filters to instrument distributed tracing.

Index

Constants

View Source
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"
)

Variables

This section is empty.

Functions

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")

EXPERIMENTAL: this filter is experimental, and the name and the arguments can change until marked as stable.

Types

This section is empty.

Jump to

Keyboard shortcuts

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