tracetest

package
v1.57.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 9 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
}

type SpanRecorder added in v1.42.0

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

func NewSpanRecorder added in v1.42.0

func NewSpanRecorder() *SpanRecorder

func NewSpanRecorderWithOptions added in v1.42.0

func NewSpanRecorderWithOptions(options Options) *SpanRecorder

func (*SpanRecorder) Close added in v1.42.0

func (sr *SpanRecorder) Close()

func (*SpanRecorder) Ended added in v1.42.0

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