trace

package
v2.2.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInstance

func GetInstance() *tracePlugin

GetInstance returns the tracePlugin instance existing or creates a new instance and then returns it

func GetSampler

func GetSampler() samplers.Sampler

func New

func New() *tracePlugin

New returns a new trace object.

func SetSampler

func SetSampler(sampler samplers.Sampler)

Types

type Data

type Data struct {
	StartTime          int64
	FinishTime         int64
	Duration           int64
	Errors             []string
	ThrownError        interface{}
	ThrownErrorMessage interface{}
	PanicInfo          *panicInfo
	ErrorInfo          *errorInfo
	Timeout            bool
}

Data collects information related to trace plugin per invocation.

Jump to

Keyboard shortcuts

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