Commit fc77bcd
Use platformVersion for session replay instrumentation fields
Updates session replay to report correct platform information for hybrid agents:
- instrumentation.name: Uses platform-aware logic (native vs hybrid)
- instrumentation.version: Uses platformVersion with fallback to agentVersion
- Matches NRLogger pattern for consistent reporting across all data types
This ensures hybrid agents (React Native, Flutter, Capacitor, etc.) are
correctly identified with their platform version in session replay data.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 48e0b7f commit fc77bcd
1 file changed
+19
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
171 | | - | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
172 | 188 | | |
173 | 189 | | |
174 | 190 | | |
| |||
0 commit comments