tracing

package
v0.3.1-0...-c0cbafe Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LoggingTracer

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

func NewLoggingTracer

func NewLoggingTracer(logger logr.Logger) *LoggingTracer

func (LoggingTracer) StartSpan

func (l LoggingTracer) StartSpan(operationName string) Span

type NopTracer

type NopTracer struct {
}

func (NopTracer) StartSpan

func (n NopTracer) StartSpan(operationName string) Span

type Span

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

type Tracer

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