Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Consolidate `http.query` and `url.query`

Open
#311 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Lms24 is already working on this.

Since Jul 27, 2026.

  • #539 by @Lms24 — open

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Quiet
Tech stack
typescript
Domain
documentation

Research direction

Read the linked url.query and http.query convention models first, comparing their definitions and the leading-question-mark difference. Then inspect the Sentry code search for http.query, since that usage must be fixed before standardization. Done means url.query is the selected convention and http.query is deprecated without leaving the identified Sentry dependency unresolved.

Written by the indexing model from the issue text.

Description

Our url.query (model) and http.query (model) conventions are functionally equivalent. Both contain the URL query string from an HTTP request. The main differences are:

  • url.query is defined in OTel
  • http.query contains a leading ?

Currently both are active conventions (neither are deprecated). Because url.query is defined in OTel, and I don't think the leading ? is useful, I'd like to standardize on url.query and deprecate http.query.

However, even if we agree to do so, http.query is used in Sentry for performance issue detection so we would need to fix that first.

Dominant language
TypeScript
Stars
16
Forks
6
Avg merge
2d 9h
Merged PRs (30d)
63

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-conventions

All issues in getsentry/sentry-conventions

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.