Skip to content

Conversation

@gggritso
Copy link
Member

@gggritso gggritso commented Oct 9, 2025

Adds some nicer handling for http.client spans!

  1. Uses semantic attributes ("url.full", "http.request.method") for formatting
  2. Adds a button to open the URL in a new tab, if possible
  3. Adds the "source", so if the request has a known line number and file name, it appears

If semantic attributes are not available, falls back to plain ho-hum formatting.

Awaiting #101340 for the wordBreak support.

e.g.,
Screenshot 2025-10-09 at 4 55 16 PM

@gggritso gggritso requested review from Abdkhan14 and cleptric October 9, 2025 20:58
@linear
Copy link

linear bot commented Oct 9, 2025

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Oct 9, 2025
@gggritso gggritso marked this pull request as ready for review October 9, 2025 21:27
@gggritso gggritso requested a review from a team October 9, 2025 21:27
cursor[bot]

This comment was marked as outdated.

@gggritso
Copy link
Member Author

@JonasBa thanks for the reminder! Switched to using Flex and Text 👍🏻

cursor[bot]

This comment was marked as outdated.

Copy link
Contributor

@Abdkhan14 Abdkhan14 left a comment

Choose a reason for hiding this comment

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

lgtm

@gggritso gggritso merged commit 0de975c into master Oct 14, 2025
45 checks passed
@gggritso gggritso deleted the georgegritsouk/dain-987-add-ui-for-showing-the-code-source-of-http-requests branch October 14, 2025 15:54
chromy pushed a commit that referenced this pull request Oct 17, 2025
Adds some nicer handling for `http.client` spans!

1. Uses semantic attributes (`"url.full"`, `"http.request.method"`) for
formatting
2. Adds a button to open the URL in a new tab, if possible
3. Adds the "source", so if the request has a known line number and file
name, it appears

If semantic attributes are not available, falls back to plain ho-hum
formatting.

Awaiting #101340 for the
`wordBreak` support.

**e.g.,**
<img width="680" height="331" alt="Screenshot 2025-10-09 at 4 55 16 PM"
src="https://github.com/user-attachments/assets/b8535b49-dcb3-44cf-a118-f0a457d09fc6"
/>
@github-actions github-actions bot locked and limited conversation to collaborators Oct 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants