telemetry

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitMeterProvider

func InitMeterProvider(reg prometheus.Registerer) (*metric.MeterProvider, error)

InitMeterProvider initializes the OpenTelemetry meter provider with a Prometheus exporter.

func InitTracer

func InitTracer() (*trace.TracerProvider, error)

InitTracer initializes the OpenTelemetry tracer provider.

func Shutdown

func Shutdown(ctx context.Context, tp *trace.TracerProvider, mp *metric.MeterProvider)

Shutdown gracefully shuts down the tracer and meter providers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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