Skip to content

ref: Use constants for http.query and http.fragment #2053

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

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

AbhiPrasad
Copy link
Member

#skip-changelog

while working toward getsentry/team-webplatform-meta#60, this is a small refactor to clean up our http related span data (documented in https://develop.sentry.dev/sdk/performance/span-data-conventions/) by making sure they all use the same central constant (and adding docstrings as appropriate).

In a follow up PR, I'm going to update the spans to start setting http.method instead of method, because this is the schema we want to use moving forward.

Copy link
Contributor

@sentrivana sentrivana left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@AbhiPrasad AbhiPrasad merged commit e881f67 into master Apr 28, 2023
@AbhiPrasad AbhiPrasad deleted the abhi-http-span-data branch April 28, 2023 13:04
@AbhiPrasad AbhiPrasad self-assigned this Apr 28, 2023
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.

2 participants