errortelemetry

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package errortelemetry owns the content-free projection of classified failures.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EmitGenAIException

func EmitGenAIException(ctx context.Context, logger log.Logger, classification attribute.KeyValue, occurredAt time.Time)

EmitGenAIException uses the official event model. Exception type is sufficient when the exception message is intentionally omitted for content isolation. Caller cancellation must not suppress its own diagnostic; the SDK owns export.

func Record

func Record(span trace.Span, classification attribute.KeyValue, options ...trace.EventOption)

Record accepts only a stable classification so raw provider messages cannot reach span status or exception attributes through this boundary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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