Add policy-controlled URL query data to Ktor client spans

Open Beginner friendly
#5,984 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin

Research direction

Start at SentryKtorClientPlugin and trace where urlDetails is available for client spans. Confirm the next-major behavior applies policy-controlled URL query data without changing the minor-release behavior; done when the relevant span attributes reflect the intended URL details.

Written by the indexing model from the issue text.

Description

Feature Java Platform: Java Spans

Problem

Ktor (SentryKtorClientPlugin) does not apply URL details to the span and thus lacks data fields / attributes like query.

In the next major we should add urlDetails.applyToSpan(span).

We didn't do this as part of #5983 due to risk of leaking data to Sentry when doing this in a minor.

Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
3d 2h
Merged PRs (30d)
70

Contributor guide

Open the contributing guide

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-java

All issues in getsentry/sentry-java

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.