tracetest

package
v0.0.0-...-a10c930 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Disable

func Disable()

Disable methods disables the tracing.

func Disabled

func Disabled() (cleanup func())

Disabled method disables the tracing test-infra and return cleanup function to be called after test finished. The cleanup function resets the tracing secrets and configuration.

Types

type Options

type Options struct {
	SamplePercent     float32
	DevEmail          string
	LogCallsByDefault bool
}

type SpanRecorder

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

func NewSpanRecorder

func NewSpanRecorder() *SpanRecorder

func NewSpanRecorderWithOptions

func NewSpanRecorderWithOptions(options Options) *SpanRecorder

func (*SpanRecorder) Close

func (sr *SpanRecorder) Close()

func (*SpanRecorder) Ended

func (sr *SpanRecorder) Ended() []map[string]interface{}

Jump to

Keyboard shortcuts

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