tracing

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingTracer added in v0.2.0

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

func NewLoggingTracer added in v0.2.0

func NewLoggingTracer(logger logr.Logger) *LoggingTracer

func (LoggingTracer) StartSpan added in v0.2.0

func (l LoggingTracer) StartSpan(operationName string) Span

type NopTracer added in v0.2.0

type NopTracer struct {
}

func (NopTracer) StartSpan added in v0.2.0

func (n NopTracer) StartSpan(operationName string) Span

type Span

type Span interface {
	SetBaggageItem(key string, value interface{})
	Finish()
}

type Tracer added in v0.2.0

type Tracer interface {
	StartSpan(operationName string) Span
}

Directories

Path Synopsis
Package tracer_testing is a generated GoMock package.
Package tracer_testing is a generated GoMock package.

Jump to

Keyboard shortcuts

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