diff --git a/src/sentry/search/eap/spans/attributes.py b/src/sentry/search/eap/spans/attributes.py index cdbbf0901abc..6ef32b5adb9d 100644 --- a/src/sentry/search/eap/spans/attributes.py +++ b/src/sentry/search/eap/spans/attributes.py @@ -140,9 +140,11 @@ search_type="string", validator=is_event_id_or_list, ), + # We can use sentry.segment.name here because EAP coalesces the deprecated + # sentry.transaction alias to it. ResolvedAttribute( public_alias="transaction", - internal_name="sentry.transaction", + internal_name="sentry.segment.name", search_type="string", ), ResolvedAttribute(