datadog

package
v0.0.0-...-f9d6e01 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

type Tracer struct {
}

Tracer is an Datadog implementation of a Tracer.

func (*Tracer) GetLogFields

func (t *Tracer) GetLogFields(ctx *spcontext.Context) []interface{}

GetLogFields returns the fields which should be used in a log message in this context.

func (*Tracer) OnSpanClose

func (t *Tracer) OnSpanClose(ctx *spcontext.Context, err error, fields []interface{}, drop, analyze bool)

OnSpanClose is called when a span is closed.

func (*Tracer) OnSpanStart

func (t *Tracer) OnSpanStart(ctx *spcontext.Context, name, resource string) *spcontext.Context

OnSpanStart is called when a new span is created.

Jump to

Keyboard shortcuts

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