tracetest

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 5 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
}

type TraceLog

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

func NewTraceLog

func NewTraceLog() *TraceLog

func NewTraceLogWithOptions

func NewTraceLogWithOptions(options Options) *TraceLog

func (*TraceLog) Close

func (tl *TraceLog) Close()

func (*TraceLog) HoneycombEvents

func (tl *TraceLog) HoneycombEvents() []map[string]interface{}

Jump to

Keyboard shortcuts

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