Commit 8ed78e1
authored
fix: Add classname to user interaction (#258)
## Summary
Add classname to any click events to be used in the heatmap
## How did you test this change?
1. Perform a click
2. Ensure it shows up in the event attributes of a trace
## Are there any deployment considerations?
N/A
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> Add `event.classname` to user interaction span attributes and bump
instrumentation version to `0.1.1`.
>
> - **SDK: User Interaction Instrumentation
(`sdk/highlight-run/src/client/otel/user-interaction.ts`)**
> - Add `event.classname` to span attributes alongside `event.type`,
`event.tag`, `event.xpath`, `event.id`, etc.
> - Bump `UserInteractionInstrumentation.version` from `0.1.0` to
`0.1.1`.
>
> <sup>Written by [Cursor
Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit
18df004. This will update automatically
on new commits. Configure
[here](https://cursor.com/dashboard?tab=bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent ac9cb12 commit 8ed78e1
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
0 commit comments