Skip to content

feat(data-export): Exported attributes in data export should have public names#112846

Open
manessaraj wants to merge 4 commits intomasterfrom
sarajmanes/feat/trace-items-full-export-only-public-names
Open

feat(data-export): Exported attributes in data export should have public names#112846
manessaraj wants to merge 4 commits intomasterfrom
sarajmanes/feat/trace-items-full-export-only-public-names

Conversation

@manessaraj
Copy link
Copy Markdown
Contributor

@manessaraj manessaraj commented Apr 13, 2026

Exported attributes in full export of trace items should have public and user defined tags, no internal representation should be exposed

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 13, 2026
@manessaraj manessaraj changed the title feat(data-export): Exported attributes in data export should have pub… feat(data-export): Exported attributes in data export should have public names Apr 13, 2026
@manessaraj manessaraj force-pushed the sarajmanes/feat/trace-items-full-export-only-public-names branch from bedcd41 to 4bcd863 Compare April 13, 2026 20:34
@manessaraj manessaraj marked this pull request as ready for review April 13, 2026 20:35
@manessaraj manessaraj requested a review from a team as a code owner April 13, 2026 20:35
@manessaraj manessaraj requested a review from wmak April 13, 2026 20:35
Comment thread src/sentry/data_export/utils.py Outdated
Comment thread src/sentry/data_export/processors/discover.py
Comment thread src/sentry/search/eap/utils.py Outdated
Comment thread src/sentry/data_export/utils.py Outdated
Comment thread src/sentry/data_export/utils.py
Copy link
Copy Markdown
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 4315543. Configure here.

Comment thread src/sentry/data_export/utils.py
Comment thread src/sentry/data_export/utils.py Outdated
Comment thread src/sentry/data_export/utils.py Outdated
Comment thread src/sentry/data_export/utils.py
Comment thread src/sentry/data_export/utils.py Outdated
eap_storage_type: Literal["string", "number", "boolean"],
item_type: SupportedTraceItemType,
) -> str:
# eap_storage_type is not same as search_type used in translate_internal_to_public_alias
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused, when you say search_type here do you mean the second parameter to translate_internal_to_public_alias? How does it differ, aren't we calculating eap_search_type from eap_storage_scalar_type_from_protobuf specifically to use it here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactored.

@manessaraj manessaraj force-pushed the sarajmanes/feat/trace-items-full-export-only-public-names branch from 4315543 to 2230bd5 Compare April 15, 2026 18:56
…lic names

Exported attributes in full export of trace items should have public and user defined tags, no internal representation should be exposed
@manessaraj manessaraj force-pushed the sarajmanes/feat/trace-items-full-export-only-public-names branch from 2230bd5 to 8187e9a Compare April 15, 2026 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants