@microsoft/applicationinsights-common 3.0.0-beta.2303-11 → 3.0.0-nightly3.2304-28

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 (371) hide show
  1. package/browser/es5/applicationinsights-common.cjs.js +3965 -0
  2. package/browser/es5/applicationinsights-common.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-common.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-common.cjs.min.js.map +1 -0
  5. package/browser/es5/applicationinsights-common.gbl.js +3969 -0
  6. package/browser/es5/applicationinsights-common.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-common.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-common.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-common.integrity.json +66 -0
  10. package/browser/{applicationinsights-common.js → es5/applicationinsights-common.js} +194 -167
  11. package/browser/es5/applicationinsights-common.js.map +1 -0
  12. package/browser/es5/applicationinsights-common.min.js +6 -0
  13. package/browser/es5/applicationinsights-common.min.js.map +1 -0
  14. package/dist/{applicationinsights-common.js → es5/applicationinsights-common.js} +194 -167
  15. package/dist/es5/applicationinsights-common.js.map +1 -0
  16. package/dist/es5/applicationinsights-common.min.js +6 -0
  17. package/dist/es5/applicationinsights-common.min.js.map +1 -0
  18. package/{dist-esm → dist-es5}/ConnectionStringParser.js +1 -1
  19. package/{dist-esm → dist-es5}/Constants.js +1 -1
  20. package/{dist-esm → dist-es5}/DomHelperFuncs.js +1 -1
  21. package/{dist-esm → dist-es5}/Enums.js +1 -1
  22. package/{dist-esm → dist-es5}/HelperFuncs.js +1 -1
  23. package/dist-es5/Interfaces/ConnectionString.js +6 -0
  24. package/dist-es5/Interfaces/Context/IApplication.js +8 -0
  25. package/dist-es5/Interfaces/Context/IDevice.js +8 -0
  26. package/dist-es5/Interfaces/Context/IInternal.js +8 -0
  27. package/dist-es5/Interfaces/Context/ILocation.js +8 -0
  28. package/dist-es5/Interfaces/Context/IOperatingSystem.js +8 -0
  29. package/dist-es5/Interfaces/Context/ISample.js +8 -0
  30. package/dist-es5/Interfaces/Context/ISession.js +8 -0
  31. package/dist-es5/Interfaces/Context/ITelemetryTrace.js +8 -0
  32. package/dist-es5/Interfaces/Context/IUser.js +8 -0
  33. package/dist-es5/Interfaces/Context/IWeb.js +8 -0
  34. package/{dist-esm → dist-es5}/Interfaces/Contracts/AvailabilityData.js +1 -1
  35. package/{dist-esm → dist-es5}/Interfaces/Contracts/ContextTagKeys.js +1 -1
  36. package/dist-es5/Interfaces/Contracts/DataPointType.js +8 -0
  37. package/dist-es5/Interfaces/Contracts/DependencyKind.js +8 -0
  38. package/dist-es5/Interfaces/Contracts/DependencySourceType.js +8 -0
  39. package/dist-es5/Interfaces/Contracts/IBase.js +8 -0
  40. package/dist-es5/Interfaces/Contracts/IData.js +8 -0
  41. package/dist-es5/Interfaces/Contracts/IDataPoint.js +6 -0
  42. package/dist-es5/Interfaces/Contracts/IDomain.js +8 -0
  43. package/{dist-esm → dist-es5}/Interfaces/Contracts/IEnvelope.js +1 -1
  44. package/dist-es5/Interfaces/Contracts/IEventData.js +8 -0
  45. package/dist-es5/Interfaces/Contracts/IExceptionData.js +8 -0
  46. package/dist-es5/Interfaces/Contracts/IExceptionDetails.js +8 -0
  47. package/dist-es5/Interfaces/Contracts/IMessageData.js +8 -0
  48. package/dist-es5/Interfaces/Contracts/IMetricData.js +8 -0
  49. package/dist-es5/Interfaces/Contracts/IPageViewData.js +8 -0
  50. package/dist-es5/Interfaces/Contracts/IPageViewPerfData.js +8 -0
  51. package/dist-es5/Interfaces/Contracts/IRemoteDependencyData.js +8 -0
  52. package/dist-es5/Interfaces/Contracts/IStackFrame.js +8 -0
  53. package/{dist-esm → dist-es5}/Interfaces/Contracts/RequestData.js +1 -1
  54. package/{dist-esm → dist-es5}/Interfaces/Contracts/SeverityLevel.js +1 -1
  55. package/dist-es5/Interfaces/IAppInsights.js +8 -0
  56. package/{dist-esm → dist-es5}/Interfaces/IConfig.js +1 -1
  57. package/dist-es5/Interfaces/ICorrelationConfig.js +8 -0
  58. package/dist-es5/Interfaces/IDependencyTelemetry.js +8 -0
  59. package/dist-es5/Interfaces/IEventTelemetry.js +6 -0
  60. package/dist-es5/Interfaces/IExceptionTelemetry.js +8 -0
  61. package/dist-es5/Interfaces/IMetricTelemetry.js +6 -0
  62. package/dist-es5/Interfaces/IPageViewPerformanceTelemetry.js +6 -0
  63. package/dist-es5/Interfaces/IPageViewTelemetry.js +6 -0
  64. package/dist-es5/Interfaces/IPartC.js +8 -0
  65. package/dist-es5/Interfaces/IPropertiesPlugin.js +8 -0
  66. package/dist-es5/Interfaces/IRequestContext.js +6 -0
  67. package/dist-es5/Interfaces/ITelemetryContext.js +8 -0
  68. package/dist-es5/Interfaces/IThrottleMgr.js +6 -0
  69. package/dist-es5/Interfaces/ITraceTelemetry.js +8 -0
  70. package/{dist-esm → dist-es5}/Interfaces/PartAExtensions.js +1 -1
  71. package/dist-es5/Interfaces/Telemetry/IEnvelope.js +8 -0
  72. package/dist-es5/Interfaces/Telemetry/ISerializable.js +8 -0
  73. package/{dist-esm → dist-es5}/RequestResponseHeaders.js +1 -1
  74. package/{dist-esm → dist-es5}/StorageHelperFuncs.js +1 -1
  75. package/{dist-esm → dist-es5}/Telemetry/Common/Data.js +1 -1
  76. package/{dist-esm → dist-es5}/Telemetry/Common/DataPoint.js +1 -1
  77. package/{dist-esm → dist-es5}/Telemetry/Common/DataSanitizer.js +3 -2
  78. package/dist-es5/Telemetry/Common/DataSanitizer.js.map +1 -0
  79. package/{dist-esm → dist-es5}/Telemetry/Common/Envelope.js +1 -1
  80. package/{dist-esm → dist-es5}/Telemetry/Event.js +1 -1
  81. package/{dist-esm → dist-es5}/Telemetry/Exception.js +1 -1
  82. package/{dist-esm → dist-es5}/Telemetry/Metric.js +1 -1
  83. package/{dist-esm → dist-es5}/Telemetry/PageView.js +1 -1
  84. package/{dist-esm → dist-es5}/Telemetry/PageViewPerformance.js +1 -1
  85. package/{dist-esm → dist-es5}/Telemetry/RemoteDependencyData.js +1 -1
  86. package/{dist-esm → dist-es5}/Telemetry/Trace.js +1 -1
  87. package/{dist-esm → dist-es5}/TelemetryItemCreator.js +1 -1
  88. package/{dist-esm → dist-es5}/ThrottleMgr.js +1 -1
  89. package/{dist-esm → dist-es5}/UrlHelperFuncs.js +1 -1
  90. package/{dist-esm → dist-es5}/Util.js +1 -1
  91. package/{dist-esm → dist-es5}/__DynamicConstants.js +1 -1
  92. package/{dist-esm → dist-es5}/applicationinsights-common.js +1 -1
  93. package/package.json +18 -17
  94. package/tsconfig.json +4 -3
  95. package/types/applicationinsights-common.d.ts +2561 -58
  96. package/{dist/applicationinsights-common.d.ts → types/applicationinsights-common.namespaced.d.ts} +1 -1
  97. package/browser/applicationinsights-common.integrity.json +0 -26
  98. package/browser/applicationinsights-common.js.map +0 -1
  99. package/browser/applicationinsights-common.min.js +0 -6
  100. package/browser/applicationinsights-common.min.js.map +0 -1
  101. package/dist/applicationinsights-common.api.json +0 -19540
  102. package/dist/applicationinsights-common.api.md +0 -1224
  103. package/dist/applicationinsights-common.js.map +0 -1
  104. package/dist/applicationinsights-common.min.js +0 -6
  105. package/dist/applicationinsights-common.min.js.map +0 -1
  106. package/dist/applicationinsights-common.rollup.d.ts +0 -2562
  107. package/dist-esm/Interfaces/ConnectionString.js +0 -6
  108. package/dist-esm/Interfaces/Context/IApplication.js +0 -8
  109. package/dist-esm/Interfaces/Context/IDevice.js +0 -8
  110. package/dist-esm/Interfaces/Context/IInternal.js +0 -8
  111. package/dist-esm/Interfaces/Context/ILocation.js +0 -8
  112. package/dist-esm/Interfaces/Context/IOperatingSystem.js +0 -8
  113. package/dist-esm/Interfaces/Context/ISample.js +0 -8
  114. package/dist-esm/Interfaces/Context/ISession.js +0 -8
  115. package/dist-esm/Interfaces/Context/ITelemetryTrace.js +0 -8
  116. package/dist-esm/Interfaces/Context/IUser.js +0 -8
  117. package/dist-esm/Interfaces/Context/IWeb.js +0 -8
  118. package/dist-esm/Interfaces/Contracts/DataPointType.js +0 -8
  119. package/dist-esm/Interfaces/Contracts/DependencyKind.js +0 -8
  120. package/dist-esm/Interfaces/Contracts/DependencySourceType.js +0 -8
  121. package/dist-esm/Interfaces/Contracts/IBase.js +0 -8
  122. package/dist-esm/Interfaces/Contracts/IData.js +0 -8
  123. package/dist-esm/Interfaces/Contracts/IDataPoint.js +0 -6
  124. package/dist-esm/Interfaces/Contracts/IDomain.js +0 -8
  125. package/dist-esm/Interfaces/Contracts/IEventData.js +0 -8
  126. package/dist-esm/Interfaces/Contracts/IExceptionData.js +0 -8
  127. package/dist-esm/Interfaces/Contracts/IExceptionDetails.js +0 -8
  128. package/dist-esm/Interfaces/Contracts/IMessageData.js +0 -8
  129. package/dist-esm/Interfaces/Contracts/IMetricData.js +0 -8
  130. package/dist-esm/Interfaces/Contracts/IPageViewData.js +0 -8
  131. package/dist-esm/Interfaces/Contracts/IPageViewPerfData.js +0 -8
  132. package/dist-esm/Interfaces/Contracts/IRemoteDependencyData.js +0 -8
  133. package/dist-esm/Interfaces/Contracts/IStackFrame.js +0 -8
  134. package/dist-esm/Interfaces/IAppInsights.js +0 -8
  135. package/dist-esm/Interfaces/ICorrelationConfig.js +0 -8
  136. package/dist-esm/Interfaces/IDependencyTelemetry.js +0 -8
  137. package/dist-esm/Interfaces/IEventTelemetry.js +0 -6
  138. package/dist-esm/Interfaces/IExceptionTelemetry.js +0 -8
  139. package/dist-esm/Interfaces/IMetricTelemetry.js +0 -6
  140. package/dist-esm/Interfaces/IPageViewPerformanceTelemetry.js +0 -6
  141. package/dist-esm/Interfaces/IPageViewTelemetry.js +0 -6
  142. package/dist-esm/Interfaces/IPartC.js +0 -8
  143. package/dist-esm/Interfaces/IPropertiesPlugin.js +0 -8
  144. package/dist-esm/Interfaces/IRequestContext.js +0 -6
  145. package/dist-esm/Interfaces/ITelemetryContext.js +0 -8
  146. package/dist-esm/Interfaces/IThrottleMgr.js +0 -6
  147. package/dist-esm/Interfaces/ITraceTelemetry.js +0 -8
  148. package/dist-esm/Interfaces/Telemetry/IEnvelope.js +0 -8
  149. package/dist-esm/Interfaces/Telemetry/ISerializable.js +0 -8
  150. package/dist-esm/Telemetry/Common/DataSanitizer.js.map +0 -1
  151. package/src/ConnectionStringParser.ts +0 -47
  152. package/src/Constants.ts +0 -18
  153. package/src/DomHelperFuncs.ts +0 -19
  154. package/src/Enums.ts +0 -65
  155. package/src/HelperFuncs.ts +0 -54
  156. package/src/Interfaces/ConnectionString.ts +0 -3
  157. package/src/Interfaces/Context/IApplication.ts +0 -14
  158. package/src/Interfaces/Context/IDevice.ts +0 -28
  159. package/src/Interfaces/Context/IInternal.ts +0 -29
  160. package/src/Interfaces/Context/ILocation.ts +0 -9
  161. package/src/Interfaces/Context/IOperatingSystem.ts +0 -7
  162. package/src/Interfaces/Context/ISample.ts +0 -13
  163. package/src/Interfaces/Context/ISession.ts +0 -22
  164. package/src/Interfaces/Context/ITelemetryTrace.ts +0 -33
  165. package/src/Interfaces/Context/IUser.ts +0 -50
  166. package/src/Interfaces/Context/IWeb.ts +0 -39
  167. package/src/Interfaces/Contracts/AvailabilityData.ts +0 -57
  168. package/src/Interfaces/Contracts/ContextTagKeys.ts +0 -299
  169. package/src/Interfaces/Contracts/DataPointType.ts +0 -10
  170. package/src/Interfaces/Contracts/DependencyKind.ts +0 -11
  171. package/src/Interfaces/Contracts/DependencySourceType.ts +0 -11
  172. package/src/Interfaces/Contracts/IBase.ts +0 -13
  173. package/src/Interfaces/Contracts/IData.ts +0 -19
  174. package/src/Interfaces/Contracts/IDataPoint.ts +0 -44
  175. package/src/Interfaces/Contracts/IDomain.ts +0 -8
  176. package/src/Interfaces/Contracts/IEnvelope.ts +0 -50
  177. package/src/Interfaces/Contracts/IEventData.ts +0 -30
  178. package/src/Interfaces/Contracts/IExceptionData.ts +0 -37
  179. package/src/Interfaces/Contracts/IExceptionDetails.ts +0 -45
  180. package/src/Interfaces/Contracts/IMessageData.ts +0 -36
  181. package/src/Interfaces/Contracts/IMetricData.ts +0 -31
  182. package/src/Interfaces/Contracts/IPageViewData.ts +0 -26
  183. package/src/Interfaces/Contracts/IPageViewPerfData.ts +0 -35
  184. package/src/Interfaces/Contracts/IRemoteDependencyData.ts +0 -65
  185. package/src/Interfaces/Contracts/IStackFrame.ts +0 -33
  186. package/src/Interfaces/Contracts/RequestData.ts +0 -50
  187. package/src/Interfaces/Contracts/SeverityLevel.ts +0 -28
  188. package/src/Interfaces/IAppInsights.ts +0 -31
  189. package/src/Interfaces/IConfig.ts +0 -396
  190. package/src/Interfaces/ICorrelationConfig.ts +0 -71
  191. package/src/Interfaces/IDependencyTelemetry.ts +0 -22
  192. package/src/Interfaces/IEventTelemetry.ts +0 -20
  193. package/src/Interfaces/IExceptionTelemetry.ts +0 -143
  194. package/src/Interfaces/IMetricTelemetry.ts +0 -56
  195. package/src/Interfaces/IPageViewPerformanceTelemetry.ts +0 -61
  196. package/src/Interfaces/IPageViewTelemetry.ts +0 -65
  197. package/src/Interfaces/IPartC.ts +0 -18
  198. package/src/Interfaces/IPropertiesPlugin.ts +0 -8
  199. package/src/Interfaces/IRequestContext.ts +0 -6
  200. package/src/Interfaces/ITelemetryContext.ts +0 -69
  201. package/src/Interfaces/IThrottleMgr.ts +0 -111
  202. package/src/Interfaces/ITraceTelemetry.ts +0 -28
  203. package/src/Interfaces/PartAExtensions.ts +0 -14
  204. package/src/Interfaces/Telemetry/IEnvelope.ts +0 -47
  205. package/src/Interfaces/Telemetry/ISerializable.ts +0 -11
  206. package/src/RequestResponseHeaders.ts +0 -96
  207. package/src/StorageHelperFuncs.ts +0 -223
  208. package/src/Telemetry/Common/Data.ts +0 -35
  209. package/src/Telemetry/Common/DataPoint.ts +0 -58
  210. package/src/Telemetry/Common/DataSanitizer.ts +0 -197
  211. package/src/Telemetry/Common/Envelope.ts +0 -81
  212. package/src/Telemetry/Event.ts +0 -52
  213. package/src/Telemetry/Exception.ts +0 -681
  214. package/src/Telemetry/Metric.ts +0 -61
  215. package/src/Telemetry/PageView.ts +0 -79
  216. package/src/Telemetry/PageViewPerformance.ts +0 -113
  217. package/src/Telemetry/RemoteDependencyData.ts +0 -122
  218. package/src/Telemetry/Trace.ts +0 -64
  219. package/src/TelemetryItemCreator.ts +0 -75
  220. package/src/ThrottleMgr.ts +0 -345
  221. package/src/UrlHelperFuncs.ts +0 -101
  222. package/src/Util.ts +0 -221
  223. package/src/__DynamicConstants.ts +0 -50
  224. package/src/applicationinsights-common.ts +0 -76
  225. package/types/ConnectionStringParser.d.ts +0 -5
  226. package/types/Constants.d.ts +0 -15
  227. package/types/DomHelperFuncs.d.ts +0 -1
  228. package/types/Enums.d.ts +0 -49
  229. package/types/HelperFuncs.d.ts +0 -8
  230. package/types/Interfaces/ConnectionString.d.ts +0 -4
  231. package/types/Interfaces/Context/IApplication.d.ts +0 -10
  232. package/types/Interfaces/Context/IDevice.d.ts +0 -22
  233. package/types/Interfaces/Context/IInternal.d.ts +0 -23
  234. package/types/Interfaces/Context/ILocation.d.ts +0 -6
  235. package/types/Interfaces/Context/IOperatingSystem.d.ts +0 -3
  236. package/types/Interfaces/Context/ISample.d.ts +0 -8
  237. package/types/Interfaces/Context/ISession.d.ts +0 -17
  238. package/types/Interfaces/Context/ITelemetryTrace.d.ts +0 -25
  239. package/types/Interfaces/Context/IUser.d.ts +0 -39
  240. package/types/Interfaces/Context/IWeb.d.ts +0 -30
  241. package/types/Interfaces/Contracts/AvailabilityData.d.ts +0 -0
  242. package/types/Interfaces/Contracts/ContextTagKeys.d.ts +0 -175
  243. package/types/Interfaces/Contracts/DataPointType.d.ts +0 -7
  244. package/types/Interfaces/Contracts/DependencyKind.d.ts +0 -8
  245. package/types/Interfaces/Contracts/DependencySourceType.d.ts +0 -8
  246. package/types/Interfaces/Contracts/IBase.d.ts +0 -9
  247. package/types/Interfaces/Contracts/IData.d.ts +0 -14
  248. package/types/Interfaces/Contracts/IDataPoint.d.ts +0 -34
  249. package/types/Interfaces/Contracts/IDomain.d.ts +0 -5
  250. package/types/Interfaces/Contracts/IEnvelope.d.ts +0 -0
  251. package/types/Interfaces/Contracts/IEventData.d.ts +0 -22
  252. package/types/Interfaces/Contracts/IExceptionData.d.ts +0 -28
  253. package/types/Interfaces/Contracts/IExceptionDetails.d.ts +0 -34
  254. package/types/Interfaces/Contracts/IMessageData.d.ts +0 -27
  255. package/types/Interfaces/Contracts/IMetricData.d.ts +0 -23
  256. package/types/Interfaces/Contracts/IPageViewData.d.ts +0 -18
  257. package/types/Interfaces/Contracts/IPageViewPerfData.d.ts +0 -26
  258. package/types/Interfaces/Contracts/IRemoteDependencyData.d.ts +0 -50
  259. package/types/Interfaces/Contracts/IStackFrame.d.ts +0 -25
  260. package/types/Interfaces/Contracts/RequestData.d.ts +0 -0
  261. package/types/Interfaces/Contracts/SeverityLevel.d.ts +0 -15
  262. package/types/Interfaces/IAppInsights.d.ts +0 -37
  263. package/types/Interfaces/IConfig.d.ts +0 -323
  264. package/types/Interfaces/ICorrelationConfig.d.ts +0 -59
  265. package/types/Interfaces/IDependencyTelemetry.d.ts +0 -17
  266. package/types/Interfaces/IEventTelemetry.d.ts +0 -15
  267. package/types/Interfaces/IExceptionTelemetry.d.ts +0 -123
  268. package/types/Interfaces/IMetricTelemetry.d.ts +0 -46
  269. package/types/Interfaces/IPageViewPerformanceTelemetry.d.ts +0 -55
  270. package/types/Interfaces/IPageViewTelemetry.d.ts +0 -52
  271. package/types/Interfaces/IPartC.d.ts +0 -18
  272. package/types/Interfaces/IPropertiesPlugin.d.ts +0 -4
  273. package/types/Interfaces/IRequestContext.d.ts +0 -6
  274. package/types/Interfaces/ITelemetryContext.d.ts +0 -55
  275. package/types/Interfaces/IThrottleMgr.d.ts +0 -96
  276. package/types/Interfaces/ITraceTelemetry.d.ts +0 -22
  277. package/types/Interfaces/PartAExtensions.d.ts +0 -12
  278. package/types/Interfaces/Telemetry/IEnvelope.d.ts +0 -37
  279. package/types/Interfaces/Telemetry/ISerializable.d.ts +0 -8
  280. package/types/RequestResponseHeaders.d.ts +0 -68
  281. package/types/StorageHelperFuncs.d.ts +0 -23
  282. package/types/Telemetry/Common/Data.d.ts +0 -24
  283. package/types/Telemetry/Common/DataPoint.d.ts +0 -46
  284. package/types/Telemetry/Common/DataSanitizer.d.ts +0 -42
  285. package/types/Telemetry/Common/Envelope.d.ts +0 -45
  286. package/types/Telemetry/Event.d.ts +0 -34
  287. package/types/Telemetry/Exception.d.ts +0 -150
  288. package/types/Telemetry/Metric.d.ts +0 -36
  289. package/types/Telemetry/PageView.d.ts +0 -53
  290. package/types/Telemetry/PageViewPerformance.d.ts +0 -78
  291. package/types/Telemetry/RemoteDependencyData.d.ts +0 -79
  292. package/types/Telemetry/Trace.d.ts +0 -41
  293. package/types/TelemetryItemCreator.d.ts +0 -27
  294. package/types/ThrottleMgr.d.ts +0 -13
  295. package/types/UrlHelperFuncs.d.ts +0 -6
  296. package/types/Util.d.ts +0 -36
  297. package/types/__DynamicConstants.d.ts +0 -38
  298. package/types/tsdoc-metadata.json +0 -11
  299. /package/{dist-esm → dist-es5}/ConnectionStringParser.js.map +0 -0
  300. /package/{dist-esm → dist-es5}/Constants.js.map +0 -0
  301. /package/{dist-esm → dist-es5}/DomHelperFuncs.js.map +0 -0
  302. /package/{dist-esm → dist-es5}/Enums.js.map +0 -0
  303. /package/{dist-esm → dist-es5}/HelperFuncs.js.map +0 -0
  304. /package/{dist-esm → dist-es5}/Interfaces/ConnectionString.js.map +0 -0
  305. /package/{dist-esm → dist-es5}/Interfaces/Context/IApplication.js.map +0 -0
  306. /package/{dist-esm → dist-es5}/Interfaces/Context/IDevice.js.map +0 -0
  307. /package/{dist-esm → dist-es5}/Interfaces/Context/IInternal.js.map +0 -0
  308. /package/{dist-esm → dist-es5}/Interfaces/Context/ILocation.js.map +0 -0
  309. /package/{dist-esm → dist-es5}/Interfaces/Context/IOperatingSystem.js.map +0 -0
  310. /package/{dist-esm → dist-es5}/Interfaces/Context/ISample.js.map +0 -0
  311. /package/{dist-esm → dist-es5}/Interfaces/Context/ISession.js.map +0 -0
  312. /package/{dist-esm → dist-es5}/Interfaces/Context/ITelemetryTrace.js.map +0 -0
  313. /package/{dist-esm → dist-es5}/Interfaces/Context/IUser.js.map +0 -0
  314. /package/{dist-esm → dist-es5}/Interfaces/Context/IWeb.js.map +0 -0
  315. /package/{dist-esm → dist-es5}/Interfaces/Contracts/AvailabilityData.js.map +0 -0
  316. /package/{dist-esm → dist-es5}/Interfaces/Contracts/ContextTagKeys.js.map +0 -0
  317. /package/{dist-esm → dist-es5}/Interfaces/Contracts/DataPointType.js.map +0 -0
  318. /package/{dist-esm → dist-es5}/Interfaces/Contracts/DependencyKind.js.map +0 -0
  319. /package/{dist-esm → dist-es5}/Interfaces/Contracts/DependencySourceType.js.map +0 -0
  320. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IBase.js.map +0 -0
  321. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IData.js.map +0 -0
  322. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IDataPoint.js.map +0 -0
  323. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IDomain.js.map +0 -0
  324. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IEnvelope.js.map +0 -0
  325. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IEventData.js.map +0 -0
  326. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IExceptionData.js.map +0 -0
  327. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IExceptionDetails.js.map +0 -0
  328. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IMessageData.js.map +0 -0
  329. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IMetricData.js.map +0 -0
  330. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IPageViewData.js.map +0 -0
  331. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IPageViewPerfData.js.map +0 -0
  332. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IRemoteDependencyData.js.map +0 -0
  333. /package/{dist-esm → dist-es5}/Interfaces/Contracts/IStackFrame.js.map +0 -0
  334. /package/{dist-esm → dist-es5}/Interfaces/Contracts/RequestData.js.map +0 -0
  335. /package/{dist-esm → dist-es5}/Interfaces/Contracts/SeverityLevel.js.map +0 -0
  336. /package/{dist-esm → dist-es5}/Interfaces/IAppInsights.js.map +0 -0
  337. /package/{dist-esm → dist-es5}/Interfaces/IConfig.js.map +0 -0
  338. /package/{dist-esm → dist-es5}/Interfaces/ICorrelationConfig.js.map +0 -0
  339. /package/{dist-esm → dist-es5}/Interfaces/IDependencyTelemetry.js.map +0 -0
  340. /package/{dist-esm → dist-es5}/Interfaces/IEventTelemetry.js.map +0 -0
  341. /package/{dist-esm → dist-es5}/Interfaces/IExceptionTelemetry.js.map +0 -0
  342. /package/{dist-esm → dist-es5}/Interfaces/IMetricTelemetry.js.map +0 -0
  343. /package/{dist-esm → dist-es5}/Interfaces/IPageViewPerformanceTelemetry.js.map +0 -0
  344. /package/{dist-esm → dist-es5}/Interfaces/IPageViewTelemetry.js.map +0 -0
  345. /package/{dist-esm → dist-es5}/Interfaces/IPartC.js.map +0 -0
  346. /package/{dist-esm → dist-es5}/Interfaces/IPropertiesPlugin.js.map +0 -0
  347. /package/{dist-esm → dist-es5}/Interfaces/IRequestContext.js.map +0 -0
  348. /package/{dist-esm → dist-es5}/Interfaces/ITelemetryContext.js.map +0 -0
  349. /package/{dist-esm → dist-es5}/Interfaces/IThrottleMgr.js.map +0 -0
  350. /package/{dist-esm → dist-es5}/Interfaces/ITraceTelemetry.js.map +0 -0
  351. /package/{dist-esm → dist-es5}/Interfaces/PartAExtensions.js.map +0 -0
  352. /package/{dist-esm → dist-es5}/Interfaces/Telemetry/IEnvelope.js.map +0 -0
  353. /package/{dist-esm → dist-es5}/Interfaces/Telemetry/ISerializable.js.map +0 -0
  354. /package/{dist-esm → dist-es5}/RequestResponseHeaders.js.map +0 -0
  355. /package/{dist-esm → dist-es5}/StorageHelperFuncs.js.map +0 -0
  356. /package/{dist-esm → dist-es5}/Telemetry/Common/Data.js.map +0 -0
  357. /package/{dist-esm → dist-es5}/Telemetry/Common/DataPoint.js.map +0 -0
  358. /package/{dist-esm → dist-es5}/Telemetry/Common/Envelope.js.map +0 -0
  359. /package/{dist-esm → dist-es5}/Telemetry/Event.js.map +0 -0
  360. /package/{dist-esm → dist-es5}/Telemetry/Exception.js.map +0 -0
  361. /package/{dist-esm → dist-es5}/Telemetry/Metric.js.map +0 -0
  362. /package/{dist-esm → dist-es5}/Telemetry/PageView.js.map +0 -0
  363. /package/{dist-esm → dist-es5}/Telemetry/PageViewPerformance.js.map +0 -0
  364. /package/{dist-esm → dist-es5}/Telemetry/RemoteDependencyData.js.map +0 -0
  365. /package/{dist-esm → dist-es5}/Telemetry/Trace.js.map +0 -0
  366. /package/{dist-esm → dist-es5}/TelemetryItemCreator.js.map +0 -0
  367. /package/{dist-esm → dist-es5}/ThrottleMgr.js.map +0 -0
  368. /package/{dist-esm → dist-es5}/UrlHelperFuncs.js.map +0 -0
  369. /package/{dist-esm → dist-es5}/Util.js.map +0 -0
  370. /package/{dist-esm → dist-es5}/__DynamicConstants.js.map +0 -0
  371. /package/{dist-esm → dist-es5}/applicationinsights-common.js.map +0 -0
