Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- Add `gen_ai.response.tokens_per_second` span attribute on AI spans. ([#4883](https://github.com/getsentry/relay/pull/4883))
- Add support for playstation data requests. ([#4870](https://github.com/getsentry/relay/pull/4870))
- Expand the NEL attributes & others. ([#4874](https://github.com/getsentry/relay/pull/4874))
- Normalize legacy AI agents attributes to OTel compatible names. ([#4916](https://github.com/getsentry/relay/pull/4916))

## 25.6.2

Expand Down
6 changes: 4 additions & 2 deletions relay-event-schema/src/protocol/span.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,8 @@ pub struct SpanData {
/// The input tokens used by an LLM call (usually cheaper than output tokens)
#[metastructure(
field = "gen_ai.usage.input_tokens",
legacy_alias = "ai.prompt_tokens.used"
legacy_alias = "ai.prompt_tokens.used",
legacy_alias = "gen_ai.usage.prompt_tokens"
)]
pub gen_ai_usage_input_tokens: Annotated<Value>,

Expand All @@ -481,7 +482,8 @@ pub struct SpanData {
/// The output tokens used by an LLM call (the ones the LLM actually generated)
#[metastructure(
field = "gen_ai.usage.output_tokens",
legacy_alias = "ai.completion_tokens.used"
legacy_alias = "ai.completion_tokens.used",
legacy_alias = "gen_ai.usage.completion_tokens"
)]
pub gen_ai_usage_output_tokens: Annotated<Value>,

Expand Down
Loading