telemetry

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package telemetry provides OpenTelemetry tracing initialization.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracer

func InitTracer(ctx context.Context, endpoint, serviceName, serviceVersion string) (trace.Tracer, func(context.Context) error, error)

InitTracer sets up an OTLP trace exporter. If endpoint is empty, returns a noop tracer and a no-op shutdown function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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