Skip to content

Conversation

@ccschmitz-launchdarkly
Copy link
Contributor

@ccschmitz-launchdarkly ccschmitz-launchdarkly commented Dec 11, 2025

Summary

Adds some SemConv attributes for different parts o the URL. This will be used to build UI for breaking down web vitals performance across different pages in an app. Also migrates the group attribute to pathname rather than the full href, lowering its cardinality.

How did you test this change?

Click tested the E2E react router example and checked things were landing in Clickhouse correctly.

image

Are there any deployment considerations?

N/A


Note

Adds OTel semantic URL attributes to Web Vitals gauges and groups them by pathname instead of full URL.

  • Web Vitals telemetry (sdk/highlight-run/src/sdk/observe.ts):
    • Add OpenTelemetry semantic URL attributes to gauge attributes: ATTR_URL_FULL, ATTR_URL_PATH, ATTR_SERVER_ADDRESS.
    • Change grouping from window.location.href to window.location.pathname for Web Vitals metrics.

Written by Cursor Bugbot for commit a6ff35a. This will update automatically on new commits. Configure here.

@ccschmitz-launchdarkly ccschmitz-launchdarkly requested a review from a team as a code owner December 11, 2025 15:25
@ccschmitz-launchdarkly ccschmitz-launchdarkly marked this pull request as draft December 11, 2025 15:25
@ccschmitz-launchdarkly ccschmitz-launchdarkly marked this pull request as ready for review December 11, 2025 20:52
Copy link

@ntiner1 ntiner1 left a comment

Choose a reason for hiding this comment

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

🥇

@ccschmitz-launchdarkly ccschmitz-launchdarkly merged commit 2f47edf into main Dec 12, 2025
25 checks passed
@ccschmitz-launchdarkly ccschmitz-launchdarkly deleted the O11Y-791-add-pathname-on-web-vitals-metrics branch December 12, 2025 16:36
Vadman97 pushed a commit that referenced this pull request Dec 12, 2025
🤖 I have created a release *beep* *boop*
---


<details><summary>observability: 0.4.10</summary>

##
[0.4.10](observability-0.4.9...observability-0.4.10)
(2025-12-12)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.24.0
</details>

<details><summary>session-replay: 0.4.10</summary>

##
[0.4.10](session-replay-0.4.9...session-replay-0.4.10)
(2025-12-12)


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * highlight.run bumped to 9.24.0
</details>

<details><summary>highlight.run: 9.24.0</summary>

##
[9.24.0](highlight.run-9.23.0...highlight.run-9.24.0)
(2025-12-12)


### Features

* enhance Web Vitals telemetry with semantic attributes
([#316](#316))
([2f47edf](2f47edf))
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

<!-- CURSOR_SUMMARY -->
---

> [!NOTE]
> Release @launchdarkly/observability and @launchdarkly/session-replay
0.4.10 with dependency bump to highlight.run 9.24.0, which adds enhanced
Web Vitals telemetry.
> 
> - **Releases**:
>   - `sdk/@launchdarkly/observability` → `0.4.10`
>   - `sdk/@launchdarkly/session-replay` → `0.4.10`
>   - `sdk/highlight-run` → `9.24.0`
> - **Features (highlight.run 9.24.0)**:
>   - Enhance Web Vitals telemetry with semantic attributes.
> - **Dependency updates**:
> - `@launchdarkly/observability` and `@launchdarkly/session-replay` now
depend on `[email protected]`.
> - **Release metadata**:
>   - Update `.release-please-manifest.json` to reflect new versions.
> 
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
1563f9b. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
abelonogov-ld added a commit that referenced this pull request Dec 16, 2025
* main:
  feat: Limit accumulating canvas buffer (#322)
  chore: Fix existing RRwebGraphQLReplayLogExporterTest tests (#321)
  feat: sanitize URLs + semantic conventions for header attributes (#317)
  refactor: introduce granular ObservabilityOptions (#323)
  refactor: OY11-846 - Add Session Replay plugin (#313)
  chore: upgrade react-server-dom-webpack to 19.0.3 (#320)
  chore: release main (#319)
  feat: enhance Web Vitals telemetry with semantic attributes (#316)
  chore: release main (#318)
  fix: Android - Remove Disk Buffering (#315)
  chore: readme update with real examples (#314)
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.

3 participants