@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;AAIH,MAAM,CAAC,MAAM,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,KA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gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;iBACf;aACF,EACD,OAAO,EAAE;gBACP,YAAY,EAAE,IAAI;gBAClB,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;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;AAIH,MAAM,CAAC,MAAM,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,EA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gBAClB,cAAc,EAAE,SAAS;gBACzB,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE;oBACJ,IAAI,EAAE,SAAS;iBAChB;aACF;YACD,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;YACD,MAAM,EAAE;gBACN,WAAW,EAAE;oBACX,SAAS,EAAE,IAAI;iBAChB;gBACD,cAAc,EAAE,QAAQ;gBACxB,IAAI,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"}
package/dist/esm/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  // Copyright (c) Microsoft Corporation.
2
2
  // Licensed under the MIT License.
3
- export { ApplicationInsightsSampler } from "./sampling.js";
3
+ export { ApplicationInsightsSampler } from "./sampling/percentageSampler.js";
4
+ export { RateLimitedSampler } from "./sampling/rateLimitedSampler.js";
4
5
  export { AzureMonitorBaseExporter } from "./export/base.js";
5
6
  export { AzureMonitorTraceExporter } from "./export/trace.js";
6
7
  export { AzureMonitorMetricExporter } from "./export/metric.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,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;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC","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,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;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC","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,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,YAAY,CAAC;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C;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"}
@@ -4,35 +4,50 @@ import { diag } from "@opentelemetry/api";
4
4
  import { FileSystemPersist } from "./persist/index.js";
5
5
  import { ExportResultCode } from "@opentelemetry/core";
6
6
  import { NetworkStatsbeatMetrics } from "../../export/statsbeat/networkStatsbeatMetrics.js";
7
- import { getInstance } from "../../export/statsbeat/longIntervalStatsbeatMetrics.js";
8
- import { MAX_STATSBEAT_FAILURES, isStatsbeatShutdownStatus } from "../../export/statsbeat/types.js";
7
+ import { LongIntervalStatsbeatMetrics } from "../../export/statsbeat/longIntervalStatsbeatMetrics.js";
8
+ import { DropCode, RetryCode, MAX_STATSBEAT_FAILURES, isStatsbeatShutdownStatus, } from "../../export/statsbeat/types.js";
9
9
  import { isRetriable } from "../../utils/breezeUtils.js";
10
- import { RetriableRestErrorTypes } from "../../Declarations/Constants.js";
11
- const DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS = 60000;
10
+ import { ENV_APPLICATIONINSIGHTS_STATSBEAT_ENABLED_PREVIEW, RetriableRestErrorTypes, } from "../../Declarations/Constants.js";
11
+ import { CustomerStatsbeatMetrics } from "../../export/statsbeat/customerStatsbeat.js";
12
+ const DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS = 60_000;
12
13
  /**
13
14
  * Base sender class
14
15
  * @internal
15
16
  */
