tracing

package
v0.0.1-beta1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts ...loader.Option) loader.Loader

func WithConfig

func WithConfig(cfg Config) loader.Option

WithConfig sets the logger config

Types

type Config

type Config struct {
	Endpoint   string
	Sampler    float64
	Batcher    string
	Attributes []attribute.KeyValue
}

type Tracing

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

func (*Tracing) Init

func (loader *Tracing) Init(...loader.Option) (err error)

func (*Tracing) Start

func (loader *Tracing) Start(ctx context.Context) error

func (*Tracing) Stop

func (loader *Tracing) Stop(ctx context.Context) error

func (*Tracing) String

func (loader *Tracing) String() string

func (*Tracing) Watch

func (loader *Tracing) Watch() error

Jump to

Keyboard shortcuts

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