tracing

package
v0.0.0-...-4477587 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 31

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize() (func(), error)

Initialize starts the tracing provider. This must be called before any traces are created or traces will be discarded. Returned is a shutdown function that should be called to ensure graceful shutdown.

func InitializeFullBinary

func InitializeFullBinary(rootSpan string) (context.Context, func(), error)

InitializeFullBinary is a specialized variant of Initialize for uses with binaries who are tracing their entire execution as a single trace span. Not for use with long running services.

func Start

func Start(ctx context.Context, span string) (context.Context, traceapi.Span)

Types

This section is empty.

Jump to

Keyboard shortcuts

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