easyhttpopentracing

package module
v0.0.0-...-f84ee60 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ClientSpanObserver = nethttp.ClientSpanObserver

ClientSpanObserver returns a ClientOption that observes the span for the client-side span.

View Source
var ClientTrace = nethttp.ClientTrace

ClientTrace returns a ClientOption that turns on or off extra instrumentation via httptrace.WithClientTrace.

View Source
var ComponentName = nethttp.ComponentName

ComponentName returns a ClientOption that sets the component name for the client-side span.

View Source
var InjectSpanContext = nethttp.InjectSpanContext

InjectSpanContext returns a ClientOption that turns on or off injection of the Span context in the request HTTP headers. If this option is not used, the default behaviour is to inject the span context.

View Source
var OperationName = nethttp.OperationName

OperationName returns a ClientOption that sets the operation name for the client-side span.

View Source
var URLTagFunc = nethttp.URLTagFunc

URLTagFunc returns a ClientOption that uses given function f to set the span's http.url tag. Can be used to change the default http.url tag, eg to redact sensitive information.

Functions

func Opentracing

func Opentracing(tracer opentracing.Tracer, opts ...Option) easyhttp.Interceptor

Types

type Option

type Option = nethttp.ClientOption

Jump to

Keyboard shortcuts

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