Commit 4f98f7b
fix(metrics): Sync
* chore: update modules/sentry-native to 0.13.5
* Sync EnableMetrics setting to native SDK and default to true
The sentry-native 0.13.5 update changed metrics to be enabled by default.
This syncs the Unity EnableMetrics option to the native layer via
sentry_options_set_enable_metrics and aligns the Unity default to true,
matching the cross-SDK standard from develop docs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* changelog update
* actually point at the PR
* add stub for switch
---------
Co-authored-by: GitHub <noreply@github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>EnableMetrics setting to native SDK and default to true (#2635)1 parent e2f2db4 commit 4f98f7b
4 files changed
Lines changed: 14 additions & 1 deletion
File tree
- package-dev/Plugins/Switch
- src
- Sentry.Unity.Native
- Sentry.Unity
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
111 | 117 | | |
112 | 118 | | |
113 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
96 | 99 | | |
97 | 100 | | |
98 | 101 | | |
| |||
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
169 | 175 | | |
170 | 176 | | |
171 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| |||
0 commit comments