tracetest

package
v1.102.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 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 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