telem

package
v0.0.0-...-160e8be Latest Latest
Warning

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

Go to latest
Published: May 28, 2022 License: MPL-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractTraceParent

func ExtractTraceParent(ctx context.Context) string

func Initialize

func Initialize(ctx context.Context, otelcolEndpoint string) error

func InitializeOffline

func InitializeOffline(ctx context.Context) error

func InjectTraceParent

func InjectTraceParent(ctx context.Context, traceParent string) context.Context

func RecordProduceError

func RecordProduceError(name string, traceId string, topic string, partition int32, err error)

func RecordSpanError

func RecordSpanError(span trace.Span, err error)

func Shutdown

func Shutdown(ctx context.Context)

func SpanContext

func SpanContext(ctx context.Context, traceId string) context.Context

func Start

func Start(ctx context.Context, name string) (context.Context, trace.Span)

func StartFunc

func StartFunc(ctx context.Context) (context.Context, trace.Span)

func StartRequest

func StartRequest(ctx context.Context) (context.Context, string, trace.Span)

func Tracer

func Tracer() trace.Tracer

Types

This section is empty.

Jump to

Keyboard shortcuts

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