Expand description
Shared OpenTelemetry GenAI semantic-convention attribute keys.
Defined once so the exporter (trace-weft-otel) and the OTLP ingest adapter
(trace-weft-ingest) agree on attribute names instead of each repeating the
string literals.
Constantsยง
- GEN_
AI_ PROVIDER_ NAME - GEN_
AI_ REQUEST_ MODEL - GEN_
AI_ TOOL_ NAME - GEN_
AI_ USAGE_ INPUT_ TOKENS - GEN_
AI_ USAGE_ OUTPUT_ TOKENS - GEN_
AI_ USAGE_ REASONING_ TOKENS - TRACE_
WEFT_ SPAN_ KIND - TraceWeft span kind, serialized as the Rust variant name (e.g.
LlmCall).