@datadog/mobile-react-navigation 2.14.1 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. package/README.md +40 -5
  2. package/lib/commonjs/index.js.map +1 -1
  3. package/lib/commonjs/rum/instrumentation/DdRumReactNavigationTracking.js +128 -65
  4. package/lib/commonjs/rum/instrumentation/DdRumReactNavigationTracking.js.map +1 -1
  5. package/lib/commonjs/rum/instrumentation/utils.js +31 -0
  6. package/lib/commonjs/rum/instrumentation/utils.js.map +1 -0
  7. package/lib/module/index.js.map +1 -1
  8. package/lib/module/rum/instrumentation/DdRumReactNavigationTracking.js +127 -64
  9. package/lib/module/rum/instrumentation/DdRumReactNavigationTracking.js.map +1 -1
  10. package/lib/module/rum/instrumentation/utils.js +25 -0
  11. package/lib/module/rum/instrumentation/utils.js.map +1 -0
  12. package/lib/typescript/core/src/DdAttributes.d.ts.map +1 -0
  13. package/lib/typescript/core/src/DdSdkReactNative.d.ts +49 -12
  14. package/lib/typescript/core/src/DdSdkReactNative.d.ts.map +1 -1
  15. package/lib/typescript/core/src/InternalLog.d.ts +1 -1
  16. package/lib/typescript/core/src/InternalLog.d.ts.map +1 -1
  17. package/lib/typescript/core/src/config/DatadogProviderConfiguration.d.ts +12 -0
  18. package/lib/typescript/core/src/config/DatadogProviderConfiguration.d.ts.map +1 -0
  19. package/lib/typescript/core/src/config/FileBasedConfiguration.d.ts +17 -0
  20. package/lib/typescript/core/src/config/FileBasedConfiguration.d.ts.map +1 -0
  21. package/lib/typescript/core/src/config/FileBasedConfiguration.type.d.ts +52 -0
  22. package/lib/typescript/core/src/config/FileBasedConfiguration.type.d.ts.map +1 -0
  23. package/lib/typescript/core/src/config/async/AutoInstrumentationConfiguration.d.ts +60 -0
  24. package/lib/typescript/core/src/config/async/AutoInstrumentationConfiguration.d.ts.map +1 -0
  25. package/lib/typescript/core/src/config/async/PartialInitializationConfiguration.d.ts +47 -0
  26. package/lib/typescript/core/src/config/async/PartialInitializationConfiguration.d.ts.map +1 -0
  27. package/lib/typescript/core/src/config/async/asyncInitializationHelper.d.ts +5 -0
  28. package/lib/typescript/core/src/config/async/asyncInitializationHelper.d.ts.map +1 -0
  29. package/lib/typescript/core/src/config/features/CoreConfiguration.d.ts +52 -0
  30. package/lib/typescript/core/src/config/features/CoreConfiguration.d.ts.map +1 -0
  31. package/lib/typescript/core/src/config/features/CoreConfiguration.type.d.ts +90 -0
  32. package/lib/typescript/core/src/config/features/CoreConfiguration.type.d.ts.map +1 -0
  33. package/lib/typescript/core/src/config/features/CoreConfigurationNative.d.ts +54 -0
  34. package/lib/typescript/core/src/config/features/CoreConfigurationNative.d.ts.map +1 -0
  35. package/lib/typescript/core/src/config/features/LogsConfiguration.d.ts +17 -0
  36. package/lib/typescript/core/src/config/features/LogsConfiguration.d.ts.map +1 -0
  37. package/lib/typescript/core/src/config/features/LogsConfiguration.type.d.ts +24 -0
  38. package/lib/typescript/core/src/config/features/LogsConfiguration.type.d.ts.map +1 -0
  39. package/lib/typescript/core/src/config/features/LogsConfigurationNative.d.ts +6 -0
  40. package/lib/typescript/core/src/config/features/LogsConfigurationNative.d.ts.map +1 -0
  41. package/lib/typescript/core/src/config/features/RumConfiguration.d.ts +66 -0
  42. package/lib/typescript/core/src/config/features/RumConfiguration.d.ts.map +1 -0
  43. package/lib/typescript/core/src/config/features/RumConfiguration.type.d.ts +131 -0
  44. package/lib/typescript/core/src/config/features/RumConfiguration.type.d.ts.map +1 -0
  45. package/lib/typescript/core/src/config/features/RumConfigurationNative.d.ts +25 -0
  46. package/lib/typescript/core/src/config/features/RumConfigurationNative.d.ts.map +1 -0
  47. package/lib/typescript/core/src/config/features/TraceConfiguration.d.ts +10 -0
  48. package/lib/typescript/core/src/config/features/TraceConfiguration.d.ts.map +1 -0
  49. package/lib/typescript/core/src/config/features/TraceConfiguration.type.d.ts +11 -0
  50. package/lib/typescript/core/src/config/features/TraceConfiguration.type.d.ts.map +1 -0
  51. package/lib/typescript/core/src/config/features/TraceConfigurationNative.d.ts +4 -0
  52. package/lib/typescript/core/src/config/features/TraceConfigurationNative.d.ts.map +1 -0
  53. package/lib/typescript/core/src/config/types/BatchProcessingLevel.d.ts +18 -0
  54. package/lib/typescript/core/src/config/types/BatchProcessingLevel.d.ts.map +1 -0
  55. package/lib/typescript/core/src/config/types/BatchSize.d.ts +19 -0
  56. package/lib/typescript/core/src/config/types/BatchSize.d.ts.map +1 -0
  57. package/lib/typescript/core/src/config/types/InitializationMode.d.ts +5 -0
  58. package/lib/typescript/core/src/config/types/InitializationMode.d.ts.map +1 -0
  59. package/lib/typescript/core/src/config/types/InitializationModeForTelemetry.d.ts +2 -0
  60. package/lib/typescript/core/src/config/types/InitializationModeForTelemetry.d.ts.map +1 -0
  61. package/lib/typescript/core/src/config/types/ProxyConfiguration.d.ts.map +1 -0
  62. package/lib/typescript/core/src/config/types/SdkVerbosity.d.ts.map +1 -0
  63. package/lib/typescript/core/src/config/types/TrackingConsent.d.ts.map +1 -0
  64. package/lib/typescript/core/src/config/types/UploadFrequency.d.ts +18 -0
  65. package/lib/typescript/core/src/config/types/UploadFrequency.d.ts.map +1 -0
  66. package/lib/typescript/core/src/config/types/VitalsUpdateFrequency.d.ts +7 -0
  67. package/lib/typescript/core/src/config/types/VitalsUpdateFrequency.d.ts.map +1 -0
  68. package/lib/typescript/core/src/config/types/index.d.ts +10 -0
  69. package/lib/typescript/core/src/config/types/index.d.ts.map +1 -0
  70. package/lib/typescript/core/src/index.d.ts +20 -9
  71. package/lib/typescript/core/src/index.d.ts.map +1 -1
  72. package/lib/typescript/core/src/logs/DdLogs.d.ts +2 -1
  73. package/lib/typescript/core/src/logs/DdLogs.d.ts.map +1 -1
  74. package/lib/typescript/core/src/logs/eventMapper.d.ts +3 -2
  75. package/lib/typescript/core/src/logs/eventMapper.d.ts.map +1 -1
  76. package/lib/typescript/core/src/logs/types.d.ts +1 -16
  77. package/lib/typescript/core/src/logs/types.d.ts.map +1 -1
  78. package/lib/typescript/core/src/nativeModulesTypes.d.ts +2 -15
  79. package/lib/typescript/core/src/nativeModulesTypes.d.ts.map +1 -1
  80. package/lib/typescript/core/src/rum/DdRum.d.ts +10 -1
  81. package/lib/typescript/core/src/rum/DdRum.d.ts.map +1 -1
  82. package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts +1 -1
  83. package/lib/typescript/core/src/rum/eventMappers/errorEventMapper.d.ts.map +1 -1
  84. package/lib/typescript/core/src/rum/helper.d.ts +10 -0
  85. package/lib/typescript/core/src/rum/helper.d.ts.map +1 -0
  86. package/lib/typescript/core/src/rum/instrumentation/DdRumErrorTracking.d.ts.map +1 -1
  87. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdBabelInteractionTracking.d.ts +6 -6
  88. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdBabelInteractionTracking.d.ts.map +1 -1
  89. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts +7 -0
  90. package/lib/typescript/core/src/rum/instrumentation/interactionTracking/DdRumUserInteractionTracking.d.ts.map +1 -1
  91. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResourceTracking.d.ts +12 -6
  92. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/DdRumResourceTracking.d.ts.map +1 -1
  93. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/DatadogTracingContext.d.ts +1 -0
  94. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/DatadogTracingContext.d.ts.map +1 -1
  95. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/TracingIdentifier.d.ts +8 -0
  96. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/TracingIdentifier.d.ts.map +1 -1
  97. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts +5 -17
  98. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracing.d.ts.map +1 -1
  99. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingAttributes.d.ts +20 -0
  100. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingAttributes.d.ts.map +1 -0
  101. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts +3 -24
  102. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingHeaders.d.ts.map +1 -1
  103. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingSampling.d.ts +12 -0
  104. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/distributedTracingSampling.d.ts.map +1 -0
  105. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/headers.d.ts +24 -0
  106. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/distributedTracing/headers.d.ts.map +1 -0
  107. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/XHRProxy.d.ts +2 -1
  108. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/XHRProxy.d.ts.map +1 -1
  109. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/XHRProxy/baggageHeaderUtils.d.ts.map +1 -1
  110. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RumResource.d.ts +1 -1
  111. package/lib/typescript/core/src/rum/instrumentation/resourceTracking/requestProxy/interfaces/RumResource.d.ts.map +1 -1
  112. package/lib/typescript/core/src/rum/types.d.ts +47 -7
  113. package/lib/typescript/core/src/rum/types.d.ts.map +1 -1
  114. package/lib/typescript/core/src/sdk/AccountInfoSingleton/AccountInfoSingleton.d.ts +15 -0
  115. package/lib/typescript/core/src/sdk/AccountInfoSingleton/AccountInfoSingleton.d.ts.map +1 -0
  116. package/lib/typescript/core/src/sdk/AccountInfoSingleton/types.d.ts +6 -0
  117. package/lib/typescript/core/src/sdk/AccountInfoSingleton/types.d.ts.map +1 -0
  118. package/lib/typescript/core/src/sdk/AttributesEncoding/attributesEncoding.d.ts +13 -0
  119. package/lib/typescript/core/src/sdk/AttributesEncoding/attributesEncoding.d.ts.map +1 -0
  120. package/lib/typescript/core/src/sdk/AttributesEncoding/defaultEncoders.d.ts +33 -0
  121. package/lib/typescript/core/src/sdk/AttributesEncoding/defaultEncoders.d.ts.map +1 -0
  122. package/lib/typescript/core/src/{utils → sdk/AttributesEncoding}/errorUtils.d.ts +4 -4
  123. package/lib/typescript/core/src/sdk/AttributesEncoding/errorUtils.d.ts.map +1 -0
  124. package/lib/typescript/core/src/sdk/AttributesEncoding/helpers.d.ts +17 -0
  125. package/lib/typescript/core/src/sdk/AttributesEncoding/helpers.d.ts.map +1 -0
  126. package/lib/typescript/core/src/sdk/AttributesEncoding/types.d.ts +21 -0
  127. package/lib/typescript/core/src/sdk/AttributesEncoding/types.d.ts.map +1 -0
  128. package/lib/typescript/core/src/sdk/AttributesEncoding/utils.d.ts +7 -0
  129. package/lib/typescript/core/src/sdk/AttributesEncoding/utils.d.ts.map +1 -0
  130. package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts +5 -1
  131. package/lib/typescript/core/src/sdk/AttributesSingleton/AttributesSingleton.d.ts.map +1 -1
  132. package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProvider.d.ts +4 -3
  133. package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProvider.d.ts.map +1 -1
  134. package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProviderState.d.ts +9 -0
  135. package/lib/typescript/core/src/sdk/DatadogProvider/DatadogProviderState.d.ts.map +1 -0
  136. package/lib/typescript/core/src/sdk/DdSdk.d.ts +2 -3
  137. package/lib/typescript/core/src/sdk/DdSdk.d.ts.map +1 -1
  138. package/lib/typescript/core/src/sdk/DdSdkInternal.d.ts +39 -0
  139. package/lib/typescript/core/src/sdk/DdSdkInternal.d.ts.map +1 -0
  140. package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts +3 -1
  141. package/lib/typescript/core/src/sdk/EventMappers/EventMapper.d.ts.map +1 -1
  142. package/lib/typescript/core/src/sdk/GlobalState/GlobalState.d.ts +3 -3
  143. package/lib/typescript/core/src/sdk/GlobalState/GlobalState.d.ts.map +1 -1
  144. package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts +2 -1
  145. package/lib/typescript/core/src/sdk/UserInfoSingleton/UserInfoSingleton.d.ts.map +1 -1
  146. package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts +1 -2
  147. package/lib/typescript/core/src/sdk/UserInfoSingleton/types.d.ts.map +1 -1
  148. package/lib/typescript/core/src/specs/NativeDdRum.d.ts +45 -0
  149. package/lib/typescript/core/src/specs/NativeDdRum.d.ts.map +1 -1
  150. package/lib/typescript/core/src/specs/NativeDdSdk.d.ts +34 -6
  151. package/lib/typescript/core/src/specs/NativeDdSdk.d.ts.map +1 -1
  152. package/lib/typescript/core/src/trace/DdTrace.d.ts +1 -2
  153. package/lib/typescript/core/src/trace/DdTrace.d.ts.map +1 -1
  154. package/lib/typescript/core/src/types.d.ts +74 -92
  155. package/lib/typescript/core/src/types.d.ts.map +1 -1
  156. package/lib/typescript/core/src/utils/longTasksUtils.d.ts +1 -1
  157. package/lib/typescript/core/src/utils/longTasksUtils.d.ts.map +1 -1
  158. package/lib/typescript/core/src/utils/singletonUtils.d.ts +2 -0
  159. package/lib/typescript/core/src/utils/singletonUtils.d.ts.map +1 -0
  160. package/lib/typescript/core/src/version.d.ts +1 -1
  161. package/lib/typescript/core/src/version.d.ts.map +1 -1
  162. package/lib/typescript/react-navigation/src/index.d.ts +2 -2
  163. package/lib/typescript/react-navigation/src/index.d.ts.map +1 -1
  164. package/lib/typescript/react-navigation/src/rum/instrumentation/DdRumReactNavigationTracking.d.ts +41 -24
  165. package/lib/typescript/react-navigation/src/rum/instrumentation/DdRumReactNavigationTracking.d.ts.map +1 -1
  166. package/lib/typescript/react-navigation/src/rum/instrumentation/utils.d.ts +13 -0
  167. package/lib/typescript/react-navigation/src/rum/instrumentation/utils.d.ts.map +1 -0
  168. package/package.json +4 -4
  169. package/src/__tests__/rum/instrumentation/DdRumReactNavigationTracking.test.tsx +147 -14
  170. package/src/index.tsx +12 -2
  171. package/src/rum/instrumentation/DdRumReactNavigationTracking.tsx +168 -101
  172. package/src/rum/instrumentation/utils.ts +28 -0
  173. package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts +0 -376
  174. package/lib/typescript/core/src/DdSdkReactNativeConfiguration.d.ts.map +0 -1
  175. package/lib/typescript/core/src/ProxyConfiguration.d.ts.map +0 -1
  176. package/lib/typescript/core/src/SdkVerbosity.d.ts.map +0 -1
  177. package/lib/typescript/core/src/TrackingConsent.d.ts.map +0 -1
  178. package/lib/typescript/core/src/rum/DdAttributes.d.ts.map +0 -1
  179. package/lib/typescript/core/src/rum/sessionId/sessionIdHelper.d.ts +0 -4
  180. package/lib/typescript/core/src/rum/sessionId/sessionIdHelper.d.ts.map +0 -1
  181. package/lib/typescript/core/src/sdk/FileBasedConfiguration/FileBasedConfiguration.d.ts +0 -34
  182. package/lib/typescript/core/src/sdk/FileBasedConfiguration/FileBasedConfiguration.d.ts.map +0 -1
  183. package/lib/typescript/core/src/utils/argsUtils.d.ts +0 -8
  184. package/lib/typescript/core/src/utils/argsUtils.d.ts.map +0 -1
  185. package/lib/typescript/core/src/utils/errorUtils.d.ts.map +0 -1
  186. /package/lib/typescript/core/src/{rum/DdAttributes.d.ts → DdAttributes.d.ts} +0 -0
  187. /package/lib/typescript/core/src/{ProxyConfiguration.d.ts → config/types/ProxyConfiguration.d.ts} +0 -0
  188. /package/lib/typescript/core/src/{SdkVerbosity.d.ts → config/types/SdkVerbosity.d.ts} +0 -0
  189. /package/lib/typescript/core/src/{TrackingConsent.d.ts → config/types/TrackingConsent.d.ts} +0 -0
