tracing

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(span trace.Span, code grpccodes.Code, err error, events ...string) error

Error returns an error representing code and error message and records new event on the span. If code is OK, returns nil.

func Setup

func Setup(ctx context.Context, resource *resource.Resource, protocol string) (_ func(context.Context) error, err error)

func Start

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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