UNPKG

@embrace-io/web-sdk

Version:
67 lines 4.6 kB
//#region src/constants/attributes.d.ts declare const KEY_EMB_TYPE = "emb.type"; declare const KEY_EMB_STATE = "emb.state"; declare const KEY_EMB_COLD_START = "emb.cold_start"; declare const KEY_EMB_PAGE_LOAD = "emb.page_load"; declare const KEY_EMB_EXCEPTION_NUMBER = "emb.exception_number"; declare const KEY_EMB_SDK_STARTUP_DURATION = "emb.sdk_startup_duration"; declare const KEY_PREFIX_EMB_PROPERTIES = "emb.properties."; declare const KEY_EMB_JS_EXCEPTION_STACKTRACE = "emb.stacktrace.js"; declare const KEY_EMB_EXCEPTION_HANDLING = "emb.exception_handling"; declare const KEY_EMB_EXCEPTION_CAUSE = "emb.exception_cause"; declare const KEY_EMB_ERROR_CODE = "emb.error_code"; declare const KEY_EMB_APP_INSTANCE_ID = "emb.app_instance_id"; declare const KEY_EMB_ERROR_LOG_COUNT = "emb.error_log_count"; declare const KEY_EMB_INSTRUMENTATION = "emb.instrumentation"; declare const KEY_EMB_UNHANDLED_EXCEPTIONS_COUNT = "emb.unhandled_exceptions_count"; declare const KEY_EMB_JS_FILE_BUNDLE_IDS = "emb.js_file_bundle_ids"; declare const KEY_EMB_W3C_TRACEPARENT = "emb.w3c_traceparent"; declare const KEY_BROWSER_URL_FULL = "browser.url.full"; declare const KEY_EMB_PAGE_PATH = "app.surface.name"; declare const KEY_EMB_PAGE_ID = "app.surface.id"; declare const KEY_APP_SURFACE_LABEL = "app.surface.label"; declare const KEY_EMB_SESSION_PART_ID = "emb.session_part_id"; declare const KEY_EMB_SESSION_PART_NUMBER = "emb.session_part_number"; declare const KEY_EMB_SESSION_PART_START_REASON = "emb.session_part_start_reason"; declare const KEY_EMB_SESSION_PART_END_REASON = "emb.session_part_end_reason"; declare const KEY_EMB_USER_SESSION_ID = "emb.user_session_id"; declare const KEY_EMB_USER_SESSION_PREVIOUS_ID = "emb.user_session_previous_id"; declare const KEY_EMB_USER_SESSION_NUMBER = "emb.user_session_number"; declare const KEY_EMB_USER_SESSION_PART_INDEX = "emb.user_session_part_index"; declare const KEY_EMB_USER_SESSION_START_TS = "emb.user_session_start_ts"; declare const KEY_EMB_IS_FINAL_SESSION_PART = "emb.is_final_session_part"; declare const KEY_EMB_USER_SESSION_TERMINATION_REASON = "emb.user_session_termination_reason"; declare const KEY_EMB_USER_SESSION_MAX_DURATION_SECONDS = "emb.user_session_max_duration_seconds"; declare const KEY_EMB_USER_SESSION_INACTIVITY_TIMEOUT_SECONDS = "emb.user_session_inactivity_timeout_seconds"; declare const KEY_EMB_USER_SESSION_FOREGROUND_INACTIVITY_TIMEOUT_SECONDS = "emb.user_session_foreground_inactivity_timeout_seconds"; declare enum EMB_TYPES { SessionPart = "ux.session_part", Network = "perf.network_request", Perf = "perf", SystemLog = "sys.log" // SystemLog is a log emb type that tells the Embrace BE to treat this as an Embrace Log to be shown in the dashboard. , SystemException = "sys.exception", WebVital = "ux.web_vital", LoafScripts = "ux.loaf_scripts", ResourceFetch = "ux.resource_fetch", DocumentLoad = "ux.document_load", Surface = "ux.surface", UserTiming = "ux.user_timing", ElementTiming = "ux.element_timing", ServerTiming = "ux.server_timing", OTelLog = "emb.otel_log" } declare enum EMB_STATES { Foreground = "foreground", Background = "background" } declare enum EMB_ERROR_INSTRUMENTATIONS { ReactErrorBoundary = "react_error_boundary" } declare enum EMB_PERFORMANCE_INSTRUMENTATIONS { UserTiming = "user_timing" } type EMB_INSTRUMENTATIONS = EMB_ERROR_INSTRUMENTATIONS | EMB_PERFORMANCE_INSTRUMENTATIONS; //#endregion export { EMB_ERROR_INSTRUMENTATIONS, EMB_INSTRUMENTATIONS, EMB_PERFORMANCE_INSTRUMENTATIONS, EMB_STATES, EMB_TYPES, KEY_APP_SURFACE_LABEL, KEY_BROWSER_URL_FULL, KEY_EMB_APP_INSTANCE_ID, KEY_EMB_COLD_START, KEY_EMB_ERROR_CODE, KEY_EMB_ERROR_LOG_COUNT, KEY_EMB_EXCEPTION_CAUSE, KEY_EMB_EXCEPTION_HANDLING, KEY_EMB_EXCEPTION_NUMBER, KEY_EMB_INSTRUMENTATION, KEY_EMB_IS_FINAL_SESSION_PART, KEY_EMB_JS_EXCEPTION_STACKTRACE, KEY_EMB_JS_FILE_BUNDLE_IDS, KEY_EMB_PAGE_ID, KEY_EMB_PAGE_LOAD, KEY_EMB_PAGE_PATH, KEY_EMB_SDK_STARTUP_DURATION, KEY_EMB_SESSION_PART_END_REASON, KEY_EMB_SESSION_PART_ID, KEY_EMB_SESSION_PART_NUMBER, KEY_EMB_SESSION_PART_START_REASON, KEY_EMB_STATE, KEY_EMB_TYPE, KEY_EMB_UNHANDLED_EXCEPTIONS_COUNT, KEY_EMB_USER_SESSION_FOREGROUND_INACTIVITY_TIMEOUT_SECONDS, KEY_EMB_USER_SESSION_ID, KEY_EMB_USER_SESSION_INACTIVITY_TIMEOUT_SECONDS, KEY_EMB_USER_SESSION_MAX_DURATION_SECONDS, KEY_EMB_USER_SESSION_NUMBER, KEY_EMB_USER_SESSION_PART_INDEX, KEY_EMB_USER_SESSION_PREVIOUS_ID, KEY_EMB_USER_SESSION_START_TS, KEY_EMB_USER_SESSION_TERMINATION_REASON, KEY_EMB_W3C_TRACEPARENT, KEY_PREFIX_EMB_PROPERTIES }; //# sourceMappingURL=attributes.d.cts.map