datadog

package
v3.26.1 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGaugeFunc added in v3.7.0

func AddGaugeFunc(name string, f GaugeFunc)

func Enabled added in v3.2.0

func Enabled() bool

func Init

func Init()

func ObserveBufferSize added in v3.7.0

func ObserveBufferSize(t string, size int)

func SendError

func SendError(ctx context.Context, errType string, err error)

func SetBufferDefaultSize added in v3.7.0

func SetBufferDefaultSize(t string, size int)

func SetBufferMaxSize added in v3.7.0

func SetBufferMaxSize(t string, size int)

func SetMetadata added in v3.26.0

func SetMetadata(ctx context.Context, key string, value any)

func StartSpan

func StartSpan(ctx context.Context, name string) context.CancelFunc

func Stop

func Stop()

Types

type GaugeFunc added in v3.7.0

type GaugeFunc func() float64

Jump to

Keyboard shortcuts

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