Re-exports§
pub use error::TelemetryInitError;pub use error::TelemetryShutdownError;
Modules§
Structs§
- Content
Capture Settings - Content-capture settings. Each field maps 1:1 to a
gen_ai.*OTEL content attribute; all default to off. - GenAi
Metrics - Otel
Instrumentation - The process-wide export pipeline — tracer, meters, and the capture and parenting policy every span it produces inherits.
- Otel
Observer AgentObserverthat renders an agent’s event stream as OpenTelemetryGenAIspans and metrics.- Telemetry
Config - Fully-resolved telemetry configuration. Every field is required: defaults
and settings-layer merging live in
TelemetrySettings, so a value here is always deliberate. - Telemetry
Runtime
Enums§
Constants§
- AETHER_
INPUT_ MESSAGES_ SHA256 - AETHER_
SYSTEM_ INSTRUCTIONS_ SHA256 - GENAI_
SEMCONV_ SCHEMA_ URL - The schema URL that matches the version of the semantic conventions that this crate defines.
- GEN_
AI_ INPUT_ MESSAGES - GEN_
AI_ OUTPUT_ MESSAGES - GEN_
AI_ SYSTEM_ INSTRUCTIONS - GEN_
AI_ TOOL_ CALL_ ARGUMENTS - GEN_
AI_ TOOL_ CALL_ RESULT - GEN_
AI_ TOOL_ DEFINITIONS