@embrace-io/web-sdk
Version:
42 lines (41 loc) • 901 B
JavaScript
//#region src/managers/EmbraceLimitManager/constants.ts
const DEFAULT_MAX_LOG_ATTRIBUTES = 50;
const DEFAULT_LIMITS = {
maxAllowed: {
error_log: 500,
warning_log: 200,
info_log: 100,
exception: 500,
breadcrumb: 100,
session_property: 100,
span: 1e3,
network_request: 1e4,
user_timing_mark: 200,
user_timing_measure: 100,
element_timing: 100,
server_timing: 50,
soft_navigation: 100
},
maxLength: {
error_log: 128,
warning_log: 128,
info_log: 128,
exception: 1024,
breadcrumb: 256,
session_property_key: 128,
session_property_value: 256,
log_attribute_key: 128,
log_attribute_value: 256,
exception_attribute_key: 128,
exception_attribute_value: 256
},
maxAttributes: {
error_log: 50,
warning_log: 50,
info_log: 50,
exception: 50
}
};
//#endregion
export { DEFAULT_LIMITS, DEFAULT_MAX_LOG_ATTRIBUTES };
//# sourceMappingURL=constants.js.map