getsentry / getsentry/sentry-java
Add policy-controlled URL query data to Ktor client spans
Open
Beginner friendly
Feature
Java
Platform: Java
Spans
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 478
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 67
Description
## 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.
Contributor guide
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.
Assessment
- Tech stack
- kotlin
- Domain
- observability-sre
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100