Skip to content

Commit 8601256

Browse files
authored
fix launchdarkly integration missing H api calls (#23)
## Summary * Add `$ld:metric:session:init` events, web vitals metric events, and `document_load` events propagation. ## How did you test this change? new metrics showing up ![Screenshot 2025-05-01 at 18 17 27](https://github.com/user-attachments/assets/e9f2e540-d916-4085-af0e-315c4d6bbe94) ## Are there any deployment considerations? new sdk version released ## Does this work require review from our design team? no
1 parent ce2407a commit 8601256

File tree

16 files changed

+145
-37
lines changed

16 files changed

+145
-37
lines changed

sdk/highlight-next/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @highlight-run/next
22

3+
## 7.9.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [7d1a4af]
8+
- highlight.run@9.16.2
9+
- @highlight-run/node@3.12.1
10+
- @highlight-run/react@17.0.2
11+
12+
## 7.9.7
13+
14+
### Patch Changes
15+
16+
- Updated dependencies [08290c0]
17+
- highlight.run@9.16.1
18+
- @highlight-run/node@3.12.1
19+
- @highlight-run/react@17.0.1
20+
321
## 7.9.6
422

523
### Patch Changes

sdk/highlight-next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@highlight-run/next",
3-
"version": "7.9.6",
3+
"version": "7.9.8",
44
"description": "Client for interfacing with Highlight in next.js",
55
"files": [
66
"dist",

sdk/highlight-py/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## v0.10.2 (2024-05-02)
4+
5+
### Fix
6+
7+
- Report attributes correctly from `H.trace`
8+
39
## v0.9.1 (2025-01-16)
410

511
- Update dependencies with known security vulnerabilities

sdk/highlight-py/highlight_io/sdk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import traceback
66
import typing
77
from importlib import metadata
8-
98
import sys
109
from grpc import Compression
1110
from opentelemetry import trace as otel_trace, _logs, metrics
@@ -342,6 +341,8 @@ def my_fn():
342341
set_status_on_exception=False,
343342
context=context,
344343
) as span:
344+
if attributes:
345+
span.set_attributes(attributes)
345346
span.set_attributes({"highlight.project_id": self._project_id})
346347
span.set_attributes({"highlight.session_id": session_id})
347348
span.set_attributes({"highlight.trace_id": request_id})

sdk/highlight-py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "highlight-io"
3-
version = "0.10.1"
3+
version = "0.10.2"
44
description = "Session replay and error monitoring: stop guessing why bugs happen!"
55
license = "Apache-2.0"
66
authors = [

sdk/highlight-react/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @highlight-run/react
22

3+
## 17.0.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [7d1a4af]
8+
- highlight.run@9.16.2
9+
10+
## 17.0.1
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [08290c0]
15+
- highlight.run@9.16.1
16+
317
## 17.0.0
418

519
### Patch Changes

sdk/highlight-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@highlight-run/react",
3-
"version": "17.0.0",
3+
"version": "17.0.2",
44
"description": "The official Highlight SDK for React",
55
"license": "Apache-2.0",
66
"peerDependencies": {

sdk/highlight-remix/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @highlight-run/remix
22

3+
## 2.0.91
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [7d1a4af]
8+
- highlight.run@9.16.2
9+
- @highlight-run/node@3.12.1
10+
- @highlight-run/react@17.0.2
11+
12+
## 2.0.90
13+
14+
### Patch Changes
15+
16+
- Updated dependencies [08290c0]
17+
- highlight.run@9.16.1
18+
- @highlight-run/node@3.12.1
19+
- @highlight-run/react@17.0.1
20+
321
## 2.0.89
422

523
### Patch Changes

sdk/highlight-remix/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@highlight-run/remix",
3-
"version": "2.0.89",
3+
"version": "2.0.91",
44
"description": "Client for interfacing with Highlight in Remix",
55
"packageManager": "yarn@4.0.2",
66
"author": "",

sdk/highlight-run/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# highlight.run
22

3+
## 9.16.2
4+
5+
### Patch Changes
6+
7+
- 7d1a4af: move bundled dependencies into dev dependencies
8+
9+
## 9.16.1
10+
11+
### Patch Changes
12+
13+
- 08290c0: reports web vitals metrics, session initialization, document_load, and track events correctly to LD integration
14+
315
## 9.16.0
416

517
### Minor Changes

0 commit comments

Comments
 (0)