telemetry

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package telemetry provides functions for initializing and managing telemetry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTracer

func InitTracer(ctx context.Context, serviceName string, version string, writer io.Writer) (func(context.Context) error, error)

InitTracer initializes the OpenTelemetry tracer provider. It writes traces to the provided writer (e.g., os.Stderr). It returns a shutdown function that should be called when the application exits.

Types

This section is empty.

Jump to

Keyboard shortcuts

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