datadog

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(originalConfig tracing.Config) (tracing.Tracing, error)

Types

type Tracing

type Tracing struct {
}

func (*Tracing) AttachTag added in v0.0.8

func (t *Tracing) AttachTag(ctx context.Context, key string, value interface{})

func (*Tracing) CreateRootMux

func (t *Tracing) CreateRootMux() (*mux.Router, http.Handler)

func (*Tracing) DynamicFields added in v0.0.8

func (t *Tracing) DynamicFields() []log.DynamicFields

func (*Tracing) StartSpanFromContext added in v0.0.15

func (t *Tracing) StartSpanFromContext(ctx context.Context, cfg tracing.SpanConfig, callback func(ctx context.Context) error) (retErr error)

func (*Tracing) WrapRoundTrip

func (t *Tracing) WrapRoundTrip(rt http.RoundTripper) http.RoundTripper

Jump to

Keyboard shortcuts

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