Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(eap): prefix sentry_tags with sentry. #6328

Merged
merged 4 commits into from
Sep 23, 2024
Merged

Conversation

colin-sentry
Copy link
Member

If you don't namespace things before inserting, it causes problems where sentry_tags can overwrite data a user sends.
There should be minimal performance impact, because sentry. will be compressed out.

@colin-sentry colin-sentry requested review from a team as code owners September 19, 2024 20:44
@@ -26,7 +26,7 @@ def truncate_request_meta_to_day(meta: RequestMeta) -> None:
start_timestamp = datetime.utcfromtimestamp(meta.start_timestamp.seconds)
end_timestamp = datetime.utcfromtimestamp(meta.end_timestamp.seconds)
start_timestamp = start_timestamp.replace(
day=start_timestamp.day, hour=0, minute=0, second=0, microsecond=0
day=start_timestamp.day - 1, hour=0, minute=0, second=0, microsecond=0
Copy link
Member Author

Choose a reason for hiding this comment

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

this is from a rebase, change is already in master

@colin-sentry colin-sentry merged commit 3569966 into master Sep 23, 2024
30 checks passed
@colin-sentry colin-sentry deleted the eap_spans_sentry_tags branch September 23, 2024 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants