Commit 70a6018
authored
fix bugs in observability plugins (#61)
## Summary
* fix plugins not exporting types
* export plugin options correctly
* fix session replay and observability plugin reporting to different
sessions
* fix span duplication happening due to an unnecessary export retry
## How did you test this change?
https://www.loom.com/share/f2ed9cfe8acb44e496a85570d54ade3b
testing with `offline` network throttling in chrome devtools
before
<img width="1313" alt="Screenshot 2025-05-22 at 14 39 21"
src="https://github.com/user-attachments/assets/db287a12-66fc-4008-a85b-a1a301b3a87f"
/>
after
<img width="1309" alt="Screenshot 2025-05-22 at 14 47 23"
src="https://github.com/user-attachments/assets/9e413572-4d9a-46d8-9337-8b9e97465d25"
/>
confirming no span duplication is happening
<img width="850" alt="Screenshot 2025-05-22 at 17 05 52"
src="https://github.com/user-attachments/assets/dbb5f939-de80-4fa7-b511-f7f5faffe6e4"
/>
## Are there any deployment considerations?
changesets
## Does this work require review from our design team?
no1 parent e4fb1c1 commit 70a6018
File tree
38 files changed
+211
-82
lines changed- e2e/react-router/src/routes
- sdk
- @launchdarkly
- observability
- src
- session-replay
- src
- highlight-apollo
- highlight-hono
- highlight-nest
- highlight-next
- highlight-node
- highlight-react
- highlight-remix
- highlight-run
- src
- client
- otel
- types
- utils
- sessionStorage
- workers
- integrations/launchdarkly
- plugins
- sdk
38 files changed
+211
-82
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
96 | 103 | | |
97 | 104 | | |
98 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
3 | 17 | | |
4 | 18 | | |
5 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
3 | 17 | | |
4 | 18 | | |
5 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
3 | 9 | | |
4 | 10 | | |
5 | 11 | | |
| |||
0 commit comments