tracing

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package tracing provides tracing possibilities

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracing

type Tracing interface {
	// Start initializes tracing provider
	Start(ctx context.Context) error
	// GetProvider returns tracing provider
	GetProvider() trace.TracerProvider
}

Tracing is the interface to access tracing.

func NewTracingOtelGrpc

func NewTracingOtelGrpc(serviceName, endpoint string) Tracing

NewTracingOtelGrpc returns a otel based implementation of Tracing.

Jump to

Keyboard shortcuts

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