[6.9.0]
1、升級countly版本; 2、降低配置記錄的數量
This commit is contained in:
@@ -101,15 +101,15 @@ public class MogoApplication extends MainMoGoApplication {
|
||||
.setLoggingEnabled(true);
|
||||
|
||||
// 限制每个线程记录的堆栈跟踪行(默认值:30 行)
|
||||
countlyConfig.sdkInternalLimits.setMaxStackTraceLinesPerThread(10000);
|
||||
countlyConfig.sdkInternalLimits.setMaxStackTraceLinesPerThread(100);
|
||||
// 限制每个堆栈跟踪行允许的字符(默认:200 个字符)
|
||||
countlyConfig.sdkInternalLimits.setMaxStackTraceLineLength(10000);
|
||||
countlyConfig.sdkInternalLimits.setMaxStackTraceLineLength(1000);
|
||||
// 限制所有用户设置的字符串分段(或其等效值)值的大小(默认值:256 个字符)
|
||||
countlyConfig.sdkInternalLimits.setMaxValueSize(10000);
|
||||
countlyConfig.sdkInternalLimits.setMaxValueSize(256);
|
||||
// 限制用户设置的分段键值对的数量(默认:100 个条目)
|
||||
countlyConfig.sdkInternalLimits.setMaxSegmentationValues(1000);
|
||||
countlyConfig.sdkInternalLimits.setMaxSegmentationValues(100);
|
||||
// 限制可以记录的用户设置痕迹导航的数量(默认值:100 个条目,超过此值将删除最早的条目)
|
||||
countlyConfig.sdkInternalLimits.setMaxBreadcrumbCount(1000);
|
||||
countlyConfig.sdkInternalLimits.setMaxBreadcrumbCount(100);
|
||||
|
||||
// 自动崩溃处理
|
||||
countlyConfig.crashes.enableCrashReporting();
|
||||
|
||||
@@ -71,8 +71,8 @@ dependencies {
|
||||
api project(":libraries:mogo-hardware-devices")
|
||||
}
|
||||
|
||||
api 'com.mogo.cloud:countly-sdk:1.4.7.49.18-debug'
|
||||
api 'com.mogo.cloud:countly-sdk-native:1.4.7.49.18-debug'
|
||||
api 'com.mogo.cloud:countly-sdk:21.11.0-debug'
|
||||
api 'com.mogo.cloud:countly-sdk-native:21.11.0-debug'
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user