telemetry

package
v0.1.0-alpha.78 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package telemetry installs the process-wide OpenTelemetry trace provider used by GoBeyond application runtimes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InstallFromEnv

func InstallFromEnv() func()

InstallFromEnv enables authenticated OTLP/gRPC export when the hosting platform injected an endpoint and tenant-bound token. Missing or invalid telemetry configuration degrades to the OpenTelemetry no-op provider.

func StartServerRequest

func StartServerRequest(ctx context.Context, header http.Header, requestID, method, path string) (context.Context, trace.Span)

StartServerRequest extracts upstream W3C context and starts the application boundary span. The request ID is propagated through context so every child span is normalized onto the platform request trace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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