otelproxy

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupProxyTracing

func SetupProxyTracing(ctx context.Context, rpcClient *rpc.NetworkClient, log *slog.Logger, attrs ...attribute.KeyValue) (shutdown func(context.Context) error, err error)

SetupProxyTracing configures OpenTelemetry tracing that ships spans through the server's RPC telemetry service. This allows CLI commands to export traces without needing OTEL_EXPORTER_OTLP_ENDPOINT set locally.

Types

This section is empty.

Jump to

Keyboard shortcuts

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