telemetrytest

package
v0.0.0-...-eee30f5 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Discard

func Discard() *telemetry.Provider

Discard all telemetry.

Types

type Memory

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

Record of the telemetry.

func Provider

func Provider() (provider *telemetry.Provider, mem *Memory)

Provider for telemetrytest.

func (*Memory) Log

func (mem *Memory) Log() string

Log of the telemetry.

func (*Memory) Meter

func (mem *Memory) Meter() string

Meter of the telemetry.

func (*Memory) Reset

func (mem *Memory) Reset()

Reset the recorded telemetry.

func (*Memory) Trace

func (mem *Memory) Trace() []sdktrace.ReadOnlySpan

Trace returns the recorded spans.

Jump to

Keyboard shortcuts

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