tracing

package
v0.0.0-...-dc7611c Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GrpcErrorMessage = "rpc.grpc.error_message"
)

Variables

This section is empty.

Functions

func TraceGrpcErrFromSpan

func TraceGrpcErrFromSpan(span trace.Span, err error) error

TraceGrpcErrFromSpan setting span with status error with error message

func TraceGrpcErrFromSpanWithCode

func TraceGrpcErrFromSpanWithCode(span trace.Span, err error, code int) error

TraceGrpcErrFromSpanWithCode setting span with status error with error message

Types

This section is empty.

Jump to

Keyboard shortcuts

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