telemetry

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTracer

func GetTracer(name string) oteltrace.Tracer

GetTracer returns a tracer for the given name

func InitTracing

func InitTracing(serviceName string, cfg config.OpenTelemetryConfig) func()

InitTracing initializes OpenTelemetry tracing for transformer service

func LogError

func LogError(ctx context.Context, message string, attrs ...otellog.KeyValue)

LogError sends an error log to OpenTelemetry with structured attributes

func LogInfo

func LogInfo(ctx context.Context, message string, attrs ...otellog.KeyValue)

LogInfo sends an info log to OpenTelemetry with structured attributes

func LogWarn

func LogWarn(ctx context.Context, message string, attrs ...otellog.KeyValue)

LogWarn sends a warning log to OpenTelemetry with structured attributes

Types

This section is empty.

Jump to

Keyboard shortcuts

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