Skip to content

Commit 8b45527

Browse files
authored
fix: EnableMetrics default to false (#2546)
1 parent 689e9d1 commit 8b45527

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
### Fixes
66

7+
- The currently experimental Metrics are now opt-in by default ([#2546](https://github.com/getsentry/sentry-unity/pull/2546))
78
- When targeting Switch, the SDK will no longer cause the build to fail when native libraries are missing but log a warning instead ([#2541](https://github.com/getsentry/sentry-unity/pull/2541))
89
- The SDK no longer wrongly disables the org slug field based on assumed the auth-tolken type ([#2537](https://github.com/getsentry/sentry-unity/pull/2537))
910

src/Sentry.Unity/ScriptableSentryUnityOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public static string GetConfigPath(string? notDefaultConfigName = null)
130130
[field: SerializeField] public bool PlayStationNativeSupportEnabled { get; set; } = true;
131131
[field: SerializeField] public bool SwitchNativeSupportEnabled { get; set; } = true;
132132
[field: SerializeField] public bool Il2CppLineNumberSupportEnabled { get; set; } = true;
133-
[field: SerializeField] public bool EnableMetrics { get; set; } = true;
133+
[field: SerializeField] public bool EnableMetrics { get; set; } = false;
134134
[field: SerializeField] public SentryOptionsConfiguration? OptionsConfiguration { get; set; }
135135

136136
[field: SerializeField] public bool Debug { get; set; } = true;

0 commit comments

Comments
 (0)