telemetry

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 12 Imported by: 1

README

telemetry

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceName  = os.Getenv("SERVICE_NAME")
	CollectorURL = os.Getenv("OTEL_EXPORTER_OTLP_ENDPOINT")
	Insecure     = os.Getenv("INSECURE_MODE")
)

Functions

func GetSpan

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

func LogError

func LogError(c context.Context, err error, message string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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