mocktracing

package
v0.0.0-...-ddafa38 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Span

type Span struct {
	tracetest.SpanStub
}

func (*Span) End

func (e *Span) End(options ...trace.SpanEndOption)

func (*Span) EndWithStatus

func (e *Span) EndWithStatus(err error, options ...trace.SpanEndOption)

func (*Span) IsRecording

func (e *Span) IsRecording() bool

func (*Span) SetAttributes

func (s *Span) SetAttributes(kv ...attribute.KeyValue)

SetAttributes implements tracing.Span

func (*Span) SetName

func (s *Span) SetName(name string)

SetName implements tracing.Span

func (*Span) SetStatus

func (s *Span) SetStatus(code codes.Code, description string)

SetStatus implements tracing.Span

func (*Span) SpanContext

func (s *Span) SpanContext() trace.SpanContext

SpanContext implements tracing.Span

func (*Span) TracerProvider

func (s *Span) TracerProvider() trace.TracerProvider

TracerProvider implements tracing.Span

Jump to

Keyboard shortcuts

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