@azure/monitor-opentelemetry-exporter 1.0.0-beta.31 → 1.0.0-beta.33

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 (195) hide show
  1. package/README.md +4 -4
  2. package/dist/commonjs/Declarations/Constants.d.ts +5 -0
  3. package/dist/commonjs/Declarations/Constants.d.ts.map +1 -1
  4. package/dist/commonjs/Declarations/Constants.js +6 -1
  5. package/dist/commonjs/Declarations/Constants.js.map +1 -1
  6. package/dist/commonjs/export/base.js +25 -14
  7. package/dist/commonjs/export/base.js.map +1 -1
  8. package/dist/commonjs/export/log.js +5 -4
  9. package/dist/commonjs/export/log.js.map +1 -1
  10. package/dist/commonjs/export/metric.js +5 -4
  11. package/dist/commonjs/export/metric.js.map +1 -1
  12. package/dist/commonjs/export/statsbeat/customerStatsbeat.d.ts +125 -0
  13. package/dist/commonjs/export/statsbeat/customerStatsbeat.d.ts.map +1 -0
  14. package/dist/commonjs/export/statsbeat/customerStatsbeat.js +480 -0
  15. package/dist/commonjs/export/statsbeat/customerStatsbeat.js.map +1 -0
  16. package/dist/commonjs/export/statsbeat/longIntervalStatsbeatMetrics.d.ts +7 -7
  17. package/dist/commonjs/export/statsbeat/longIntervalStatsbeatMetrics.d.ts.map +1 -1
  18. package/dist/commonjs/export/statsbeat/longIntervalStatsbeatMetrics.js +69 -30
  19. package/dist/commonjs/export/statsbeat/longIntervalStatsbeatMetrics.js.map +1 -1
  20. package/dist/commonjs/export/statsbeat/networkStatsbeatMetrics.d.ts +6 -1
  21. package/dist/commonjs/export/statsbeat/networkStatsbeatMetrics.d.ts.map +1 -1
  22. package/dist/commonjs/export/statsbeat/networkStatsbeatMetrics.js +115 -43
  23. package/dist/commonjs/export/statsbeat/networkStatsbeatMetrics.js.map +1 -1
  24. package/dist/commonjs/export/statsbeat/statsbeatExporter.d.ts +7 -0
  25. package/dist/commonjs/export/statsbeat/statsbeatExporter.d.ts.map +1 -1
  26. package/dist/commonjs/export/statsbeat/statsbeatExporter.js +25 -5
  27. package/dist/commonjs/export/statsbeat/statsbeatExporter.js.map +1 -1
  28. package/dist/commonjs/export/statsbeat/statsbeatMetrics.js +6 -8
  29. package/dist/commonjs/export/statsbeat/statsbeatMetrics.js.map +1 -1
  30. package/dist/commonjs/export/statsbeat/types.d.ts +52 -0
  31. package/dist/commonjs/export/statsbeat/types.d.ts.map +1 -1
  32. package/dist/commonjs/export/statsbeat/types.js +75 -1
  33. package/dist/commonjs/export/statsbeat/types.js.map +1 -1
  34. package/dist/commonjs/export/trace.js +6 -5
  35. package/dist/commonjs/export/trace.js.map +1 -1
  36. package/dist/commonjs/generated/applicationInsightsClient.js +9 -4
  37. package/dist/commonjs/generated/applicationInsightsClient.js.map +1 -1
  38. package/dist/commonjs/generated/models/mappers.js +145 -68
  39. package/dist/commonjs/generated/models/mappers.js.map +1 -1
  40. package/dist/commonjs/index.d.ts +2 -1
  41. package/dist/commonjs/index.d.ts.map +1 -1
  42. package/dist/commonjs/index.js +5 -3
  43. package/dist/commonjs/index.js.map +1 -1
  44. package/dist/commonjs/platform/nodejs/baseSender.d.ts +1 -0
  45. package/dist/commonjs/platform/nodejs/baseSender.d.ts.map +1 -1
  46. package/dist/commonjs/platform/nodejs/baseSender.js +101 -34
  47. package/dist/commonjs/platform/nodejs/baseSender.js.map +1 -1
  48. package/dist/commonjs/platform/nodejs/context/context.d.ts +0 -1
  49. package/dist/commonjs/platform/nodejs/context/context.d.ts.map +1 -1
  50. package/dist/commonjs/platform/nodejs/context/context.js +4 -8
  51. package/dist/commonjs/platform/nodejs/context/context.js.map +1 -1
  52. package/dist/commonjs/platform/nodejs/httpSender.js +11 -4
  53. package/dist/commonjs/platform/nodejs/httpSender.js.map +1 -1
  54. package/dist/commonjs/platform/nodejs/index.d.ts +1 -0
  55. package/dist/commonjs/platform/nodejs/index.d.ts.map +1 -1
  56. package/dist/commonjs/platform/nodejs/index.js +1 -0
  57. package/dist/commonjs/platform/nodejs/index.js.map +1 -1
  58. package/dist/commonjs/platform/nodejs/persist/fileAccessControl.js +7 -7
  59. package/dist/commonjs/platform/nodejs/persist/fileAccessControl.js.map +1 -1
  60. package/dist/commonjs/platform/nodejs/persist/fileSystemPersist.d.ts +9 -1
  61. package/dist/commonjs/platform/nodejs/persist/fileSystemPersist.d.ts.map +1 -1
  62. package/dist/commonjs/platform/nodejs/persist/fileSystemPersist.js +37 -16
  63. package/dist/commonjs/platform/nodejs/persist/fileSystemPersist.js.map +1 -1
  64. package/dist/commonjs/{sampling.d.ts → sampling/percentageSampler.d.ts} +2 -3
  65. package/dist/commonjs/sampling/percentageSampler.d.ts.map +1 -0
  66. package/dist/commonjs/{sampling.js → sampling/percentageSampler.js} +6 -39
  67. package/dist/commonjs/sampling/percentageSampler.js.map +1 -0
  68. package/dist/commonjs/sampling/rateLimitedSampler.d.ts +58 -0
  69. package/dist/commonjs/sampling/rateLimitedSampler.d.ts.map +1 -0
  70. package/dist/commonjs/sampling/rateLimitedSampler.js +118 -0
  71. package/dist/commonjs/sampling/rateLimitedSampler.js.map +1 -0
  72. package/dist/commonjs/sampling/samplingUtils.d.ts +17 -0
  73. package/dist/commonjs/sampling/samplingUtils.d.ts.map +1 -0
  74. package/dist/commonjs/sampling/samplingUtils.js +94 -0
  75. package/dist/commonjs/sampling/samplingUtils.js.map +1 -0
  76. package/dist/commonjs/tsdoc-metadata.json +11 -11
  77. package/dist/commonjs/types.d.ts.map +1 -1
  78. package/dist/commonjs/types.js +1 -0
  79. package/dist/commonjs/types.js.map +1 -1
  80. package/dist/commonjs/utils/common.js +2 -3
  81. package/dist/commonjs/utils/common.js.map +1 -1
  82. package/dist/commonjs/utils/connectionStringParser.js +3 -3
  83. package/dist/commonjs/utils/connectionStringParser.js.map +1 -1
  84. package/dist/commonjs/utils/constants/applicationinsights.d.ts +1 -1
  85. package/dist/commonjs/utils/constants/applicationinsights.js +1 -1
  86. package/dist/commonjs/utils/constants/applicationinsights.js.map +1 -1
  87. package/dist/commonjs/utils/eventhub.js +5 -2
  88. package/dist/commonjs/utils/eventhub.js.map +1 -1
  89. package/dist/commonjs/utils/logUtils.js +10 -9
  90. package/dist/commonjs/utils/logUtils.js.map +1 -1
  91. package/dist/commonjs/utils/metricUtils.d.ts.map +1 -1
  92. package/dist/commonjs/utils/metricUtils.js +6 -6
  93. package/dist/commonjs/utils/metricUtils.js.map +1 -1
  94. package/dist/commonjs/utils/spanUtils.d.ts.map +1 -1
  95. package/dist/commonjs/utils/spanUtils.js +16 -14
  96. package/dist/commonjs/utils/spanUtils.js.map +1 -1
  97. package/dist/esm/Declarations/Constants.d.ts +5 -0
  98. package/dist/esm/Declarations/Constants.d.ts.map +1 -1
  99. package/dist/esm/Declarations/Constants.js +5 -0
  100. package/dist/esm/Declarations/Constants.js.map +1 -1
  101. package/dist/esm/export/base.js +25 -14
  102. package/dist/esm/export/base.js.map +1 -1
  103. package/dist/esm/export/log.js +5 -4
  104. package/dist/esm/export/log.js.map +1 -1
  105. package/dist/esm/export/metric.js +5 -4
  106. package/dist/esm/export/metric.js.map +1 -1
  107. package/dist/esm/export/statsbeat/customerStatsbeat.d.ts +125 -0
  108. package/dist/esm/export/statsbeat/customerStatsbeat.d.ts.map +1 -0
  109. package/dist/esm/export/statsbeat/customerStatsbeat.js +475 -0
  110. package/dist/esm/export/statsbeat/customerStatsbeat.js.map +1 -0
  111. package/dist/esm/export/statsbeat/longIntervalStatsbeatMetrics.d.ts +7 -7
  112. package/dist/esm/export/statsbeat/longIntervalStatsbeatMetrics.d.ts.map +1 -1
  113. package/dist/esm/export/statsbeat/longIntervalStatsbeatMetrics.js +68 -30
  114. package/dist/esm/export/statsbeat/longIntervalStatsbeatMetrics.js.map +1 -1
  115. package/dist/esm/export/statsbeat/networkStatsbeatMetrics.d.ts +6 -1
  116. package/dist/esm/export/statsbeat/networkStatsbeatMetrics.d.ts.map +1 -1
  117. package/dist/esm/export/statsbeat/networkStatsbeatMetrics.js +115 -43
  118. package/dist/esm/export/statsbeat/networkStatsbeatMetrics.js.map +1 -1
  119. package/dist/esm/export/statsbeat/statsbeatExporter.d.ts +7 -0
  120. package/dist/esm/export/statsbeat/statsbeatExporter.d.ts.map +1 -1
  121. package/dist/esm/export/statsbeat/statsbeatExporter.js +25 -5
  122. package/dist/esm/export/statsbeat/statsbeatExporter.js.map +1 -1
  123. package/dist/esm/export/statsbeat/statsbeatMetrics.js +6 -8
  124. package/dist/esm/export/statsbeat/statsbeatMetrics.js.map +1 -1
  125. package/dist/esm/export/statsbeat/types.d.ts +52 -0
  126. package/dist/esm/export/statsbeat/types.d.ts.map +1 -1
  127. package/dist/esm/export/statsbeat/types.js +73 -0
  128. package/dist/esm/export/statsbeat/types.js.map +1 -1
  129. package/dist/esm/export/trace.js +6 -5
  130. package/dist/esm/export/trace.js.map +1 -1
  131. package/dist/esm/generated/applicationInsightsClient.js +9 -4
  132. package/dist/esm/generated/applicationInsightsClient.js.map +1 -1
  133. package/dist/esm/generated/models/mappers.js +145 -68
  134. package/dist/esm/generated/models/mappers.js.map +1 -1
  135. package/dist/esm/index.d.ts +2 -1
  136. package/dist/esm/index.d.ts.map +1 -1
  137. package/dist/esm/index.js +2 -1
  138. package/dist/esm/index.js.map +1 -1
  139. package/dist/esm/platform/nodejs/baseSender.d.ts +1 -0
  140. package/dist/esm/platform/nodejs/baseSender.d.ts.map +1 -1
  141. package/dist/esm/platform/nodejs/baseSender.js +104 -37
  142. package/dist/esm/platform/nodejs/baseSender.js.map +1 -1
  143. package/dist/esm/platform/nodejs/context/context.d.ts +0 -1
  144. package/dist/esm/platform/nodejs/context/context.d.ts.map +1 -1
  145. package/dist/esm/platform/nodejs/context/context.js +4 -8
  146. package/dist/esm/platform/nodejs/context/context.js.map +1 -1
  147. package/dist/esm/platform/nodejs/httpSender.js +11 -4
  148. package/dist/esm/platform/nodejs/httpSender.js.map +1 -1
  149. package/dist/esm/platform/nodejs/index.d.ts +1 -0
  150. package/dist/esm/platform/nodejs/index.d.ts.map +1 -1
  151. package/dist/esm/platform/nodejs/index.js +1 -0
  152. package/dist/esm/platform/nodejs/index.js.map +1 -1
  153. package/dist/esm/platform/nodejs/persist/fileAccessControl.js +7 -7
  154. package/dist/esm/platform/nodejs/persist/fileAccessControl.js.map +1 -1
  155. package/dist/esm/platform/nodejs/persist/fileSystemPersist.d.ts +9 -1
  156. package/dist/esm/platform/nodejs/persist/fileSystemPersist.d.ts.map +1 -1
  157. package/dist/esm/platform/nodejs/persist/fileSystemPersist.js +37 -16
  158. package/dist/esm/platform/nodejs/persist/fileSystemPersist.js.map +1 -1
  159. package/dist/esm/{sampling.d.ts → sampling/percentageSampler.d.ts} +2 -3
  160. package/dist/esm/sampling/percentageSampler.d.ts.map +1 -0
  161. package/dist/esm/{sampling.js → sampling/percentageSampler.js} +6 -39
  162. package/dist/esm/sampling/percentageSampler.js.map +1 -0
  163. package/dist/esm/sampling/rateLimitedSampler.d.ts +58 -0
  164. package/dist/esm/sampling/rateLimitedSampler.d.ts.map +1 -0
  165. package/dist/esm/sampling/rateLimitedSampler.js +114 -0
  166. package/dist/esm/sampling/rateLimitedSampler.js.map +1 -0
  167. package/dist/esm/sampling/samplingUtils.d.ts +17 -0
  168. package/dist/esm/sampling/samplingUtils.d.ts.map +1 -0
  169. package/dist/esm/sampling/samplingUtils.js +89 -0
  170. package/dist/esm/sampling/samplingUtils.js.map +1 -0
  171. package/dist/esm/types.d.ts.map +1 -1
  172. package/dist/esm/types.js +2 -1
  173. package/dist/esm/types.js.map +1 -1
  174. package/dist/esm/utils/common.js +2 -3
  175. package/dist/esm/utils/common.js.map +1 -1
  176. package/dist/esm/utils/connectionStringParser.js +3 -3
  177. package/dist/esm/utils/connectionStringParser.js.map +1 -1
  178. package/dist/esm/utils/constants/applicationinsights.d.ts +1 -1
  179. package/dist/esm/utils/constants/applicationinsights.js +1 -1
  180. package/dist/esm/utils/constants/applicationinsights.js.map +1 -1
  181. package/dist/esm/utils/eventhub.js +5 -2
  182. package/dist/esm/utils/eventhub.js.map +1 -1
  183. package/dist/esm/utils/logUtils.js +10 -9
  184. package/dist/esm/utils/logUtils.js.map +1 -1
  185. package/dist/esm/utils/metricUtils.d.ts.map +1 -1
  186. package/dist/esm/utils/metricUtils.js +6 -6
  187. package/dist/esm/utils/metricUtils.js.map +1 -1
  188. package/dist/esm/utils/spanUtils.d.ts.map +1 -1
  189. package/dist/esm/utils/spanUtils.js +16 -14
  190. package/dist/esm/utils/spanUtils.js.map +1 -1
  191. package/package.json +21 -26
  192. package/dist/commonjs/sampling.d.ts.map +0 -1
  193. package/dist/commonjs/sampling.js.map +0 -1
  194. package/dist/esm/sampling.d.ts.map +0 -1
  195. package/dist/esm/sampling.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,CAAC;gBACf,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;YACD,UAAU,EAAE;gBACV,YAAY,EAAE,GAAG;gBACjB,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,WAAW,EAAE;oBACX,SAAS,EAAE,EAAE;iBACd;gBACD,cAAc,EAAE,KAAK;gBACrB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iBAChB;aACF,EACD,YAAY,EAAE;gBACZ,WAAW,EAAE;oBACX,SAAS,EAAE,IAAI;iBAChB;gBACD,cAAc,EAAE,cAAc;gBAC9B,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,MAAM,EAAE;gBACN,WAAW,EAAE;oBACX,SAAS,EAAE,IAAI;iBAChB;gBACD,cAAc,EAAE,QAAQ;gBACxB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,GAAG,EAAE;gBACH,WAAW,EAAE;oBACX,SAAS,EAAE,IAAI;iBAChB;gBACD,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;iBACtE;aACF,EACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF,GACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const TelemetryItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryItem\",\n modelProperties: {\n version: {\n defaultValue: 1,\n serializedName: \"ver\",\n type: {\n name: \"Number\",\n },\n },\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n time: {\n serializedName: \"time\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n sampleRate: {\n defaultValue: 100,\n serializedName: \"sampleRate\",\n type: {\n name: \"Number\",\n },\n },\n sequence: {\n constraints: {\n MaxLength: 64,\n },\n serializedName: \"seq\",\n type: {\n name: \"String\",\n },\n },\n instrumentationKey: {\n serializedName: \"iKey\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n data: {\n serializedName: \"data\",\n type: {\n name: \"Composite\",\n className: \"MonitorBase\",\n },\n },\n },\n },\n};\n\nexport const MonitorBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorBase\",\n modelProperties: {\n baseType: {\n serializedName: \"baseType\",\n type: {\n name: \"String\",\n },\n },\n baseData: {\n serializedName: \"baseData\",\n type: {\n name: \"Composite\",\n className: \"MonitorDomain\",\n },\n },\n },\n },\n};\n\nexport const MonitorDomain: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorDomain\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n version: {\n defaultValue: 2,\n serializedName: \"ver\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const TrackResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackResponse\",\n modelProperties: {\n itemsReceived: {\n serializedName: \"itemsReceived\",\n type: {\n name: \"Number\",\n },\n },\n itemsAccepted: {\n serializedName: \"itemsAccepted\",\n type: {\n name: \"Number\",\n },\n },\n errors: {\n serializedName: \"errors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TelemetryErrorDetails\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const TelemetryErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryErrorDetails\",\n modelProperties: {\n index: {\n serializedName: \"index\",\n type: {\n name: \"Number\",\n },\n },\n statusCode: {\n serializedName: \"statusCode\",\n type: {\n name: \"Number\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MetricDataPoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetricDataPoint\",\n modelProperties: {\n namespace: {\n constraints: {\n MaxLength: 256,\n },\n serializedName: \"ns\",\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n dataPointType: {\n serializedName: \"kind\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n count: {\n serializedName: \"count\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n min: {\n serializedName: \"min\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n max: {\n serializedName: \"max\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n stdDev: {\n serializedName: \"stdDev\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const TelemetryExceptionDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryExceptionDetails\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"Number\",\n },\n },\n outerId: {\n serializedName: \"outerId\",\n type: {\n name: \"Number\",\n },\n },\n typeName: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"typeName\",\n type: {\n name: \"String\",\n },\n },\n message: {\n constraints: {\n MaxLength: 32768,\n },\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n hasFullStack: {\n defaultValue: true,\n serializedName: \"hasFullStack\",\n type: {\n name: \"Boolean\",\n },\n },\n stack: {\n constraints: {\n MaxLength: 32768,\n },\n serializedName: \"stack\",\n type: {\n name: \"String\",\n },\n },\n parsedStack: {\n serializedName: \"parsedStack\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"StackFrame\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const StackFrame: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StackFrame\",\n modelProperties: {\n level: {\n serializedName: \"level\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n method: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"method\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n assembly: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"assembly\",\n type: {\n name: \"String\",\n },\n },\n fileName: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"fileName\",\n type: {\n name: \"String\",\n },\n },\n line: {\n serializedName: \"line\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const AvailabilityData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AvailabilityData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n success: {\n serializedName: \"success\",\n required: true,\n type: {\n name: \"Boolean\",\n },\n },\n runLocation: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"runLocation\",\n type: {\n name: \"String\",\n },\n },\n message: {\n constraints: {\n MaxLength: 8192,\n },\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const TelemetryEventData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryEventData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n name: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const TelemetryExceptionData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryExceptionData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n exceptions: {\n serializedName: \"exceptions\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TelemetryExceptionDetails\",\n },\n },\n },\n },\n severityLevel: {\n serializedName: \"severityLevel\",\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n problemId: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"problemId\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const MessageData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n message: {\n constraints: {\n MaxLength: 32768,\n },\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n severityLevel: {\n serializedName: \"severityLevel\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const MetricsData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetricsData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n metrics: {\n serializedName: \"metrics\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MetricDataPoint\",\n },\n },\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n },\n },\n};\n\nexport const PageViewData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PageViewData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n url: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n type: {\n name: \"String\",\n },\n },\n referredUri: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"referredUri\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const PageViewPerfData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PageViewPerfData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n url: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n type: {\n name: \"String\",\n },\n },\n perfTotal: {\n serializedName: \"perfTotal\",\n type: {\n name: \"String\",\n },\n },\n networkConnect: {\n serializedName: \"networkConnect\",\n type: {\n name: \"String\",\n },\n },\n sentRequest: {\n serializedName: \"sentRequest\",\n type: {\n name: \"String\",\n },\n },\n receivedResponse: {\n serializedName: \"receivedResponse\",\n type: {\n name: \"String\",\n },\n },\n domProcessing: {\n serializedName: \"domProcessing\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const RemoteDependencyData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RemoteDependencyData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n resultCode: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"resultCode\",\n type: {\n name: \"String\",\n },\n },\n data: {\n constraints: {\n MaxLength: 8192,\n },\n serializedName: \"data\",\n type: {\n name: \"String\",\n },\n },\n type: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n target: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"target\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n success: {\n defaultValue: true,\n serializedName: \"success\",\n type: {\n name: \"Boolean\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const RequestData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RequestData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n success: {\n defaultValue: true,\n serializedName: \"success\",\n required: true,\n type: {\n name: \"Boolean\",\n },\n },\n responseCode: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"responseCode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n source: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"source\",\n type: {\n name: \"String\",\n },\n },\n url: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n"]}
1
+ {"version":3,"file":"mappers.js","sourceRoot":"","sources":["../../../../src/generated/models/mappers.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;AAIU,QAAA,aAAa,GAA+B;IACvD,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,SAAS,EAAE,eAAe;QAC1B,eAAe,EAAE;YACf,OAAO,EAAE;gBACP,YAAY,EAAE,CAAC;gBACf,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,UAAU;iBACjB;aACF;YACD,UAAU,EAAE;gBACV,YAAY,EAAE,GAAG;gBACjB,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,QAAQ,EAAE;gBACR,WAAW,EAAE;oBACX,SAAS,EAAE,EAAE;iBACd;gBACD,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,kBAAkB,EAAE;gBAClB,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;YACD,IAAI,EAAE;gBACJ,cAAc,EAAE,MAAM;gBACtB,IAAI,EAAE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AI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,GAAG,EAAE;gBACH,WAAW,EAAE;oBACX,SAAS,EAAE,IAAI;iBAChB;gBACD,cAAc,EAAE,KAAK;gBACrB,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF;YACD,UAAU,EAAE;gBACV,cAAc,EAAE,YAAY;gBAC5B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE;iBACtE;aACF;YACD,YAAY,EAAE;gBACZ,cAAc,EAAE,cAAc;gBAC9B,IAAI,EAAE;oBACJ,IAAI,EAAE,YAAY;oBAClB,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;iBACpC;aACF;SACF;KACF;CACF,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport * as coreClient from \"@azure/core-client\";\n\nexport const TelemetryItem: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryItem\",\n modelProperties: {\n version: {\n defaultValue: 1,\n serializedName: \"ver\",\n type: {\n name: \"Number\",\n },\n },\n name: {\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n time: {\n serializedName: \"time\",\n required: true,\n type: {\n name: \"DateTime\",\n },\n },\n sampleRate: {\n defaultValue: 100,\n serializedName: \"sampleRate\",\n type: {\n name: \"Number\",\n },\n },\n sequence: {\n constraints: {\n MaxLength: 64,\n },\n serializedName: \"seq\",\n type: {\n name: \"String\",\n },\n },\n instrumentationKey: {\n serializedName: \"iKey\",\n type: {\n name: \"String\",\n },\n },\n tags: {\n serializedName: \"tags\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" } },\n },\n },\n data: {\n serializedName: \"data\",\n type: {\n name: \"Composite\",\n className: \"MonitorBase\",\n },\n },\n },\n },\n};\n\nexport const MonitorBase: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorBase\",\n modelProperties: {\n baseType: {\n serializedName: \"baseType\",\n type: {\n name: \"String\",\n },\n },\n baseData: {\n serializedName: \"baseData\",\n type: {\n name: \"Composite\",\n className: \"MonitorDomain\",\n },\n },\n },\n },\n};\n\nexport const MonitorDomain: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MonitorDomain\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n version: {\n defaultValue: 2,\n serializedName: \"ver\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const TrackResponse: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TrackResponse\",\n modelProperties: {\n itemsReceived: {\n serializedName: \"itemsReceived\",\n type: {\n name: \"Number\",\n },\n },\n itemsAccepted: {\n serializedName: \"itemsAccepted\",\n type: {\n name: \"Number\",\n },\n },\n errors: {\n serializedName: \"errors\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TelemetryErrorDetails\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const TelemetryErrorDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryErrorDetails\",\n modelProperties: {\n index: {\n serializedName: \"index\",\n type: {\n name: \"Number\",\n },\n },\n statusCode: {\n serializedName: \"statusCode\",\n type: {\n name: \"Number\",\n },\n },\n message: {\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n },\n },\n};\n\nexport const MetricDataPoint: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetricDataPoint\",\n modelProperties: {\n namespace: {\n constraints: {\n MaxLength: 256,\n },\n serializedName: \"ns\",\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n dataPointType: {\n serializedName: \"kind\",\n type: {\n name: \"String\",\n },\n },\n value: {\n serializedName: \"value\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n count: {\n serializedName: \"count\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n min: {\n serializedName: \"min\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n max: {\n serializedName: \"max\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n stdDev: {\n serializedName: \"stdDev\",\n nullable: true,\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const TelemetryExceptionDetails: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryExceptionDetails\",\n modelProperties: {\n id: {\n serializedName: \"id\",\n type: {\n name: \"Number\",\n },\n },\n outerId: {\n serializedName: \"outerId\",\n type: {\n name: \"Number\",\n },\n },\n typeName: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"typeName\",\n type: {\n name: \"String\",\n },\n },\n message: {\n constraints: {\n MaxLength: 32768,\n },\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n hasFullStack: {\n defaultValue: true,\n serializedName: \"hasFullStack\",\n type: {\n name: \"Boolean\",\n },\n },\n stack: {\n constraints: {\n MaxLength: 32768,\n },\n serializedName: \"stack\",\n type: {\n name: \"String\",\n },\n },\n parsedStack: {\n serializedName: \"parsedStack\",\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"StackFrame\",\n },\n },\n },\n },\n },\n },\n};\n\nexport const StackFrame: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"StackFrame\",\n modelProperties: {\n level: {\n serializedName: \"level\",\n required: true,\n type: {\n name: \"Number\",\n },\n },\n method: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"method\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n assembly: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"assembly\",\n type: {\n name: \"String\",\n },\n },\n fileName: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"fileName\",\n type: {\n name: \"String\",\n },\n },\n line: {\n serializedName: \"line\",\n type: {\n name: \"Number\",\n },\n },\n },\n },\n};\n\nexport const AvailabilityData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"AvailabilityData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n success: {\n serializedName: \"success\",\n required: true,\n type: {\n name: \"Boolean\",\n },\n },\n runLocation: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"runLocation\",\n type: {\n name: \"String\",\n },\n },\n message: {\n constraints: {\n MaxLength: 8192,\n },\n serializedName: \"message\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const TelemetryEventData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryEventData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n name: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const TelemetryExceptionData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"TelemetryExceptionData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n exceptions: {\n serializedName: \"exceptions\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"TelemetryExceptionDetails\",\n },\n },\n },\n },\n severityLevel: {\n serializedName: \"severityLevel\",\n nullable: true,\n type: {\n name: \"String\",\n },\n },\n problemId: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"problemId\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const MessageData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MessageData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n message: {\n constraints: {\n MaxLength: 32768,\n },\n serializedName: \"message\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n severityLevel: {\n serializedName: \"severityLevel\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const MetricsData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"MetricsData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n metrics: {\n serializedName: \"metrics\",\n required: true,\n type: {\n name: \"Sequence\",\n element: {\n type: {\n name: \"Composite\",\n className: \"MetricDataPoint\",\n },\n },\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n },\n },\n};\n\nexport const PageViewData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PageViewData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n url: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n type: {\n name: \"String\",\n },\n },\n referredUri: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"referredUri\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const PageViewPerfData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"PageViewPerfData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n url: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n type: {\n name: \"String\",\n },\n },\n perfTotal: {\n serializedName: \"perfTotal\",\n type: {\n name: \"String\",\n },\n },\n networkConnect: {\n serializedName: \"networkConnect\",\n type: {\n name: \"String\",\n },\n },\n sentRequest: {\n serializedName: \"sentRequest\",\n type: {\n name: \"String\",\n },\n },\n receivedResponse: {\n serializedName: \"receivedResponse\",\n type: {\n name: \"String\",\n },\n },\n domProcessing: {\n serializedName: \"domProcessing\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const RemoteDependencyData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RemoteDependencyData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n resultCode: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"resultCode\",\n type: {\n name: \"String\",\n },\n },\n data: {\n constraints: {\n MaxLength: 8192,\n },\n serializedName: \"data\",\n type: {\n name: \"String\",\n },\n },\n type: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"type\",\n type: {\n name: \"String\",\n },\n },\n target: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"target\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n success: {\n defaultValue: true,\n serializedName: \"success\",\n type: {\n name: \"Boolean\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n\nexport const RequestData: coreClient.CompositeMapper = {\n type: {\n name: \"Composite\",\n className: \"RequestData\",\n additionalProperties: { type: { name: \"Object\" } },\n modelProperties: {\n ...MonitorDomain.type.modelProperties,\n id: {\n constraints: {\n MaxLength: 512,\n },\n serializedName: \"id\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n name: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"name\",\n type: {\n name: \"String\",\n },\n },\n duration: {\n serializedName: \"duration\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n success: {\n defaultValue: true,\n serializedName: \"success\",\n required: true,\n type: {\n name: \"Boolean\",\n },\n },\n responseCode: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"responseCode\",\n required: true,\n type: {\n name: \"String\",\n },\n },\n source: {\n constraints: {\n MaxLength: 1024,\n },\n serializedName: \"source\",\n type: {\n name: \"String\",\n },\n },\n url: {\n constraints: {\n MaxLength: 2048,\n },\n serializedName: \"url\",\n type: {\n name: \"String\",\n },\n },\n properties: {\n serializedName: \"properties\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"String\" }, constraints: { MaxLength: 8192 } },\n },\n },\n measurements: {\n serializedName: \"measurements\",\n type: {\n name: \"Dictionary\",\n value: { type: { name: \"Number\" } },\n },\n },\n },\n },\n};\n"]}
@@ -1,4 +1,5 @@
1
- export { ApplicationInsightsSampler } from "./sampling.js";
1
+ export { ApplicationInsightsSampler } from "./sampling/percentageSampler.js";
2
+ export { RateLimitedSampler } from "./sampling/rateLimitedSampler.js";
2
3
  export { AzureMonitorBaseExporter } from "./export/base.js";
3
4
  export { AzureMonitorTraceExporter } from "./export/trace.js";
4
5
  export { AzureMonitorMetricExporter } from "./export/metric.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC1D,OAAO,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAChE,OAAO,EAAE,uCAAuC,EAAE,MAAM,6BAA6B,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -2,9 +2,11 @@
2
2
  // Copyright (c) Microsoft Corporation.
3
3
  // Licensed under the MIT License.
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.AI_OPERATION_NAME = exports.ServiceApiVersion = exports.AzureMonitorLogExporter = exports.AzureMonitorMetricExporter = exports.AzureMonitorTraceExporter = exports.AzureMonitorBaseExporter = exports.ApplicationInsightsSampler = void 0;
6
- var sampling_js_1 = require("./sampling.js");
7
- Object.defineProperty(exports, "ApplicationInsightsSampler", { enumerable: true, get: function () { return sampling_js_1.ApplicationInsightsSampler; } });
5
+ exports.AI_OPERATION_NAME = exports.ServiceApiVersion = exports.AzureMonitorLogExporter = exports.AzureMonitorMetricExporter = exports.AzureMonitorTraceExporter = exports.AzureMonitorBaseExporter = exports.RateLimitedSampler = exports.ApplicationInsightsSampler = void 0;
6
+ var percentageSampler_js_1 = require("./sampling/percentageSampler.js");
7
+ Object.defineProperty(exports, "ApplicationInsightsSampler", { enumerable: true, get: function () { return percentageSampler_js_1.ApplicationInsightsSampler; } });
8
+ var rateLimitedSampler_js_1 = require("./sampling/rateLimitedSampler.js");
9
+ Object.defineProperty(exports, "RateLimitedSampler", { enumerable: true, get: function () { return rateLimitedSampler_js_1.RateLimitedSampler; } });
8
10
  var base_js_1 = require("./export/base.js");
9
11
  Object.defineProperty(exports, "AzureMonitorBaseExporter", { enumerable: true, get: function () { return base_js_1.AzureMonitorBaseExporter; } });
10
12
  var trace_js_1 = require("./export/trace.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,6CAA2D;AAAlD,yHAAA,0BAA0B,OAAA;AACnC,4CAA4D;AAAnD,mHAAA,wBAAwB,OAAA;AACjC,8CAA8D;AAArD,qHAAA,yBAAyB,OAAA;AAClC,gDAAgE;AAAvD,uHAAA,0BAA0B,OAAA;AACnC,0CAA0D;AAAjD,iHAAA,uBAAuB,OAAA;AAEhC,4DAAgE;AAAvD,iHAAA,iBAAiB,OAAA;AAE1B,4DAAgE;AAAvD,iHAAA,iBAAiB,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { ApplicationInsightsSampler } from \"./sampling.js\";\nexport { AzureMonitorBaseExporter } from \"./export/base.js\";\nexport { AzureMonitorTraceExporter } from \"./export/trace.js\";\nexport { AzureMonitorMetricExporter } from \"./export/metric.js\";\nexport { AzureMonitorLogExporter } from \"./export/log.js\";\nexport { AzureMonitorExporterOptions } from \"./config.js\";\nexport { ServiceApiVersion } from \"./Declarations/Constants.js\";\nexport { ApplicationInsightsClientOptionalParams } from \"./generated/models/index.js\";\nexport { AI_OPERATION_NAME } from \"./Declarations/Constants.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;AAElC,wEAA6E;AAApE,kIAAA,0BAA0B,OAAA;AACnC,0EAAsE;AAA7D,2HAAA,kBAAkB,OAAA;AAC3B,4CAA4D;AAAnD,mHAAA,wBAAwB,OAAA;AACjC,8CAA8D;AAArD,qHAAA,yBAAyB,OAAA;AAClC,gDAAgE;AAAvD,uHAAA,0BAA0B,OAAA;AACnC,0CAA0D;AAAjD,iHAAA,uBAAuB,OAAA;AAEhC,4DAAgE;AAAvD,iHAAA,iBAAiB,OAAA;AAE1B,4DAAgE;AAAvD,iHAAA,iBAAiB,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nexport { ApplicationInsightsSampler } from \"./sampling/percentageSampler.js\";\nexport { RateLimitedSampler } from \"./sampling/rateLimitedSampler.js\";\nexport { AzureMonitorBaseExporter } from \"./export/base.js\";\nexport { AzureMonitorTraceExporter } from \"./export/trace.js\";\nexport { AzureMonitorMetricExporter } from \"./export/metric.js\";\nexport { AzureMonitorLogExporter } from \"./export/log.js\";\nexport { AzureMonitorExporterOptions } from \"./config.js\";\nexport { ServiceApiVersion } from \"./Declarations/Constants.js\";\nexport { ApplicationInsightsClientOptionalParams } from \"./generated/models/index.js\";\nexport { AI_OPERATION_NAME } from \"./Declarations/Constants.js\";\n"]}
@@ -11,6 +11,7 @@ export declare abstract class BaseSender {
11
11
  private numConsecutiveRedirects;
12
12
  private retryTimer;
13
13
  private networkStatsbeatMetrics;
14
+ private customerStatsbeatMetrics;
14
15
  private longIntervalStatsbeatMetrics;
15
16
  private statsbeatFailureCount;
16
17
  private batchSendRetryIntervalMs;
@@ -1 +1 @@
1
- {"version":3,"file":"baseSender.d.ts","sourceRoot":"","sources":["../../../../src/platform/nodejs/baseSender.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAqB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,iBAAiB,CAAC;AAEnE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQxD,OAAO,KAAK,EAAE,aAAa,IAAI,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAK1E;;;GAGG;AACH,8BAAsB,UAAU;IAC9B,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoB;IAC9C,OAAO,CAAC,uBAAuB,CAAS;IACxC,OAAO,CAAC,UAAU,CAAwB;IAC1C,OAAO,CAAC,uBAAuB,CAAsC;IACrE,OAAO,CAAC,4BAA4B,CAAC;IACrC,OAAO,CAAC,qBAAqB,CAAa;IAC1C,OAAO,CAAC,wBAAwB,CAAgD;IAChF,OAAO,CAAC,iBAAiB,CAAU;IACnC,OAAO,CAAC,qBAAqB,CAAU;gBAE3B,OAAO,EAAE;QACnB,WAAW,EAAE,MAAM,CAAC;QACpB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,cAAc,EAAE,OAAO,CAAC;QACxB,eAAe,EAAE,2BAA2B,CAAC;QAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;IAqBD,QAAQ,CAAC,IAAI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QAC3B,cAAc,EAAE,OAAO,CAAC;QACxB,eAAe,EAAE,2BAA2B,CAAC;QAC7C,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;IA+BD,QAAQ,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC;IACxD,QAAQ,CAAC,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC;IAClC,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI;IAEpE;;OAEG;IACU,eAAe,CAAC,SAAS,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC;IA4M1E;;OAEG;YACW,OAAO;IAuBrB;;OAEG;IACH,OAAO,CAAC,yBAAyB;IAOjC;;OAEG;IACH,OAAO,CAAC,iBAAiB;YAaX,sBAAsB;IAcpC,OAAO,CAAC,oBAAoB;CAO7B"}
@@ -11,31 +11,46 @@ const longIntervalStatsbeatMetrics_js_1 = require("../../export/statsbeat/longIn
11
11
  const types_js_1 = require("../../export/statsbeat/types.js");
12
12
  const breezeUtils_js_1 = require("../../utils/breezeUtils.js");
13
13
  const Constants_js_1 = require("../../Declarations/Constants.js");
14
- const DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS = 60000;
14
+ const customerStatsbeat_js_1 = require("../../export/statsbeat/customerStatsbeat.js");
15
+ const DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS = 60_000;
15
16
  /**
16
17
  * Base sender class
17
18
  * @internal
18
19
  */
19
20
  class BaseSender {
21
+ persister;
22
+ numConsecutiveRedirects;
23
+ retryTimer;
24
+ networkStatsbeatMetrics;
25
+ customerStatsbeatMetrics;
26
+ longIntervalStatsbeatMetrics;
27
+ statsbeatFailureCount = 0;
28
+ batchSendRetryIntervalMs = DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS;
29
+ isStatsbeatSender;
30
+ disableOfflineStorage;
20
31
  constructor(options) {
21
- this.statsbeatFailureCount = 0;
22
- this.batchSendRetryIntervalMs = DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS;
23
32
  this.numConsecutiveRedirects = 0;
24
33
  this.disableOfflineStorage = options.exporterOptions.disableOfflineStorage || false;
25
- this.persister = new index_js_1.FileSystemPersist(options.instrumentationKey, options.exporterOptions);
26
34
  if (options.trackStatsbeat) {
27
- // Initialize statsbeatMetrics
28
- this.networkStatsbeatMetrics = new networkStatsbeatMetrics_js_1.NetworkStatsbeatMetrics({
35
+ this.networkStatsbeatMetrics = networkStatsbeatMetrics_js_1.NetworkStatsbeatMetrics.getInstance({
29
36
  instrumentationKey: options.instrumentationKey,
30
37
  endpointUrl: options.endpointUrl,
31
38
  disableOfflineStorage: this.disableOfflineStorage,
32
39
  });
33
- this.longIntervalStatsbeatMetrics = (0, longIntervalStatsbeatMetrics_js_1.getInstance)({
40
+ this.longIntervalStatsbeatMetrics = longIntervalStatsbeatMetrics_js_1.LongIntervalStatsbeatMetrics.getInstance({
34
41
  instrumentationKey: options.instrumentationKey,
35
42
  endpointUrl: options.endpointUrl,
36
43
  disableOfflineStorage: this.disableOfflineStorage,
37
44
  });
45
+ if (process.env[Constants_js_1.ENV_APPLICATIONINSIGHTS_STATSBEAT_ENABLED_PREVIEW]) {
46
+ this.customerStatsbeatMetrics = customerStatsbeat_js_1.CustomerStatsbeatMetrics.getInstance({
47
+ instrumentationKey: options.instrumentationKey,
48
+ endpointUrl: options.endpointUrl,
49
+ disableOfflineStorage: this.disableOfflineStorage,
50
+ });
51
+ }
38
52
  }
53
+ this.persister = new index_js_1.FileSystemPersist(options.instrumentationKey, options.exporterOptions, this.customerStatsbeatMetrics);
39
54
  this.retryTimer = null;
40
55
  this.isStatsbeatSender = options.isStatsbeatSender || false;
41
56
  }
@@ -43,7 +58,6 @@ class BaseSender {
43
58
  * Export envelopes
44
59
  */
45
60
  async exportEnvelopes(envelopes) {
46
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
47
61
  api_1.diag.info(`Exporting ${envelopes.length} envelope(s)`);
48
62
  if (envelopes.length < 1) {
49
63
  return { code: core_1.ExportResultCode.SUCCESS };
@@ -63,58 +77,92 @@ class BaseSender {
63
77
  }, this.batchSendRetryIntervalMs);
64
78
  this.retryTimer.unref();
65
79
  }
66
- // If we are not exportings statsbeat and statsbeat is not disabled -- count success
67
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.countSuccess(duration);
80
+ // If we are not exporting statsbeat and statsbeat is not disabled -- count success
81
+ if (!this.isStatsbeatSender) {
82
+ this.networkStatsbeatMetrics?.countSuccess(duration);
83
+ this.customerStatsbeatMetrics?.countSuccessfulItems(envelopes);
84
+ }
68
85
  return { code: core_1.ExportResultCode.SUCCESS };
69
86
  }
70
87
  else if (statusCode && (0, breezeUtils_js_1.isRetriable)(statusCode)) {
71
88
  // Failed -- persist failed data
72
89
  if (statusCode === 429 || statusCode === 439) {
73
- (_b = this.networkStatsbeatMetrics) === null || _b === void 0 ? void 0 : _b.countThrottle(statusCode);
90
+ if (!this.isStatsbeatSender) {
91
+ this.networkStatsbeatMetrics?.countThrottle(statusCode);
92
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, statusCode);
93
+ }
94
+ return {
95
+ code: core_1.ExportResultCode.SUCCESS,
96
+ };
74
97
  }
75
98
  if (result) {
76
99
  api_1.diag.info(result);
77
100
  const breezeResponse = JSON.parse(result);
78
101
  const filteredEnvelopes = [];
102
+ // Create a list of successful envelopes by filtering out the failed ones for customer statsbeat
103
+ const successfulEnvelopes = [...envelopes];
79
104
  // If we have a partial success, count the succeeded envelopes
80
- if (breezeResponse.itemsReceived > 0) {
81
- (_c = this.networkStatsbeatMetrics) === null || _c === void 0 ? void 0 : _c.countSuccess(duration);
105
+ if (breezeResponse.itemsAccepted > 0 && statusCode === 206 && !this.isStatsbeatSender) {
106
+ this.networkStatsbeatMetrics?.countSuccess(duration);
82
107
  }
83
108
  // Figure out if we need to either retry or count failures
84
109
  if (breezeResponse.errors) {
85
110
  breezeResponse.errors.forEach((error) => {
111
+ // Mark as undefined so we don't process them in countSuccessfulEnvelopes
112
+ successfulEnvelopes[error.index] = undefined;
113
+ // Add to retry list if status code is retriable
86
114
  if (error.statusCode && (0, breezeUtils_js_1.isRetriable)(error.statusCode)) {
87
115
  filteredEnvelopes.push(envelopes[error.index]);
88
116
  }
89
117
  });
90
118
  }
119
+ // If we have a partial success, count the succeeded envelopes
120
+ if (breezeResponse.itemsAccepted > 0) {
121
+ // Count only the successful envelopes (non-undefined)
122
+ if (!this.isStatsbeatSender) {
123
+ this.networkStatsbeatMetrics?.countSuccess(duration);
124
+ this.customerStatsbeatMetrics?.countSuccessfulItems(envelopes);
125
+ }
126
+ }
91
127
  if (filteredEnvelopes.length > 0) {
92
- (_d = this.networkStatsbeatMetrics) === null || _d === void 0 ? void 0 : _d.countRetry(statusCode);
128
+ if (!this.isStatsbeatSender) {
129
+ this.networkStatsbeatMetrics?.countRetry(statusCode);
130
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, statusCode);
131
+ }
93
132
  // calls resultCallback(ExportResult) based on result of persister.push
94
133
  return await this.persist(filteredEnvelopes);
95
134
  }
96
135
  // Failed -- not retriable
97
- (_e = this.networkStatsbeatMetrics) === null || _e === void 0 ? void 0 : _e.countFailure(duration, statusCode);
136
+ if (!this.isStatsbeatSender) {
137
+ this.networkStatsbeatMetrics?.countFailure(duration, statusCode);
138
+ // Count dropped items for customer statsbeat for non-retriable status codes
139
+ this.customerStatsbeatMetrics?.countDroppedItems(successfulEnvelopes.filter(Boolean), statusCode);
140
+ }
98
141
  return {
99
142
  code: core_1.ExportResultCode.FAILED,
100
143
  };
101
144
  }
102
145
  else {
103
146
  // calls resultCallback(ExportResult) based on result of persister.push
104
- (_f = this.networkStatsbeatMetrics) === null || _f === void 0 ? void 0 : _f.countRetry(statusCode);
147
+ if (!this.isStatsbeatSender) {
148
+ this.networkStatsbeatMetrics?.countRetry(statusCode);
149
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, statusCode);
150
+ }
105
151
  return await this.persist(envelopes);
106
152
  }
107
153
  }
108
154
  else {
109
155
  // Failed -- not retriable
110
- if (this.networkStatsbeatMetrics) {
156
+ if (this.networkStatsbeatMetrics && !this.isStatsbeatSender) {
111
157
  if (statusCode) {
112
158
  this.networkStatsbeatMetrics.countFailure(duration, statusCode);
159
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, statusCode);
113
160
  }
114
161
  }
115
162
  else {
116
163
  // Handles all other status codes or client exceptions for Statsbeat
117
164
  this.incrementStatsbeatFailure();
165
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, types_js_1.DropCode.CLIENT_EXCEPTION);
118
166
  }
119
167
  return {
120
168
  code: core_1.ExportResultCode.FAILED,
@@ -142,14 +190,18 @@ class BaseSender {
142
190
  }
143
191
  else {
144
192
  const redirectError = new Error("Circular redirect");
145
- (_g = this.networkStatsbeatMetrics) === null || _g === void 0 ? void 0 : _g.countException(redirectError);
193
+ if (!this.isStatsbeatSender) {
194
+ this.networkStatsbeatMetrics?.countException(redirectError);
195
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, types_js_1.DropCode.CLIENT_EXCEPTION, redirectError.message);
196
+ }
146
197
  return { code: core_1.ExportResultCode.FAILED, error: redirectError };
147
198
  }
148
199
  }
149
200
  else if (restError.statusCode &&
150
201
  (0, breezeUtils_js_1.isRetriable)(restError.statusCode) &&
151
202
  !this.isStatsbeatSender) {
152
- (_h = this.networkStatsbeatMetrics) === null || _h === void 0 ? void 0 : _h.countRetry(restError.statusCode);
203
+ this.networkStatsbeatMetrics?.countRetry(restError.statusCode);
204
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, restError.statusCode);
153
205
  return this.persist(envelopes);
154
206
  }
155
207
  else if (restError.statusCode === 400 &&
@@ -165,17 +217,22 @@ class BaseSender {
165
217
  this.incrementStatsbeatFailure();
166
218
  return { code: core_1.ExportResultCode.SUCCESS };
167
219
  }
168
- if (this.isRetriableRestError(restError)) {
169
- if (restError.statusCode) {
170
- (_j = this.networkStatsbeatMetrics) === null || _j === void 0 ? void 0 : _j.countRetry(restError.statusCode);
220
+ // For retriable REST errors
221
+ if (this.isRetriableRestError(restError) && !this.isStatsbeatSender) {
222
+ if (this.customerStatsbeatMetrics?.isTimeoutError(restError) && !this.isStatsbeatSender) {
223
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, types_js_1.RetryCode.CLIENT_TIMEOUT, "timeout_exception");
224
+ api_1.diag.error("Request timed out. Error message:", restError.message);
171
225
  }
172
- if (!this.isStatsbeatSender) {
173
- api_1.diag.error("Retrying due to transient client side error. Error message:", restError.message);
226
+ else if (restError.statusCode) {
227
+ this.networkStatsbeatMetrics?.countRetry(restError.statusCode);
228
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, restError.statusCode);
174
229
  }
230
+ api_1.diag.error("Retrying due to transient client side error. Error message:", restError.message);
175
231
  return this.persist(envelopes);
176
232
  }
177
- (_k = this.networkStatsbeatMetrics) === null || _k === void 0 ? void 0 : _k.countException(restError);
233
+ // For non-retriable REST errors or client exceptions
178
234
  if (!this.isStatsbeatSender) {
235
+ this.networkStatsbeatMetrics?.countException(restError);
179
236
  api_1.diag.error("Envelopes could not be exported and are not retriable. Error message:", restError.message);
180
237
  }
181
238
  return { code: core_1.ExportResultCode.FAILED, error: restError };
@@ -185,7 +242,6 @@ class BaseSender {
185
242
  * Persist envelopes to disk
186
243
  */
187
244
  async persist(envelopes) {
188
- var _a;
189
245
  try {
190
246
  const success = await this.persister.push(envelopes);
191
247
  return success
@@ -196,7 +252,12 @@ class BaseSender {
196
252
  };
197
253
  }
198
254
  catch (ex) {
199
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.countWriteFailure();
255
+ if (!this.isStatsbeatSender) {
256
+ this.networkStatsbeatMetrics?.countWriteFailure();
257
+ if (this.disableOfflineStorage && envelopes) {
258
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, types_js_1.DropCode.CLIENT_STORAGE_DISABLED);
259
+ }
260
+ }
200
261
  return { code: core_1.ExportResultCode.FAILED, error: ex };
201
262
  }
202
263
  }
@@ -213,22 +274,28 @@ class BaseSender {
213
274
  * Shutdown statsbeat metrics
214
275
  */
215
276
  shutdownStatsbeat() {
216
- var _a, _b;
217
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.shutdown();
218
- (_b = this.longIntervalStatsbeatMetrics) === null || _b === void 0 ? void 0 : _b.shutdown();
219
- this.networkStatsbeatMetrics = undefined;
277
+ if (this.networkStatsbeatMetrics) {
278
+ this.networkStatsbeatMetrics.shutdown();
279
+ }
280
+ if (this.longIntervalStatsbeatMetrics) {
281
+ this.longIntervalStatsbeatMetrics?.shutdown();
282
+ }
283
+ if (this.customerStatsbeatMetrics) {
284
+ this.customerStatsbeatMetrics.shutdown();
285
+ }
220
286
  this.statsbeatFailureCount = 0;
221
287
  }
222
288
  async sendFirstPersistedFile() {
223
- var _a;
289
+ const envelopes = (await this.persister.shift());
224
290
  try {
225
- const envelopes = (await this.persister.shift());
226
291
  if (envelopes) {
227
292
  await this.send(envelopes);
228
293
  }
229
294
  }
230
295
  catch (err) {
231
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.countReadFailure();
296
+ if (!this.isStatsbeatSender) {
297
+ this.networkStatsbeatMetrics?.countReadFailure();
298
+ }
232
299
  api_1.diag.warn(`Failed to fetch persisted file`, err);
233
300
  }
234
301
  }