@@ -1,323 +0,0 @@
1
- import { IConfiguration, ICustomProperties } from "@microsoft/applicationinsights-core-js";
2
- import { DistributedTracingModes } from "../Enums";
3
- import { IRequestContext } from "./IRequestContext";
4
- /**
5
- * Configuration settings for how telemetry is sent
6
- * @export
7
- * @interface IConfig
8
- */
9
- export interface IConfig {
10
- /**
11
- * The JSON format (normal vs line delimited). True means line delimited JSON.
12
- */
13
- emitLineDelimitedJson?: boolean;
14
- /**
15
- * An optional account id, if your app groups users into accounts. No spaces, commas, semicolons, equals, or vertical bars.
16
- */
17
- accountId?: string;
18
- /**
19
- * A session is logged if the user is inactive for this amount of time in milliseconds. Default 30 mins.
20
- * @default 30*60*1000
21
- */
22
- sessionRenewalMs?: number;
23
- /**
24
- * A session is logged if it has continued for this amount of time in milliseconds. Default 24h.
25
- * @default 24*60*60*1000
26
- */
27
- sessionExpirationMs?: number;
28
- /**
29
- * Max size of telemetry batch. If batch exceeds limit, it is sent and a new batch is started
30
- * @default 100000
31
- */
32
- maxBatchSizeInBytes?: number;
33
- /**
34
- * How long to batch telemetry for before sending (milliseconds)
35
- * @default 15 seconds
36
- */
37
- maxBatchInterval?: number;
38
- /**
39
- * If true, debugging data is thrown as an exception by the logger. Default false
40
- * @defaultValue false
41
- */
42
- enableDebug?: boolean;
43
- /**
44
- * If true, exceptions are not autocollected. Default is false
45
- * @defaultValue false
46
- */
47
- disableExceptionTracking?: boolean;
48
- /**
49
- * If true, telemetry is not collected or sent. Default is false
50
- * @defaultValue false
51
- */
52
- disableTelemetry?: boolean;
53
- /**
54
- * Percentage of events that will be sent. Default is 100, meaning all events are sent.
55
- * @defaultValue 100
56
- */
57
- samplingPercentage?: number;
58
- /**
59
- * If true, on a pageview, the previous instrumented page's view time is tracked and sent as telemetry and a new timer is started for the current pageview. It is sent as a custom metric named PageVisitTime in milliseconds and is calculated via the Date now() function (if available) and falls back to (new Date()).getTime() if now() is unavailable (IE8 or less). Default is false.
60
- */
61
- autoTrackPageVisitTime?: boolean;
62
- /**
63
- * Automatically track route changes in Single Page Applications (SPA). If true, each route change will send a new Pageview to Application Insights.
64
- */
65
- enableAutoRouteTracking?: boolean;
66
- /**
67
- * If true, Ajax calls are not autocollected. Default is false
68
- * @defaultValue false
69
- */
70
- disableAjaxTracking?: boolean;
71
- /**
72
- * If true, Fetch requests are not autocollected. Default is false (Since 2.8.0, previously true).
73
- * @defaultValue false
74
- */
75
- disableFetchTracking?: boolean;
76
- /**
77
- * Provide a way to exclude specific route from automatic tracking for XMLHttpRequest or Fetch request. For an ajax / fetch request that the request url matches with the regex patterns, auto tracking is turned off.
78
- * @defaultValue undefined.
79
- */
80
- excludeRequestFromAutoTrackingPatterns?: string[] | RegExp[];
81
- /**
82
- * Provide a way to enrich dependencies logs with context at the beginning of api call.
83
- * Default is undefined.
84
- */
85
- addRequestContext?: (requestContext?: IRequestContext) => ICustomProperties;
86
- /**
87
- * If true, default behavior of trackPageView is changed to record end of page view duration interval when trackPageView is called. If false and no custom duration is provided to trackPageView, the page view performance is calculated using the navigation timing API. Default is false
88
- * @defaultValue false
89
- */
90
- overridePageViewDuration?: boolean;
91
- /**
92
- * Default 500 - controls how many ajax calls will be monitored per page view. Set to -1 to monitor all (unlimited) ajax calls on the page.
93
- */
94
- maxAjaxCallsPerView?: number;
95
- /**
96
- * @ignore
97
- * If false, internal telemetry sender buffers will be checked at startup for items not yet sent. Default is true
98
- * @defaultValue true
99
- */
100
- disableDataLossAnalysis?: boolean;
101
- /**
102
- * If false, the SDK will add two headers ('Request-Id' and 'Request-Context') to all dependency requests to correlate them with corresponding requests on the server side. Default is false.
103
- * @defaultValue false
104
- */
105
- disableCorrelationHeaders?: boolean;
106
- /**
107
- * Sets the distributed tracing mode. If AI_AND_W3C mode or W3C mode is set, W3C trace context headers (traceparent/tracestate) will be generated and included in all outgoing requests.
108
- * AI_AND_W3C is provided for back-compatibility with any legacy Application Insights instrumented services
109
- * @defaultValue AI_AND_W3C
110
- */
111
- distributedTracingMode?: DistributedTracingModes;
112
- /**
113
- * Disable correlation headers for specific domain
114
- */
115
- correlationHeaderExcludedDomains?: string[];
116
- /**
117
- * Default false. If true, flush method will not be called when onBeforeUnload, onUnload, onPageHide or onVisibilityChange (hidden state) event(s) trigger.
118
- */
119
- disableFlushOnBeforeUnload?: boolean;
120
- /**
121
- * Default value of {@link #disableFlushOnBeforeUnload}. If true, flush method will not be called when onPageHide or onVisibilityChange (hidden state) event(s) trigger.
122
- */
123
- disableFlushOnUnload?: boolean;
124
- /**
125
- * [Optional] An array of the page unload events that you would like to be ignored, special note there must be at least one valid unload
126
- * event hooked, if you list all or the runtime environment only supports a listed "disabled" event it will still be hooked if required by the SDK.
127
- * (Some page unload functionality may be disabled via disableFlushOnBeforeUnload or disableFlushOnUnload config entries)
128
- * Unload events include "beforeunload", "unload", "visibilitychange" (with 'hidden' state) and "pagehide"
129
- */
130
- disablePageUnloadEvents?: string[];
131
- /**
132
- * [Optional] An array of page show events that you would like to be ignored, special note there must be at lease one valid show event
133
- * hooked, if you list all or the runtime environment only supports a listed (disabled) event it will STILL be hooked if required by the SDK.
134
- * Page Show events include "pageshow" and "visibilitychange" (with 'visible' state)
135
- */
136
- disablePageShowEvents?: string[];
137
- /**
138
- * If true, the buffer with all unsent telemetry is stored in session storage. The buffer is restored on page load. Default is true.
139
- * @defaultValue true
140
- */
141
- enableSessionStorageBuffer?: boolean;
142
- /**
143
- * @deprecated Use either disableCookiesUsage or specify a cookieCfg with the enabled value set.
144
- * If true, the SDK will not store or read any data from cookies. Default is false. As this field is being deprecated, when both
145
- * isCookieUseDisabled and disableCookiesUsage are used disableCookiesUsage will take precedent.
146
- * @defaultValue false
147
- */
148
- isCookieUseDisabled?: boolean;
149
- /**
150
- * If true, the SDK will not store or read any data from cookies. Default is false.
151
- * If you have also specified a cookieCfg then enabled property (if specified) will take precedent over this value.
152
- * @defaultValue false
153
- */
154
- disableCookiesUsage?: boolean;
155
- /**
156
- * Custom cookie domain. This is helpful if you want to share Application Insights cookies across subdomains.
157
- * @defaultValue ""
158
- */
159
- cookieDomain?: string;
160
- /**
161
- * Custom cookie path. This is helpful if you want to share Application Insights cookies behind an application gateway.
162
- * @defaultValue ""
163
- */
164
- cookiePath?: string;
165
- /**
166
- * Default false. If false, retry on 206 (partial success), 408 (timeout), 429 (too many requests), 500 (internal server error), 503 (service unavailable), and 0 (offline, only if detected)
167
- * @description
168
- * @defaultValue false
169
- */
170
- isRetryDisabled?: boolean;
171
- /**
172
- * @deprecated Used when initizialing from snippet only.
173
- * The url from where the JS SDK will be downloaded.
174
- */
175
- url?: string;
176
- /**
177
- * If true, the SDK will not store or read any data from local and session storage. Default is false.
178
- * @defaultValue false
179
- */
180
- isStorageUseDisabled?: boolean;
181
- /**
182
- * If false, the SDK will send all telemetry using the [Beacon API](https://www.w3.org/TR/beacon)
183
- * @defaultValue true
184
- */
185
- isBeaconApiDisabled?: boolean;
186
- /**
187
- * Don't use XMLHttpRequest or XDomainRequest (for IE < 9) by default instead attempt to use fetch() or sendBeacon.
188
- * If no other transport is available it will still use XMLHttpRequest
189
- */
190
- disableXhr?: boolean;
191
- /**
192
- * If fetch keepalive is supported do not use it for sending events during unload, it may still fallback to fetch() without keepalive
193
- */
194
- onunloadDisableFetch?: boolean;
195
- /**
196
- * Sets the sdk extension name. Only alphabetic characters are allowed. The extension name is added as a prefix to the 'ai.internal.sdkVersion' tag (e.g. 'ext_javascript:2.0.0'). Default is null.
197
- * @defaultValue null
198
- */
199
- sdkExtension?: string;
200
- /**
201
- * Default is false. If true, the SDK will track all [Browser Link](https://docs.microsoft.com/en-us/aspnet/core/client-side/using-browserlink) requests.
202
- * @defaultValue false
203
- */
204
- isBrowserLinkTrackingEnabled?: boolean;
205
- /**
206
- * AppId is used for the correlation between AJAX dependencies happening on the client-side with the server-side requets. When Beacon API is enabled, it cannot be used automatically, but can be set manually in the configuration. Default is null
207
- * @defaultValue null
208
- */
209
- appId?: string;
210
- /**
211
- * If true, the SDK will add two headers ('Request-Id' and 'Request-Context') to all CORS requests to correlate outgoing AJAX dependencies with corresponding requests on the server side. Default is false
212
- * @defaultValue false
213
- */
214
- enableCorsCorrelation?: boolean;
215
- /**
216
- * An optional value that will be used as name postfix for localStorage and session cookie name.
217
- * @defaultValue null
218
- */
219
- namePrefix?: string;
220
- /**
221
- * An optional value that will be used as name postfix for session cookie name. If undefined, namePrefix is used as name postfix for session cookie name.
222
- * @defaultValue null
223
- */
224
- sessionCookiePostfix?: string;
225
- /**
226
- * An optional value that will be used as name postfix for user cookie name. If undefined, no postfix is added on user cookie name.
227
- * @defaultValue null
228
- */
229
- userCookiePostfix?: string;
230
- /**
231
- * An optional value that will track Request Header through trackDependency function.
232
- * @defaultValue false
233
- */
234
- enableRequestHeaderTracking?: boolean;
235
- /**
236
- * An optional value that will track Response Header through trackDependency function.
237
- * @defaultValue false
238
- */
239
- enableResponseHeaderTracking?: boolean;
240
- /**
241
- * An optional value that will track Response Error data through trackDependency function.
242
- * @defaultValue false
243
- */
244
- enableAjaxErrorStatusText?: boolean;
245
- /**
246
- * Flag to enable looking up and including additional browser window.performance timings
247
- * in the reported ajax (XHR and fetch) reported metrics.
248
- * Defaults to false.
249
- */
250
- enableAjaxPerfTracking?: boolean;
251
- /**
252
- * The maximum number of times to look for the window.performance timings (if available), this
253
- * is required as not all browsers populate the window.performance before reporting the
254
- * end of the XHR request and for fetch requests this is added after its complete
255
- * Defaults to 3
256
- */
257
- maxAjaxPerfLookupAttempts?: number;
258
- /**
259
- * The amount of time to wait before re-attempting to find the windows.performance timings
260
- * for an ajax request, time is in milliseconds and is passed directly to setTimeout()
261
- * Defaults to 25.
262
- */
263
- ajaxPerfLookupDelay?: number;
264
- /**
265
- * Default false. when tab is closed, the SDK will send all remaining telemetry using the [Beacon API](https://www.w3.org/TR/beacon)
266
- * @defaultValue false
267
- */
268
- onunloadDisableBeacon?: boolean;
269
- /**
270
- * @ignore
271
- * Internal only
272
- */
273
- autoExceptionInstrumented?: boolean;
274
- /**
275
- *
276
- */
277
- correlationHeaderDomains?: string[];
278
- /**
279
- * @ignore
280
- * Internal only
281
- */
282
- autoUnhandledPromiseInstrumented?: boolean;
283
- /**
284
- * Default false. Define whether to track unhandled promise rejections and report as JS errors.
285
- * When disableExceptionTracking is enabled (dont track exceptions) this value will be false.
286
- * @defaultValue false
287
- */
288
- enableUnhandledPromiseRejectionTracking?: boolean;
289
- /**
290
- * Disable correlation headers using regular expressions
291
- */
292
- correlationHeaderExcludePatterns?: RegExp[];
293
- /**
294
- * The ability for the user to provide extra headers
295
- */
296
- customHeaders?: [{
297
- header: string;
298
- value: string;
299
- }];
300
- /**
301
- * Provide user an option to convert undefined field to user defined value.
302
- */
303
- convertUndefined?: any;
304
- /**
305
- * [Optional] The number of events that can be kept in memory before the SDK starts to drop events. By default, this is 10,000.
306
- */
307
- eventsLimitInMem?: number;
308
- /**
309
- * [Optional] Disable iKey deprecation error message.
310
- * @defaultValue true
311
- */
312
- disableIkeyDeprecationMessage?: boolean;
313
- /**
314
- * [Optional] Flag to indicate whether the internal looking endpoints should be automatically
315
- * added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
316
- * This flag exists as the provided regex is generic and may unexpectedly match a domain that
317
- * should not be excluded.
318
- */
319
- addIntEndpoints?: boolean;
320
- }
321
- export declare class ConfigurationManager {
322
- static getConfig(config: IConfiguration & IConfig, field: string, identifier?: string, defaultValue?: number | string | boolean): number | string | boolean;
323
- }
@@ -1,59 +0,0 @@
1
- import { ICustomProperties } from "@microsoft/applicationinsights-core-js";
2
- import { DistributedTracingModes } from "../Enums";
3
- import { IRequestContext } from "./IRequestContext";
4
- export interface ICorrelationConfig {
5
- enableCorsCorrelation: boolean;
6
- correlationHeaderExcludedDomains: string[];
7
- correlationHeaderExcludePatterns?: RegExp[];
8
- disableCorrelationHeaders: boolean;
9
- distributedTracingMode: DistributedTracingModes;
10
- maxAjaxCallsPerView: number;
11
- disableAjaxTracking: boolean;
12
- disableFetchTracking: boolean;
13
- appId?: string;
14
- enableRequestHeaderTracking?: boolean;
15
- enableResponseHeaderTracking?: boolean;
16
- enableAjaxErrorStatusText?: boolean;
17
- /**
18
- * Flag to enable looking up and including additional browser window.performance timings
19
- * in the reported ajax (XHR and fetch) reported metrics.
20
- * Defaults to false.
21
- */
22
- enableAjaxPerfTracking?: boolean;
23
- /**
24
- * The maximum number of times to look for the window.performance timings (if available), this
25
- * is required as not all browsers populate the window.performance before reporting the
26
- * end of the XHR request and for fetch requests this is added after its complete
27
- * Defaults to 3
28
- */
29
- maxAjaxPerfLookupAttempts?: number;
30
- /**
31
- * The amount of time to wait before re-attempting to find the windows.performance timings
32
- * for an ajax request, time is in milliseconds and is passed directly to setTimeout()
33
- * Defaults to 25.
34
- */
35
- ajaxPerfLookupDelay?: number;
36
- correlationHeaderDomains?: string[];
37
- /**
38
- * Response and request headers to be excluded from ajax tracking data.
39
- */
40
- ignoreHeaders?: string[];
41
- /**
42
- * Provide a way to exclude specific route from automatic tracking for XMLHttpRequest or Fetch request.
43
- * For an ajax / fetch request that the request url matches with the regex patterns, auto tracking is turned off.
44
- * Default is undefined.
45
- */
46
- excludeRequestFromAutoTrackingPatterns?: string[] | RegExp[];
47
- /**
48
- * Provide a way to enrich dependencies logs with context at the beginning of api call.
49
- * Default is undefined.
50
- */
51
- addRequestContext?: (requestContext?: IRequestContext) => ICustomProperties;
52
- /**
53
- * [Optional] Flag to indicate whether the internal looking endpoints should be automatically
54
- * added to the `excludeRequestFromAutoTrackingPatterns` collection. (defaults to true).
55
- * This flag exists as the provided regex is generic and may unexpectedly match a domain that
56
- * should not be excluded.
57
- */
58
- addIntEndpoints?: boolean;
59
- }
@@ -1,17 +0,0 @@
1
- import { IPartC } from "./IPartC";
2
- /**
3
- * DependencyTelemetry telemetry interface
4
- */
5
- export interface IDependencyTelemetry extends IPartC {
6
- id: string;
7
- name?: string;
8
- duration?: number;
9
- success?: boolean;
10
- startTime?: Date;
11
- responseCode: number;
12
- correlationContext?: string;
13
- type?: string;
14
- data?: string;
15
- target?: string;
16
- iKey?: string;
17
- }
@@ -1,15 +0,0 @@
1
- import { IPartC } from "./IPartC";
2
- export interface IEventTelemetry extends IPartC {
3
- /**
4
- * @description An event name string
5
- * @type {string}
6
- * @memberof IEventTelemetry
7
- */
8
- name: string;
9
- /**
10
- * @description custom defined iKey
11
- * @type {string}
12
- * @memberof IEventTelemetry
13
- */
14
- iKey?: string;
15
- }
@@ -1,123 +0,0 @@
1
- import { SeverityLevel } from "./Contracts/SeverityLevel";
2
- import { IPartC } from "./IPartC";
3
- /**
4
- * @export
5
- * @interface IExceptionTelemetry
6
- * @description Exception interface used as primary parameter to trackException
7
- */
8
- export interface IExceptionTelemetry extends IPartC {
9
- /**
10
- * Unique guid identifying this error
11
- */
12
- id?: string;
13
- /**
14
- * @deprecated
15
- * @type {Error}
16
- * @memberof IExceptionTelemetry
17
- * @description DEPRECATED: Please use exception instead. Behavior/usage for exception remains the same as this field.
18
- */
19
- error?: Error;
20
- /**
21
- * @type {Error}
22
- * @memberof IExceptionTelemetry
23
- * @description Error Object(s)
24
- */
25
- exception?: Error | IAutoExceptionTelemetry;
26
- /**
27
- * @description Specified severity of exception for use with
28
- * telemetry filtering in dashboard
29
- * @type {(SeverityLevel | number)}
30
- * @memberof IExceptionTelemetry
31
- */
32
- severityLevel?: SeverityLevel | number;
33
- }
34
- /**
35
- * @description window.onerror function parameters
36
- * @export
37
- * @interface IAutoExceptionTelemetry
38
- */
39
- export interface IAutoExceptionTelemetry {
40
- /**
41
- * @description error message. Available as event in HTML onerror="" handler
42
- * @type {string}
43
- * @memberof IAutoExceptionTelemetry
44
- */
45
- message: string;
46
- /**
47
- * @description URL of the script where the error was raised
48
- * @type {string}
49
- * @memberof IAutoExceptionTelemetry
50
- */
51
- url: string;
52
- /**
53
- * @description Line number where error was raised
54
- * @type {number}
55
- * @memberof IAutoExceptionTelemetry
56
- */
57
- lineNumber: number;
58
- /**
59
- * @description Column number for the line where the error occurred
60
- * @type {number}
61
- * @memberof IAutoExceptionTelemetry
62
- */
63
- columnNumber: number;
64
- /**
65
- * @description Error Object (object)
66
- * @type {any}
67
- * @memberof IAutoExceptionTelemetry
68
- */
69
- error: any;
70
- /**
71
- * @description The event at the time of the exception (object)
72
- * @type {Event|string}
73
- * @memberof IAutoExceptionTelemetry
74
- */
75
- evt?: Event | string;
76
- /**
77
- * @description The provided stack for the error
78
- * @type {IStackDetails}
79
- * @memberof IAutoExceptionTelemetry
80
- */
81
- stackDetails?: IStackDetails;
82
- /**
83
- * @description The calculated type of the error
84
- * @type {string}
85
- * @memberof IAutoExceptionTelemetry
86
- */
87
- typeName?: string;
88
- /**
89
- * @description The descriptive source of the error
90
- * @type {string}
91
- * @memberof IAutoExceptionTelemetry
92
- */
93
- errorSrc?: string;
94
- }
95
- export interface IExceptionInternal extends IPartC {
96
- ver: string;
97
- id: string;
98
- exceptions: IExceptionDetailsInternal[];
99
- severityLevel?: SeverityLevel | number;
100
- problemGroup: string;
101
- isManual: boolean;
102
- }
103
- export interface IExceptionDetailsInternal {
104
- id: number;
105
- outerId: number;
106
- typeName: string;
107
- message: string;
108
- hasFullStack: boolean;
109
- stack: string;
110
- parsedStack: IExceptionStackFrameInternal[];
111
- }
112
- export interface IExceptionStackFrameInternal {
113
- level: number;
114
- method: string;
115
- assembly: string;
116
- fileName: string;
117
- line: number;
118
- pos?: number;
119
- }
120
- export interface IStackDetails {
121
- src: string;
122
- obj: string[];
123
- }
@@ -1,46 +0,0 @@
1
- import { IPartC } from "./IPartC";
2
- export interface IMetricTelemetry extends IPartC {
3
- /**
4
- * @description (required) - name of this metric
5
- * @type {string}
6
- * @memberof IMetricTelemetry
7
- */
8
- name: string;
9
- /**
10
- * @description (required) - Recorded value/average for this metric
11
- * @type {number}
12
- * @memberof IMetricTelemetry
13
- */
14
- average: number;
15
- /**
16
- * @description (optional) Number of samples represented by the average.
17
- * @type {number=}
18
- * @memberof IMetricTelemetry
19
- * @default sampleCount=1
20
- */
21
- sampleCount?: number;
22
- /**
23
- * @description (optional) The smallest measurement in the sample. Defaults to the average
24
- * @type {number}
25
- * @memberof IMetricTelemetry
26
- * @default min=average
27
- */
28
- min?: number;
29
- /**
30
- * @description (optional) The largest measurement in the sample. Defaults to the average.
31
- * @type {number}
32
- * @memberof IMetricTelemetry
33
- * @default max=average
34
- */
35
- max?: number;
36
- /**
37
- * (optional) The standard deviation measurement in the sample, Defaults to undefined which results in zero.
38
- */
39
- stdDev?: number;
40
- /**
41
- * @description custom defined iKey
42
- * @type {string}
43
- * @memberof IMetricTelemetry
44
- */
45
- iKey?: string;
46
- }
@@ -1,55 +0,0 @@
1
- import { IPartC } from "./IPartC";
2
- export interface IPageViewPerformanceTelemetry extends IPartC {
3
- /**
4
- * name String - The name of the page. Defaults to the document title.
5
- */
6
- name?: string;
7
- /**
8
- * url String - a relative or absolute URL that identifies the page or other item. Defaults to the window location.
9
- */
10
- uri?: string;
11
- /**
12
- * Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff". This is total duration in timespan format.
13
- */
14
- perfTotal?: string;
15
- /**
16
- * Performance total in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff". This represents the total page load time.
17
- */
18
- duration?: string;
19
- /**
20
- * Sent request time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
21
- */
22
- networkConnect?: string;
23
- /**
24
- * Sent request time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff.
25
- */
26
- sentRequest?: string;
27
- /**
28
- * Received response time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff.
29
- */
30
- receivedResponse?: string;
31
- /**
32
- * DOM processing time in TimeSpan 'G' (general long) format: d:hh:mm:ss.fffffff
33
- */
34
- domProcessing?: string;
35
- }
36
- export interface IPageViewPerformanceTelemetryInternal extends IPageViewPerformanceTelemetry {
37
- /**
38
- * An identifier assigned to each distinct impression for the purposes of correlating with pageview.
39
- * A new id is automatically generated on each pageview. You can manually specify this field if you
40
- * want to use a specific value instead.
41
- */
42
- id?: string;
43
- /**
44
- * Version of the part B schema, todo: set this value in trackpageView
45
- */
46
- ver?: string;
47
- /**
48
- * Field indicating whether this instance of PageViewPerformance is valid and should be sent
49
- */
50
- isValid?: boolean;
51
- /**
52
- * Duration in miliseconds
53
- */
54
- durationMs?: number;
55
- }
@@ -1,52 +0,0 @@
1
- import { IPartC } from "./IPartC";
2
- /**
3
- * Pageview telemetry interface
4
- */
5
- export interface IPageViewTelemetry extends IPartC {
6
- /**
7
- * name String - The string you used as the name in startTrackPage. Defaults to the document title.
8
- */
9
- name?: string;
10
- /**
11
- * uri String - a relative or absolute URL that identifies the page or other item. Defaults to the window location.
12
- */
13
- uri?: string;
14
- /**
15
- * refUri String - the URL of the source page where current page is loaded from
16
- */
17
- refUri?: string;
18
- /**
19
- * pageType String - page type
20
- */
21
- pageType?: string;
22
- /**
23
- * isLoggedIn - boolean is user logged in
24
- */
25
- isLoggedIn?: boolean;
26
- /**
27
- * Property bag to contain additional custom properties (Part C)
28
- */
29
- properties?: {
30
- /**
31
- * The number of milliseconds it took to load the page. Defaults to undefined. If set to default value, page load time is calculated internally.
32
- */
33
- duration?: number;
34
- [key: string]: any;
35
- };
36
- /**
37
- * iKey String - custom defined iKey.
38
- */
39
- iKey?: string;
40
- }
41
- export interface IPageViewTelemetryInternal extends IPageViewTelemetry {
42
- /**
43
- * An identifier assigned to each distinct impression for the purposes of correlating with pageview.
44
- * A new id is automatically generated on each pageview. You can manually specify this field if you
45
- * want to use a specific value instead.
46
- */
47
- id?: string;
48
- /**
49
- * Version of the part B schema, todo: set this value in trackpageView
50
- */
51
- ver?: string;
52
- }