16
17
  export class BaseSender {
18
+ persister;
19
+ numConsecutiveRedirects;
20
+ retryTimer;
21
+ networkStatsbeatMetrics;
22
+ customerStatsbeatMetrics;
23
+ longIntervalStatsbeatMetrics;
24
+ statsbeatFailureCount = 0;
25
+ batchSendRetryIntervalMs = DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS;
26
+ isStatsbeatSender;
27
+ disableOfflineStorage;
17
28
  constructor(options) {
18
- this.statsbeatFailureCount = 0;
19
- this.batchSendRetryIntervalMs = DEFAULT_BATCH_SEND_RETRY_INTERVAL_MS;
20
29
  this.numConsecutiveRedirects = 0;
21
30
  this.disableOfflineStorage = options.exporterOptions.disableOfflineStorage || false;
22
- this.persister = new FileSystemPersist(options.instrumentationKey, options.exporterOptions);
23
31
  if (options.trackStatsbeat) {
24
- // Initialize statsbeatMetrics
25
- this.networkStatsbeatMetrics = new NetworkStatsbeatMetrics({
32
+ this.networkStatsbeatMetrics = NetworkStatsbeatMetrics.getInstance({
26
33
  instrumentationKey: options.instrumentationKey,
27
34
  endpointUrl: options.endpointUrl,
28
35
  disableOfflineStorage: this.disableOfflineStorage,
29
36
  });
30
- this.longIntervalStatsbeatMetrics = getInstance({
37
+ this.longIntervalStatsbeatMetrics = LongIntervalStatsbeatMetrics.getInstance({
31
38
  instrumentationKey: options.instrumentationKey,
32
39
  endpointUrl: options.endpointUrl,
33
40
  disableOfflineStorage: this.disableOfflineStorage,
34
41
  });
42
+ if (process.env[ENV_APPLICATIONINSIGHTS_STATSBEAT_ENABLED_PREVIEW]) {
43
+ this.customerStatsbeatMetrics = CustomerStatsbeatMetrics.getInstance({
44
+ instrumentationKey: options.instrumentationKey,
45
+ endpointUrl: options.endpointUrl,
46
+ disableOfflineStorage: this.disableOfflineStorage,
47
+ });
48
+ }
35
49
  }
50
+ this.persister = new FileSystemPersist(options.instrumentationKey, options.exporterOptions, this.customerStatsbeatMetrics);
36
51
  this.retryTimer = null;
37
52
  this.isStatsbeatSender = options.isStatsbeatSender || false;
38
53
  }
@@ -40,7 +55,6 @@ export class BaseSender {
40
55
  * Export envelopes
41
56
  */
42
57
  async exportEnvelopes(envelopes) {
43
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
44
58
  diag.info(`Exporting ${envelopes.length} envelope(s)`);
45
59
  if (envelopes.length < 1) {
46
60
  return { code: ExportResultCode.SUCCESS };
@@ -60,58 +74,92 @@ export class BaseSender {
60
74
  }, this.batchSendRetryIntervalMs);
61
75
  this.retryTimer.unref();
62
76
  }
63
- // If we are not exportings statsbeat and statsbeat is not disabled -- count success
64
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.countSuccess(duration);
77
+ // If we are not exporting statsbeat and statsbeat is not disabled -- count success
78
+ if (!this.isStatsbeatSender) {
79
+ this.networkStatsbeatMetrics?.countSuccess(duration);
80
+ this.customerStatsbeatMetrics?.countSuccessfulItems(envelopes);
81
+ }
65
82
  return { code: ExportResultCode.SUCCESS };
66
83
  }
67
84
  else if (statusCode && isRetriable(statusCode)) {
68
85
  // Failed -- persist failed data
69
86
  if (statusCode === 429 || statusCode === 439) {
70
- (_b = this.networkStatsbeatMetrics) === null || _b === void 0 ? void 0 : _b.countThrottle(statusCode);
87
+ if (!this.isStatsbeatSender) {
88
+ this.networkStatsbeatMetrics?.countThrottle(statusCode);
89
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, statusCode);
90
+ }
91
+ return {
92
+ code: ExportResultCode.SUCCESS,
93
+ };
71
94
  }
72
95
  if (result) {
73
96
  diag.info(result);
74
97
  const breezeResponse = JSON.parse(result);
75
98
  const filteredEnvelopes = [];
99
+ // Create a list of successful envelopes by filtering out the failed ones for customer statsbeat
100
+ const successfulEnvelopes = [...envelopes];
76
101
  // If we have a partial success, count the succeeded envelopes
77
- if (breezeResponse.itemsReceived > 0) {
78
- (_c = this.networkStatsbeatMetrics) === null || _c === void 0 ? void 0 : _c.countSuccess(duration);
102
+ if (breezeResponse.itemsAccepted > 0 && statusCode === 206 && !this.isStatsbeatSender) {
103
+ this.networkStatsbeatMetrics?.countSuccess(duration);
79
104
  }
80
105
  // Figure out if we need to either retry or count failures
81
106
  if (breezeResponse.errors) {
82
107
  breezeResponse.errors.forEach((error) => {
108
+ // Mark as undefined so we don't process them in countSuccessfulEnvelopes
109
+ successfulEnvelopes[error.index] = undefined;
110
+ // Add to retry list if status code is retriable
83
111
  if (error.statusCode && isRetriable(error.statusCode)) {
84
112
  filteredEnvelopes.push(envelopes[error.index]);
85
113
  }
86
114
  });
87
115
  }
116
+ // If we have a partial success, count the succeeded envelopes
117
+ if (breezeResponse.itemsAccepted > 0) {
118
+ // Count only the successful envelopes (non-undefined)
119
+ if (!this.isStatsbeatSender) {
120
+ this.networkStatsbeatMetrics?.countSuccess(duration);
121
+ this.customerStatsbeatMetrics?.countSuccessfulItems(envelopes);
122
+ }
123
+ }
88
124
  if (filteredEnvelopes.length > 0) {
89
- (_d = this.networkStatsbeatMetrics) === null || _d === void 0 ? void 0 : _d.countRetry(statusCode);
125
+ if (!this.isStatsbeatSender) {
126
+ this.networkStatsbeatMetrics?.countRetry(statusCode);
127
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, statusCode);
128
+ }
90
129
  // calls resultCallback(ExportResult) based on result of persister.push
91
130
  return await this.persist(filteredEnvelopes);
92
131
  }
93
132
  // Failed -- not retriable
94
- (_e = this.networkStatsbeatMetrics) === null || _e === void 0 ? void 0 : _e.countFailure(duration, statusCode);
133
+ if (!this.isStatsbeatSender) {
134
+ this.networkStatsbeatMetrics?.countFailure(duration, statusCode);
135
+ // Count dropped items for customer statsbeat for non-retriable status codes
136
+ this.customerStatsbeatMetrics?.countDroppedItems(successfulEnvelopes.filter(Boolean), statusCode);
137
+ }
95
138
  return {
96
139
  code: ExportResultCode.FAILED,
97
140
  };
98
141
  }
99
142
  else {
100
143
  // calls resultCallback(ExportResult) based on result of persister.push
101
- (_f = this.networkStatsbeatMetrics) === null || _f === void 0 ? void 0 : _f.countRetry(statusCode);
144
+ if (!this.isStatsbeatSender) {
145
+ this.networkStatsbeatMetrics?.countRetry(statusCode);
146
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, statusCode);
147
+ }
102
148
  return await this.persist(envelopes);
103
149
  }
104
150
  }
105
151
  else {
106
152
  // Failed -- not retriable
107
- if (this.networkStatsbeatMetrics) {
153
+ if (this.networkStatsbeatMetrics && !this.isStatsbeatSender) {
108
154
  if (statusCode) {
109
155
  this.networkStatsbeatMetrics.countFailure(duration, statusCode);
156
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, statusCode);
110
157
  }
111
158
  }
112
159
  else {
113
160
  // Handles all other status codes or client exceptions for Statsbeat
114
161
  this.incrementStatsbeatFailure();
162
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, DropCode.CLIENT_EXCEPTION);
115
163
  }
116
164
  return {
117
165
  code: ExportResultCode.FAILED,
@@ -139,14 +187,18 @@ export class BaseSender {
139
187
  }
140
188
  else {
141
189
  const redirectError = new Error("Circular redirect");
142
- (_g = this.networkStatsbeatMetrics) === null || _g === void 0 ? void 0 : _g.countException(redirectError);
190
+ if (!this.isStatsbeatSender) {
191
+ this.networkStatsbeatMetrics?.countException(redirectError);
192
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, DropCode.CLIENT_EXCEPTION, redirectError.message);
193
+ }
143
194
  return { code: ExportResultCode.FAILED, error: redirectError };
144
195
  }
145
196
  }
146
197
  else if (restError.statusCode &&
147
198
  isRetriable(restError.statusCode) &&
148
199
  !this.isStatsbeatSender) {
149
- (_h = this.networkStatsbeatMetrics) === null || _h === void 0 ? void 0 : _h.countRetry(restError.statusCode);
200
+ this.networkStatsbeatMetrics?.countRetry(restError.statusCode);
201
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, restError.statusCode);
150
202
  return this.persist(envelopes);
151
203
  }
152
204
  else if (restError.statusCode === 400 &&
@@ -162,17 +214,22 @@ export class BaseSender {
162
214
  this.incrementStatsbeatFailure();
163
215
  return { code: ExportResultCode.SUCCESS };
164
216
  }
165
- if (this.isRetriableRestError(restError)) {
166
- if (restError.statusCode) {
167
- (_j = this.networkStatsbeatMetrics) === null || _j === void 0 ? void 0 : _j.countRetry(restError.statusCode);
217
+ // For retriable REST errors
218
+ if (this.isRetriableRestError(restError) && !this.isStatsbeatSender) {
219
+ if (this.customerStatsbeatMetrics?.isTimeoutError(restError) && !this.isStatsbeatSender) {
220
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, RetryCode.CLIENT_TIMEOUT, "timeout_exception");
221
+ diag.error("Request timed out. Error message:", restError.message);
168
222
  }
169
- if (!this.isStatsbeatSender) {
170
- diag.error("Retrying due to transient client side error. Error message:", restError.message);
223
+ else if (restError.statusCode) {
224
+ this.networkStatsbeatMetrics?.countRetry(restError.statusCode);
225
+ this.customerStatsbeatMetrics?.countRetryItems(envelopes, restError.statusCode);
171
226
  }
227
+ diag.error("Retrying due to transient client side error. Error message:", restError.message);
172
228
  return this.persist(envelopes);
173
229
  }
174
- (_k = this.networkStatsbeatMetrics) === null || _k === void 0 ? void 0 : _k.countException(restError);
230
+ // For non-retriable REST errors or client exceptions
175
231
  if (!this.isStatsbeatSender) {
232
+ this.networkStatsbeatMetrics?.countException(restError);
176
233
  diag.error("Envelopes could not be exported and are not retriable. Error message:", restError.message);
177
234
  }
178
235
  return { code: ExportResultCode.FAILED, error: restError };
@@ -182,7 +239,6 @@ export class BaseSender {
182
239
  * Persist envelopes to disk
183
240
  */
184
241
  async persist(envelopes) {
185
- var _a;
186
242
  try {
187
243
  const success = await this.persister.push(envelopes);
188
244
  return success
@@ -193,7 +249,12 @@ export class BaseSender {
193
249
  };
194
250
  }
195
251
  catch (ex) {
196
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.countWriteFailure();
252
+ if (!this.isStatsbeatSender) {
253
+ this.networkStatsbeatMetrics?.countWriteFailure();
254
+ if (this.disableOfflineStorage && envelopes) {
255
+ this.customerStatsbeatMetrics?.countDroppedItems(envelopes, DropCode.CLIENT_STORAGE_DISABLED);
256
+ }
257
+ }
197
258
  return { code: ExportResultCode.FAILED, error: ex };
198
259
  }
199
260
  }
@@ -210,22 +271,28 @@ export class BaseSender {
210
271
  * Shutdown statsbeat metrics
211
272
  */
212
273
  shutdownStatsbeat() {
213
- var _a, _b;
214
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.shutdown();
215
- (_b = this.longIntervalStatsbeatMetrics) === null || _b === void 0 ? void 0 : _b.shutdown();
216
- this.networkStatsbeatMetrics = undefined;
274
+ if (this.networkStatsbeatMetrics) {
275
+ this.networkStatsbeatMetrics.shutdown();
276
+ }
277
+ if (this.longIntervalStatsbeatMetrics) {
278
+ this.longIntervalStatsbeatMetrics?.shutdown();
279
+ }
280
+ if (this.customerStatsbeatMetrics) {
281
+ this.customerStatsbeatMetrics.shutdown();
282
+ }
217
283
  this.statsbeatFailureCount = 0;
218
284
  }
219
285
  async sendFirstPersistedFile() {
220
- var _a;
286
+ const envelopes = (await this.persister.shift());
221
287
  try {
222
- const envelopes = (await this.persister.shift());
223
288
  if (envelopes) {
224
289
  await this.send(envelopes);
225
290
  }
226
291
  }
227
292
  catch (err) {
228
- (_a = this.networkStatsbeatMetrics) === null || _a === void 0 ? void 0 : _a.countReadFailure();
293
+ if (!this.isStatsbeatSender) {
294
+ this.networkStatsbeatMetrics?.countReadFailure();
295
+ }
229
296
  diag.warn(`Failed to fetch persisted file`, err);
230
297
  }
231
298
  }