trace

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracer

func InitTracer(trConf TracingConf, opts ...Option)

Types

type Option

type Option func(tr *tracingConfig)

func WithEndpoint

func WithEndpoint(endpoint string) Option

func WithRatioBased

func WithRatioBased(fraction float64) Option

func WithServiceName

func WithServiceName(name string) Option

type TracingConf

type TracingConf interface {
	GetEndpoint() string
	GetCustomName() string
}

Jump to

Keyboard shortcuts

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