@@ -0,0 +1,60 @@
1
+ import type { ActionEventMapper } from '../../rum/eventMappers/actionEventMapper';
2
+ import type { ErrorEventMapper } from '../../rum/eventMappers/errorEventMapper';
3
+ import type { ResourceEventMapper } from '../../rum/eventMappers/resourceEventMapper';
4
+ import type { FirstPartyHost } from '../../rum/types';
5
+ import type { LogEventMapper } from '../../types';
6
+ import type { TraceConfiguration } from '../features/TraceConfiguration';
7
+ /**
8
+ * Auto Instrumentation configuration passed to DatadogProvider.
9
+ * Does not include default values.
10
+ */
11
+ export type AutoInstrumentationConfiguration = {
12
+ readonly rumConfiguration: {
13
+ readonly trackInteractions: boolean;
14
+ readonly trackResources: boolean;
15
+ readonly trackErrors: boolean;
16
+ readonly useAccessibilityLabel?: boolean;
17
+ readonly actionNameAttribute?: string;
18
+ readonly resourceTraceSampleRate?: number;
19
+ readonly nativeCrashReportEnabled?: boolean;
20
+ readonly nativeLongTaskThresholdMs?: number;
21
+ readonly nativeViewTracking?: boolean;
22
+ readonly actionEventMapper?: ActionEventMapper | null;
23
+ readonly errorEventMapper?: ErrorEventMapper | null;
24
+ readonly resourceEventMapper?: ResourceEventMapper | null;
25
+ readonly firstPartyHosts?: FirstPartyHost[];
26
+ };
27
+ readonly logsConfiguration: {
28
+ readonly logEventMapper?: LogEventMapper | null;
29
+ };
30
+ };
31
+ /**
32
+ * Parameters needed to start auto instrumentation. Includes default values.
33
+ */
34
+ export type AutoInstrumentationParameters = {
35
+ readonly rumConfiguration?: {
36
+ readonly useAccessibilityLabel: boolean;
37
+ readonly trackInteractions: boolean;
38
+ readonly trackResources: boolean;
39
+ readonly trackErrors: boolean;
40
+ readonly actionNameAttribute?: string;
41
+ readonly resourceTraceSampleRate?: number;
42
+ readonly nativeCrashReportEnabled?: boolean;
43
+ readonly nativeLongTaskThresholdMs?: number;
44
+ readonly nativeViewTracking?: boolean;
45
+ readonly actionEventMapper: ActionEventMapper | null;
46
+ readonly errorEventMapper: ErrorEventMapper | null;
47
+ readonly resourceEventMapper: ResourceEventMapper | null;
48
+ readonly firstPartyHosts: FirstPartyHost[];
49
+ };
50
+ readonly logsConfiguration?: {
51
+ readonly logEventMapper: LogEventMapper | null;
52
+ };
53
+ readonly traceConfiguration?: TraceConfiguration;
54
+ };
55
+ /**
56
+ * We could use `Proxy` instead of this function, but `Proxy` is not available on
57
+ * the older android jsc that can still be used.
58
+ */
59
+ export declare const addDefaultValuesToAutoInstrumentationConfiguration: (features: AutoInstrumentationConfiguration) => AutoInstrumentationParameters;
60
+ //# sourceMappingURL=AutoInstrumentationConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AutoInstrumentationConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/async/AutoInstrumentationConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAGlD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAEzE;;;GAGG;AACH,MAAM,MAAM,gCAAgC,GAAG;IAC3C,QAAQ,CAAC,gBAAgB,EAAE;QACvB,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;QACpC,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;QACjC,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;QAC9B,QAAQ,CAAC,qBAAqB,CAAC,EAAE,OAAO,CAAC;QACzC,QAAQ,CAAC,mBAAmB,CAAC,EAAE,MAAM,CAAC;QACtC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,MAAM,CAAC;QAC1C,QAAQ,CAAC,wBAAwB,CAAC,EAAE,OAAO,CAAC;QAC5C,QAAQ,CAAC,yBAAyB,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ACF,QAAQ,CAAC,iBAAiB,CAAC,EAAE;QACzB,QAAQ,CAAC,cAAc,EAAE,cAAc,GAAG,IAAI,CAAC;KAClD,CAAC;IACF,QAAQ,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;CACpD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kDAAkD,aACjD,gCAAgC,KAC3C,6BAuDF,CAAC"}
@@ -0,0 +1,47 @@
1
+ import type { AttributeEncoder } from '../../sdk/AttributesEncoding/types';
2
+ import type { BatchProcessingLevel, BatchSize, ProxyConfiguration, SdkVerbosity, TrackingConsent, UploadFrequency, VitalsUpdateFrequency } from '../types';
3
+ export type PartialInitializationConfiguration = {
4
+ readonly additionalConfiguration?: {
5
+ [k: string]: any;
6
+ };
7
+ readonly attributeEncoders?: AttributeEncoder<any>[];
8
+ readonly clientToken: string;
9
+ readonly env: string;
10
+ readonly site?: string;
11
+ readonly trackingConsent?: TrackingConsent;
12
+ readonly verbosity?: SdkVerbosity | undefined;
13
+ readonly service?: string;
14
+ readonly version?: string;
15
+ versionSuffix?: string;
16
+ readonly proxyConfiguration?: ProxyConfiguration;
17
+ readonly uploadFrequency?: UploadFrequency;
18
+ readonly batchSize?: BatchSize;
19
+ readonly batchProcessingLevel?: BatchProcessingLevel;
20
+ readonly rumConfiguration?: {
21
+ readonly applicationId: string;
22
+ readonly sessionSampleRate?: number;
23
+ readonly nativeLongTaskThresholdMs?: number;
24
+ readonly nativeCrashReportEnabled?: boolean;
25
+ readonly nativeViewTracking?: boolean;
26
+ readonly nativeInteractionTracking?: boolean;
27
+ readonly longTaskThresholdMs?: number | false;
28
+ readonly vitalsUpdateFrequency?: VitalsUpdateFrequency;
29
+ readonly trackFrustrations?: boolean;
30
+ readonly trackBackgroundEvents?: boolean;
31
+ readonly initialResourceThreshold?: number;
32
+ readonly trackMemoryWarnings?: boolean;
33
+ readonly telemetrySampleRate?: number;
34
+ readonly customEndpoint?: string;
35
+ readonly trackNonFatalAnrs?: boolean;
36
+ readonly appHangThreshold?: number;
37
+ };
38
+ readonly logsConfiguration?: {
39
+ readonly bundleLogsWithRum?: boolean;
40
+ readonly bundleLogsWithTraces?: boolean;
41
+ readonly customEndpoint?: string;
42
+ };
43
+ readonly traceConfiguration?: {
44
+ readonly customEndpoint?: string;
45
+ };
46
+ };
47
+ //# sourceMappingURL=PartialInitializationConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PartialInitializationConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/async/PartialInitializationConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EACR,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,eAAe,EACf,qBAAqB,EACxB,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,kCAAkC,GAAG;IAC7C,QAAQ,CAAC,uBAAuB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACxD,QAAQ,CAAC,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE,CAAC;IACrD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,eAAe,CAAC,EAAE,eAAe,CAAC;IAC3C,QAAQ,CAAC,SAAS,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACjD,QAAQ,CAAC,eAAe,CA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,CAAC,kBAAkB,CAAC,EAAE;QAC1B,QAAQ,CAAC,cAAc,CAAC,EAAE,MAAM,CAAC;KACpC,CAAC;CACL,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { CoreConfiguration } from '../features/CoreConfiguration';
2
+ import type { AutoInstrumentationConfiguration } from './AutoInstrumentationConfiguration';
3
+ import type { PartialInitializationConfiguration } from './PartialInitializationConfiguration';
4
+ export declare const buildConfigurationFromPartialConfiguration: (features: AutoInstrumentationConfiguration, configuration: PartialInitializationConfiguration) => CoreConfiguration;
5
+ //# sourceMappingURL=asyncInitializationHelper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asyncInitializationHelper.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/async/asyncInitializationHelper.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAIlE,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,sCAAsC,CAAC;AAE/F,eAAO,MAAM,0CAA0C,aACzC,gCAAgC,iBAC3B,kCAAkC,KAClD,iBAmCF,CAAC"}
@@ -0,0 +1,52 @@
1
+ import type { AttributeEncoder } from '../../sdk/AttributesEncoding/types';
2
+ import type { SdkVerbosity, ProxyConfiguration } from '../types';
3
+ import { TrackingConsent, BatchProcessingLevel, BatchSize, UploadFrequency } from '../types';
4
+ import type { CoreConfigurationOptions, CoreConfigurationType } from './CoreConfiguration.type';
5
+ import { LogsConfiguration } from './LogsConfiguration';
6
+ import { RumConfiguration } from './RumConfiguration';
7
+ import { TraceConfiguration } from './TraceConfiguration';
8
+ declare const DEFAULTS: {
9
+ getAdditionalConfiguration: () => {};
10
+ attributeEncoders: AttributeEncoder<any>[];
11
+ batchProcessingLevel: BatchProcessingLevel;
12
+ batchSize: BatchSize;
13
+ logsConfiguration: undefined;
14
+ proxyConfiguration: undefined;
15
+ rumConfiguration: undefined;
16
+ service: undefined;
17
+ site: string;
18
+ traceConfiguration: undefined;
19
+ uploadFrequency: UploadFrequency;
20
+ verbosity: undefined;
21
+ version: undefined;
22
+ versionSuffix: undefined;
23
+ trackingConsent: TrackingConsent;
24
+ };
25
+ /**
26
+ * The Core configuration class.
27
+ * Used to configure the SDK functionality at initialization.
28
+ */
29
+ declare class CoreConfiguration implements CoreConfigurationType {
30
+ readonly clientToken: string;
31
+ readonly env: string;
32
+ readonly trackingConsent: TrackingConsent;
33
+ additionalConfiguration?: {
34
+ [k: string]: any;
35
+ };
36
+ attributeEncoders: AttributeEncoder<any>[];
37
+ batchProcessingLevel: BatchProcessingLevel;
38
+ batchSize: BatchSize;
39
+ logsConfiguration?: LogsConfiguration;
40
+ proxyConfiguration?: ProxyConfiguration;
41
+ rumConfiguration?: RumConfiguration;
42
+ service?: string;
43
+ site: string;
44
+ traceConfiguration?: TraceConfiguration;
45
+ uploadFrequency: UploadFrequency;
46
+ verbosity?: SdkVerbosity;
47
+ version?: string;
48
+ versionSuffix?: string;
49
+ constructor(clientToken: string, env: string, trackingConsent?: TrackingConsent, options?: CoreConfigurationOptions);
50
+ }
51
+ export { DEFAULTS as CORE_DEFAULTS, CoreConfiguration };
52
+ //# sourceMappingURL=CoreConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/CoreConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EACH,eAAe,EACf,oBAAoB,EACpB,SAAS,EACT,eAAe,EAClB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EACR,wBAAwB,EACxB,qBAAqB,EACxB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,iBAAiB,EAAE,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SdkVerbosity, TrackingConsent, UploadFrequency } from '../types';
3
+ import type { LogsConfigurationType } from './LogsConfiguration.type';
4
+ import type { RumConfigurationType } from './RumConfiguration.type';
5
+ import type { TraceConfigurationType } from './TraceConfiguration.type';
6
+ /**
7
+ * Required core configuration values.
8
+ */
9
+ export interface CoreConfigurationRequired {
10
+ /**
11
+ * The Datadog client token.
12
+ */
13
+ clientToken: string;
14
+ /**
15
+ * The environment name (e.g. prod, staging).
16
+ */
17
+ env: string;
18
+ /**
19
+ * Initial tracking consent value.
20
+ */
21
+ trackingConsent: TrackingConsent;
22
+ }
23
+ /**
24
+ * Optional core configuration values.
25
+ */
26
+ export interface CoreConfigurationOptions {
27
+ /**
28
+ * Additional arbitrary configuration values.
29
+ */
30
+ additionalConfiguration?: {
31
+ [k: string]: any;
32
+ };
33
+ /**
34
+ * Custom attribute encoders.
35
+ */
36
+ attributeEncoders?: AttributeEncoder<any>[];
37
+ /**
38
+ * Batch size used when sending data.
39
+ */
40
+ batchSize?: BatchSize;
41
+ /**
42
+ * Processing level used when batching data.
43
+ */
44
+ batchProcessingLevel?: BatchProcessingLevel;
45
+ /**
46
+ * Logs feature configuration.
47
+ */
48
+ logsConfiguration?: LogsConfigurationType;
49
+ /**
50
+ * Proxy configuration.
51
+ */
52
+ proxyConfiguration?: ProxyConfiguration;
53
+ /**
54
+ * RUM feature configuration.
55
+ */
56
+ rumConfiguration?: RumConfigurationType;
57
+ /**
58
+ * Name of the service.
59
+ */
60
+ service?: string;
61
+ /**
62
+ * Datadog site to send data to.
63
+ */
64
+ site?: string;
65
+ /**
66
+ * Trace feature configuration.
67
+ */
68
+ traceConfiguration?: TraceConfigurationType;
69
+ /**
70
+ * Frequency used to upload data batches.
71
+ */
72
+ uploadFrequency?: UploadFrequency;
73
+ /**
74
+ * Overrides the reported application version.
75
+ */
76
+ version?: string;
77
+ /**
78
+ * Suffix added to the reported application version.
79
+ */
80
+ versionSuffix?: string;
81
+ /**
82
+ * SDK internal logging verbosity.
83
+ */
84
+ verbosity?: SdkVerbosity;
85
+ }
86
+ /**
87
+ * Complete core configuration type.
88
+ */
89
+ export type CoreConfigurationType = CoreConfigurationRequired & CoreConfigurationOptions;
90
+ //# sourceMappingURL=CoreConfiguration.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreConfiguration.type.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/CoreConfiguration.type.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EACR,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,YAAY,EACZ,eAAe,EACf,eAAe,EAClB,MAAM,UAAU,CAAC;AAElB,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAExE;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,uBAAuB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IAE/C;;OAEG;IACH,iBAAiB,CAAC,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE,CAAC;IAE5C;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAE5C;;OAEG;IACH,iBAAiB,CAAC,EAAE,qBAAqB,CAAC;IAE1C;;OAEG;IACH,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IAExC;;OAEG;IACH,gBAAgB,CAAC,EAAE,oBAAoB,CAAC;IAExC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,kBAAkB,CAAC,EAAE,sBAAsB,CAAC;IAE5C;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,yBAAyB,GACzD,wBAAwB,CAAC"}
@@ -0,0 +1,54 @@
1
+ import type { AttributeEncoder } from '../../sdk/AttributesEncoding/types';
2
+ import type { BatchProcessingLevel } from '../types';
3
+ import type { LogsNativeConfiguration } from './LogsConfigurationNative';
4
+ import type { RumNativeConfiguration } from './RumConfigurationNative';
5
+ import type { TraceNativeConfiguration } from './TraceConfigurationNative';
6
+ /**
7
+ * A configuration object to initialize Datadog's features.
8
+ */
9
+ export declare class DdSdkNativeConfiguration {
10
+ readonly additionalConfiguration: object;
11
+ readonly clientToken: string;
12
+ readonly env: string;
13
+ readonly site: string;
14
+ readonly service: string | undefined;
15
+ readonly verbosity: string | undefined;
16
+ readonly trackingConsent: string;
17
+ readonly uploadFrequency: string;
18
+ readonly batchSize: string;
19
+ readonly batchProcessingLevel: BatchProcessingLevel;
20
+ readonly proxyConfiguration: {
21
+ type: string;
22
+ address: string;
23
+ port: number;
24
+ username?: string;
25
+ password?: string;
26
+ } | undefined;
27
+ readonly attributeEncoders: AttributeEncoder<any>[];
28
+ readonly rumConfiguration: RumNativeConfiguration | undefined;
29
+ readonly logsConfiguration: LogsNativeConfiguration | undefined;
30
+ readonly traceConfiguration: TraceNativeConfiguration | undefined;
31
+ readonly configurationForTelemetry: {
32
+ initializationType: string;
33
+ trackErrors: boolean;
34
+ trackInteractions: boolean;
35
+ trackNetworkRequests: boolean;
36
+ reactVersion: string;
37
+ reactNativeVersion: string;
38
+ };
39
+ constructor(additionalConfiguration: object, clientToken: string, env: string, site: string, service: string | undefined, verbosity: string | undefined, trackingConsent: string, uploadFrequency: string, batchSize: string, batchProcessingLevel: BatchProcessingLevel, proxyConfiguration: {
40
+ type: string;
41
+ address: string;
42
+ port: number;
43
+ username?: string;
44
+ password?: string;
45
+ } | undefined, attributeEncoders: AttributeEncoder<any>[], rumConfiguration: RumNativeConfiguration | undefined, logsConfiguration: LogsNativeConfiguration | undefined, traceConfiguration: TraceNativeConfiguration | undefined, configurationForTelemetry: {
46
+ initializationType: string;
47
+ trackErrors: boolean;
48
+ trackInteractions: boolean;
49
+ trackNetworkRequests: boolean;
50
+ reactVersion: string;
51
+ reactNativeVersion: string;
52
+ });
53
+ }
54
+ //# sourceMappingURL=CoreConfigurationNative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoreConfigurationNative.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/CoreConfigurationNative.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AACvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;GAEG;AACH,qBAAa,wBAAwB;IAE7B,QAAQ,CAAC,uBAAuB,EAAE,MAAM;IACxC,QAAQ,CAAC,WAAW,EAAE,MAAM;IAC5B,QAAQ,CAAC,GAAG,EAAE,MAAM;IACpB,QAAQ,CAAC,IAAI,EAAE,MAAM;IACrB,QAAQ,CAAC,OAAO,EAA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b,OAAO,EAAE,MAAM,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;KACrB,GACD,SAAS,EACN,iBAAiB,EAAE,gBAAgB,CAAC,GAAG,CAAC,EAAE,EAC1C,gBAAgB,EAAE,sBAAsB,GAAG,SAAS,EACpD,iBAAiB,EAAE,uBAAuB,GAAG,SAAS,EACtD,kBAAkB,EAAE,wBAAwB,GAAG,SAAS,EACxD,yBAAyB,EAAE;QAChC,kBAAkB,EAAE,MAAM,CAAC;QAC3B,WAAW,EAAE,OAAO,CAAC;QACrB,iBAAiB,EAAE,OAAO,CAAC;QAC3B,oBAAoB,EAAE,OAAO,CAAC;QAC9B,YAAY,EAAE,MAAM,CAAC;QACrB,kBAAkB,EAAE,MAAM,CAAC;KAC9B;CAER"}
@@ -0,0 +1,17 @@
1
+ import type { LogEventMapper } from '../../types';
2
+ import type { LogsConfigurationOptions, LogsConfigurationType } from './LogsConfiguration.type';
3
+ declare const DEFAULTS: {
4
+ bundleLogsWithRum: boolean;
5
+ bundleLogsWithTraces: boolean;
6
+ customEndpoint: undefined;
7
+ logEventMapper: null;
8
+ };
9
+ export declare class LogsConfiguration implements LogsConfigurationType {
10
+ bundleLogsWithRum: boolean;
11
+ bundleLogsWithTraces: boolean;
12
+ customEndpoint?: string;
13
+ logEventMapper: LogEventMapper | null;
14
+ constructor(options?: LogsConfigurationOptions);
15
+ }
16
+ export { DEFAULTS as LOGS_DEFAULTS };
17
+ //# sourceMappingURL=LogsConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogsConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/LogsConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,KAAK,EACR,wBAAwB,EACxB,qBAAqB,EACxB,MAAM,0BAA0B,CAAC;AAElC,QAAA,MAAM,QAAQ;;;;;CAKb,CAAC;AAEF,qBAAa,iBAAkB,YAAW,qBAAqB;IAEpD,iBAAiB,EAAE,OAAO,CAA8B;IAGxD,oBAAoB,EAAE,OAAO,CAAiC;IAG9D,cAAc,CAAC,EAAE,MAAM,CAA2B;IAGlD,cAAc,EAAE,cAAc,GAAG,IAAI,CAA2B;gBAE3D,OAAO,GAAE,wBAA6B;CAGrD;AAED,OAAO,EAAE,QAAQ,IAAI,aAAa,EAAE,CAAC"}
@@ -0,0 +1,24 @@
1
+ import type { LogEventMapper } from '../../types';
2
+ /**
3
+ * Logs configuration options.
4
+ */
5
+ export interface LogsConfigurationType {
6
+ /**
7
+ * Enables correlation between logs and RUM.
8
+ */
9
+ bundleLogsWithRum?: boolean;
10
+ /**
11
+ * Enables correlation between logs and traces.
12
+ */
13
+ bundleLogsWithTraces?: boolean;
14
+ /**
15
+ * Sets a target custom server for Logs.
16
+ */
17
+ customEndpoint?: string;
18
+ /**
19
+ * Custom mapper to transform log events.
20
+ */
21
+ logEventMapper?: LogEventMapper | null;
22
+ }
23
+ export type LogsConfigurationOptions = LogsConfigurationType;
24
+ //# sourceMappingURL=LogsConfiguration.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogsConfiguration.type.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/LogsConfiguration.type.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAE/B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;CAC1C;AAED,MAAM,MAAM,wBAAwB,GAAG,qBAAqB,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type LogsNativeConfiguration = {
2
+ readonly bundleLogsWithRum: boolean;
3
+ readonly bundleLogsWithTraces: boolean;
4
+ readonly customEndpoint: string;
5
+ };
6
+ //# sourceMappingURL=LogsConfigurationNative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LogsConfigurationNative.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/LogsConfigurationNative.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,uBAAuB,GAAG;IAClC,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,oBAAoB,EAAE,OAAO,CAAC;IACvC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;CACnC,CAAC"}
@@ -0,0 +1,66 @@
1
+ import type { ActionEventMapper } from '../../rum/eventMappers/actionEventMapper';
2
+ import type { ErrorEventMapper } from '../../rum/eventMappers/errorEventMapper';
3
+ import type { ResourceEventMapper } from '../../rum/eventMappers/resourceEventMapper';
4
+ import type { FirstPartyHost } from '../../rum/types';
5
+ import { VitalsUpdateFrequency } from '../types';
6
+ import type { RumConfigurationOptions, RumConfigurationType } from './RumConfiguration.type';
7
+ declare const DEFAULTS: {
8
+ actionEventMapper: null;
9
+ actionNameAttribute: undefined;
10
+ appHangThreshold: undefined;
11
+ customEndpoint: undefined;
12
+ errorEventMapper: null;
13
+ getFirstPartyHosts: () => never[];
14
+ initialResourceThreshold: undefined;
15
+ longTaskThresholdMs: number;
16
+ nativeCrashReportEnabled: boolean;
17
+ nativeInteractionTracking: boolean;
18
+ nativeLongTaskThresholdMs: number;
19
+ nativeViewTracking: boolean;
20
+ resourceEventMapper: null;
21
+ resourceTraceSampleRate: number;
22
+ sessionSampleRate: number;
23
+ telemetrySampleRate: number;
24
+ trackBackgroundEvents: boolean;
25
+ trackErrors: boolean;
26
+ trackFrustrations: boolean;
27
+ trackInteractions: boolean;
28
+ trackMemoryWarnings: boolean;
29
+ trackNonFatalAnrs: undefined;
30
+ trackResources: boolean;
31
+ trackWatchdogTerminations: boolean;
32
+ useAccessibilityLabel: boolean;
33
+ vitalsUpdateFrequency: VitalsUpdateFrequency;
34
+ };
35
+ export declare class RumConfiguration implements RumConfigurationType {
36
+ readonly applicationId: string;
37
+ readonly trackInteractions: boolean;
38
+ readonly trackResources: boolean;
39
+ readonly trackErrors: boolean;
40
+ actionEventMapper: ActionEventMapper | null;
41
+ actionNameAttribute?: string;
42
+ appHangThreshold?: number;
43
+ customEndpoint?: string;
44
+ errorEventMapper: ErrorEventMapper | null;
45
+ firstPartyHosts: FirstPartyHost[];
46
+ initialResourceThreshold?: number;
47
+ longTaskThresholdMs: number | 0 | false;
48
+ nativeCrashReportEnabled: boolean;
49
+ nativeInteractionTracking: boolean;
50
+ nativeLongTaskThresholdMs: number;
51
+ nativeViewTracking: boolean;
52
+ resourceEventMapper: ResourceEventMapper | null;
53
+ resourceTraceSampleRate: number;
54
+ sessionSampleRate: number;
55
+ telemetrySampleRate: number;
56
+ trackBackgroundEvents: boolean;
57
+ trackFrustrations: boolean;
58
+ trackMemoryWarnings: boolean;
59
+ trackNonFatalAnrs?: boolean;
60
+ trackWatchdogTerminations: boolean;
61
+ useAccessibilityLabel: boolean;
62
+ vitalsUpdateFrequency: VitalsUpdateFrequency;
63
+ constructor(applicationId: string, trackInteractions?: boolean, trackResources?: boolean, trackErrors?: boolean, options?: RumConfigurationOptions);
64
+ }
65
+ export { DEFAULTS as RUM_DEFAULTS };
66
+ //# sourceMappingURL=RumConfiguration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RumConfiguration.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/RumConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4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B;IAGzD,yBAAyB,EAAE,OAAO,CACF;IAGhC,qBAAqB,EAAE,OAAO,CAAkC;IAGhE,qBAAqB,EAAE,qBAAqB,CAChB;gBAGtB,aAAa,EAAE,MAAM,EACrB,iBAAiB,GAAE,OAAoC,EACvD,cAAc,GAAE,OAAiC,EACjD,WAAW,GAAE,OAA8B,EACpD,OAAO,GAAE,uBAA4B;CAI5C;AAED,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAC"}
@@ -0,0 +1,131 @@
1
+ import type { ActionEventMapper } from '../../rum/eventMappers/actionEventMapper';
2
+ import type { ErrorEventMapper } from '../../rum/eventMappers/errorEventMapper';
3
+ import type { ResourceEventMapper } from '../../rum/eventMappers/resourceEventMapper';
4
+ import type { FirstPartyHost } from '../../rum/types';
5
+ import type { VitalsUpdateFrequency } from '../types';
6
+ /**
7
+ * Required RUM configuration values.
8
+ */
9
+ export interface RumConfigurationRequired {
10
+ /**
11
+ * The Datadog RUM application ID.
12
+ */
13
+ applicationId: string;
14
+ /**
15
+ * Enables tracking of user interactions.
16
+ * Defaults to the SDK-defined value.
17
+ */
18
+ trackInteractions?: boolean;
19
+ /**
20
+ * Enables tracking of network resources.
21
+ * Defaults to the SDK-defined value.
22
+ */
23
+ trackResources?: boolean;
24
+ /**
25
+ * Enables tracking of errors.
26
+ * Defaults to the SDK-defined value.
27
+ */
28
+ trackErrors?: boolean;
29
+ }
30
+ /**
31
+ * Optional RUM configuration values.
32
+ */
33
+ export interface RumConfigurationOptions {
34
+ /**
35
+ * Custom mapper to transform RUM action events.
36
+ */
37
+ actionEventMapper?: ActionEventMapper | null;
38
+ /**
39
+ * Custom attribute used to name RUM actions.
40
+ */
41
+ actionNameAttribute?: string;
42
+ /**
43
+ * App hang threshold in seconds for non-fatal app hangs on iOS.
44
+ */
45
+ appHangThreshold?: number;
46
+ /**
47
+ * Sets a target custom server for RUM.
48
+ */
49
+ customEndpoint?: string;
50
+ /**
51
+ * Custom mapper to transform RUM error events.
52
+ */
53
+ errorEventMapper?: ErrorEventMapper | null;
54
+ /**
55
+ * List of backend hosts used to enable tracing.
56
+ */
57
+ firstPartyHosts?: FirstPartyHost[];
58
+ /**
59
+ * Initial resource collection threshold in seconds.
60
+ */
61
+ initialResourceThreshold?: number;
62
+ /**
63
+ * Threshold for JavaScript long task reporting in milliseconds.
64
+ */
65
+ longTaskThresholdMs?: number | false;
66
+ /**
67
+ * Enables native crash reporting.
68
+ */
69
+ nativeCrashReportEnabled?: boolean;
70
+ /**
71
+ * Threshold for native long task reporting in milliseconds.
72
+ */
73
+ nativeLongTaskThresholdMs?: number;
74
+ /**
75
+ * Enables native interaction tracking.
76
+ */
77
+ nativeInteractionTracking?: boolean;
78
+ /**
79
+ * Enables native view tracking.
80
+ */
81
+ nativeViewTracking?: boolean;
82
+ /**
83
+ * Custom mapper to transform RUM resource events.
84
+ */
85
+ resourceEventMapper?: ResourceEventMapper | null;
86
+ /**
87
+ * Percentage of traced network requests.
88
+ */
89
+ resourceTraceSampleRate?: number;
90
+ /**
91
+ * Percentage of sampled RUM sessions.
92
+ */
93
+ sessionSampleRate?: number;
94
+ /**
95
+ * Enables tracking of background RUM events.
96
+ */
97
+ trackBackgroundEvents?: boolean;
98
+ /**
99
+ * Enables tracking of frustration signals.
100
+ */
101
+ trackFrustrations?: boolean;
102
+ /**
103
+ * Enables tracking of non-fatal ANRs on Android.
104
+ */
105
+ trackNonFatalAnrs?: boolean;
106
+ /**
107
+ * Enables tracking of app termination by the iOS watchdog.
108
+ */
109
+ trackWatchdogTerminations?: boolean;
110
+ /**
111
+ * Sampling rate for internal SDK telemetry.
112
+ */
113
+ telemetrySampleRate?: number;
114
+ /**
115
+ * Enables tracking of memory warnings (iOS only).
116
+ */
117
+ trackMemoryWarnings?: boolean;
118
+ /**
119
+ * Enables accessibility label usage for action names.
120
+ */
121
+ useAccessibilityLabel?: boolean;
122
+ /**
123
+ * Preferred frequency for collecting mobile vitals.
124
+ */
125
+ vitalsUpdateFrequency?: VitalsUpdateFrequency;
126
+ }
127
+ /**
128
+ * Complete RUM configuration type.
129
+ */
130
+ export type RumConfigurationType = RumConfigurationRequired & RumConfigurationOptions;
131
+ //# sourceMappingURL=RumConfiguration.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RumConfiguration.type.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/RumConfiguration.type.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yCAAyC,CAAC;AAChF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtD;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IAE7C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,eAAe,CAAC,EAAE,cAAc,EAAE,CAAC;IAEnC;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAElC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IAErC;;OAEG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;IAEnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,MAAM,CAAC;IAEnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,mBAAmB,GAAG,IAAI,CAAC;IAEjD;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;OAEG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAEhC;;OAEG;IACH,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CACjD;AAED;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GACvD,uBAAuB,CAAC"}
@@ -0,0 +1,25 @@
1
+ export type RumNativeConfiguration = {
2
+ readonly applicationId: string;
3
+ readonly trackFrustrations: boolean;
4
+ readonly longTaskThresholdMs: number;
5
+ readonly sessionSampleRate: number;
6
+ readonly resourceTraceSampleRate: number;
7
+ readonly vitalsUpdateFrequency: string;
8
+ readonly trackBackgroundEvents: boolean;
9
+ readonly nativeCrashReportEnabled: boolean;
10
+ readonly nativeLongTaskThresholdMs: number;
11
+ readonly nativeViewTracking: boolean;
12
+ readonly nativeInteractionTracking: boolean;
13
+ readonly trackNonFatalAnrs: boolean | undefined;
14
+ readonly appHangThreshold: number | undefined;
15
+ readonly trackWatchdogTerminations: boolean | undefined;
16
+ readonly initialResourceThreshold: number | undefined;
17
+ readonly trackMemoryWarnings: boolean;
18
+ readonly telemetrySampleRate: number;
19
+ readonly customEndpoint: string;
20
+ readonly firstPartyHosts: {
21
+ match: string;
22
+ propagatorTypes: string[];
23
+ }[];
24
+ };
25
+ //# sourceMappingURL=RumConfigurationNative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RumConfigurationNative.d.ts","sourceRoot":"","sources":["../../../../../../../core/src/config/features/RumConfigurationNative.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;IACpC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,qBAAqB,EAAE,MAAM,CAAC;IACvC,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACxC,QAAQ,CAAC,wBAAwB,EAAE,OAAO,CAAC;IAC3C,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,kBAAkB,EAAE,OAAO,CAAC;IACrC,QAAQ,CAAC,yBAAyB,EAAE,OAAO,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9C,QAAQ,CAAC,yBAAyB,EAAE,OAAO,GAAG,SAAS,CAAC;IACxD,QAAQ,CAAC,wBAAwB,EAAE,MAAM,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,mBAAmB,EAAE,OAAO,CAAC;IACtC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,eAAe,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,eAAe,EAAE,MAAM,EAAE,CAAA;KAAE,EAAE,CAAC;CAC5E,CAAC"}