tracing

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProvider

func NewProvider(endpoint string, serviceName, environment string) (*tracesdk.TracerProvider, error)

NewProvider configures and OpenTelemetry tracing provider

func StartSpan

func StartSpan(ctx context.Context, opName string, opts ...trace.SpanStartOption) (context.Context, trace.Span)

StartSpan starts child span in a context.

func StopSpan

func StopSpan(span trace.Span)

StopSpan ends the span specified

Types

This section is empty.

Jump to

Keyboard shortcuts

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