datadog

package
v0.0.0-...-1e8dc9b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sink

type Sink struct {
	// contains filtered or unexported fields
}

Sink describes a datadog tracer sink

func New

func New() Sink

New initiated datadog tracer sink

func (Sink) GetLoggableTraceContext

func (Sink) GetLoggableTraceContext(span trace.Span) []interface{}

GetLoggableTraceContext returns a Datadog-friendly trace context for logs It allows to connect logs with corresponding traces and spans.

func (Sink) GetProvider

func (d Sink) GetProvider() trace.TracerProvider

GetProvider returns this sink's provider for otel

func (Sink) GetSinkName

func (d Sink) GetSinkName() string

GetSinkName returns the name of the sink (datadog)

func (Sink) Stop

func (d Sink) Stop() error

Stop shutdowns the datadog provider for otel

Jump to

Keyboard shortcuts

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