tracer

package
v0.0.0-...-9b2948e Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTraceFromContext

func NewTraceFromContext(
	ctx context.Context,
	msg string,
	tags []attribute.KeyValue,
	fields ...field.Fields,
) ([]field.Fields, error)

func ZapFieldsToOpenTelemetry

func ZapFieldsToOpenTelemetry(fields ...field.Fields) []attribute.KeyValue

ZapFieldsToOpenTelemetry returns a table of standard openTelemetry field based on the inputed table of Zap field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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