@lopatnov/express-reverse-proxy 1.1.0 → 1.3.0

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 (952) hide show
  1. package/.git/COMMIT_EDITMSG +1 -1
  2. package/.git/FETCH_HEAD +2 -1
  3. package/.git/ORIG_HEAD +1 -1
  4. package/.git/index +0 -0
  5. package/.git/logs/HEAD +6 -0
  6. package/.git/logs/refs/heads/master +6 -0
  7. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/async-2.6.4 +1 -0
  8. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.14.8 +1 -0
  9. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.15.1 +1 -0
  10. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/minimist-1.2.6 +2 -0
  11. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/moment-2.29.4 +2 -0
  12. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/moment-timezone-0.5.37 +1 -0
  13. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.10 +1 -0
  14. package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.7 +1 -0
  15. package/.git/logs/refs/remotes/origin/master +6 -0
  16. package/.git/objects/05/7279a8af3092f351c4ae469bd547adfc76f7a4 +0 -0
  17. package/.git/objects/05/c82a6f0ea9c0a164aad76ced44fec680b8604a +0 -0
  18. package/.git/objects/06/051cdbe81b43e531f1ca0fa765cb4c91d91ea1 +0 -0
  19. package/.git/objects/0f/981da089a027ab4deb1f0c7864dfcee50bd0f1 +0 -0
  20. package/.git/objects/10/eee3c8fa2c12b77e0fed1f2fad1b967c267b53 +0 -0
  21. package/.git/objects/12/3d8423180da838ba0af1284aae79e1a955c98b +0 -0
  22. package/.git/objects/14/3d5eca2e4998e6899de6049e38b4bf2559e4e0 +0 -0
  23. package/.git/objects/15/2c053b9a24234f6bec33280204f11e5d9dda6b +0 -0
  24. package/.git/objects/16/a3a924f2a6924622e739eebe236ef713030c8b +0 -0
  25. package/.git/objects/1d/559712ab5ec703cf8e866b24b8dfb3b321ff03 +0 -0
  26. package/.git/objects/1f/4bda8b3565949d26f700322b343189d29bffdf +3 -0
  27. package/.git/objects/22/034a86b3f190407ef7a2c0eaf212ddaa686f16 +0 -0
  28. package/.git/objects/25/9462200ffecedc2eef36f888eb503e3f2e81ec +0 -0
  29. package/.git/objects/28/220d00bdbed408d7a98ece866fb5af1e7d1395 +0 -0
  30. package/.git/objects/33/f5906b4664855687be03e7d6d93092c9daf955 +0 -0
  31. package/.git/objects/39/fb332adf9703decb515ff845b2c93ee7bdd191 +0 -0
  32. package/.git/objects/3a/4d74b53dc2acdf09452ccf6c30100a929f557d +0 -0
  33. package/.git/objects/3b/2d52de53f2b2dd1e2ea057a01c0d0553236d21 +0 -0
  34. package/.git/objects/3b/f4ee4b9fb6b872ee61b1a392113d208ca7c762 +0 -0
  35. package/.git/objects/3c/43aaf00d26ff1acbc0a237198fc30baa6e25be +0 -0
  36. package/.git/objects/3f/8e368a352ad9a944b90208dee1188e4330a2f1 +1 -0
  37. package/.git/objects/44/e27cef5a809b8c2d36871c5193198142431a63 +0 -0
  38. package/.git/objects/46/6d53dd4e6463d5e899cd61b80077af9100e3a8 +0 -0
  39. package/.git/objects/4b/47d7aeb054f8ab581690b65dcb12308ba90b6c +0 -0
  40. package/.git/objects/4e/3353916674e6e2d72452b43f1706f5916d2c89 +2 -0
  41. package/.git/objects/54/e5124ded8dd3a8ed0b19720474203dbc5c52be +0 -0
  42. package/.git/objects/58/2cf7a6f56fd9e6f5084a88c953da4013167b94 +0 -0
  43. package/.git/objects/5b/c7e4571e0196bc7913762a38c0698ab23b4b40 +0 -0
  44. package/.git/objects/5d/cc561a09ef24892a16f23881962624a126f9ca +0 -0
  45. package/.git/objects/5e/3da9aaf50f9faecdc9cb1ebeab3fba5a9e8fb4 +0 -0
  46. package/.git/objects/5f/7c7f1513de49814f849f66114759c6daef837d +0 -0
  47. package/.git/objects/64/967bb9704893349c92a31f5291fc0eb2c13fa9 +0 -0
  48. package/.git/objects/6c/ef2f57e30fc6bc765e9ebfe3bf096e84101cc1 +0 -0
  49. package/.git/objects/6e/22bebb02332d3ff461dca72d0ecb8f1d44835f +0 -0
  50. package/.git/objects/6f/220ef271ba804052014c8a5d406a1438efef64 +0 -0
  51. package/.git/objects/70/ad2e555e35eb73420e7f7edd4177a20635e795 +0 -0
  52. package/.git/objects/7f/3277bd2a1e2b01b395caf1e0e8999c1682c223 +0 -0
  53. package/.git/objects/83/5696f89cedc2214df0ffc788f08c4d58a97c95 +0 -0
  54. package/.git/objects/84/b568065a1ee10c396c790029aef4fc7e990dcb +0 -0
  55. package/.git/objects/85/b13d9fef3c897366d43df137438cd28f915087 +0 -0
  56. package/.git/objects/95/d70526c36e8b3e5c814f64645623371d57946d +0 -0
  57. package/.git/objects/98/898b1fd7b14788c34282603fca629e813ba546 +0 -0
  58. package/.git/objects/9d/31d2fc81e780e5e2de1c51b8e705005e94d59d +0 -0
  59. package/.git/objects/a2/955bbd248d85219a4264c1b21dc7c2d0481d11 +0 -0
  60. package/.git/objects/a4/a1ac412998cdfe316b39e29e5462057602c1d6 +0 -0
  61. package/.git/objects/b6/b55dd9c407d6e3de1075ecf67a7f229496d75e +0 -0
  62. package/.git/objects/bb/269a37e471f96225f825accb8fec832556baeb +0 -0
  63. package/.git/objects/be/6b92cd3ae0f90b9b3fae0ca6661931dae6c83a +0 -0
  64. package/.git/objects/c0/7164be325d2c63ae2d899f18569a83e7b4ba67 +0 -0
  65. package/.git/objects/c0/e2ecce02f4d74977c088b07ddae70af1b0204b +0 -0
  66. package/.git/objects/ca/4942a1100642a56ccf314d1e9c4db6da1ee5d2 +0 -0
  67. package/.git/objects/cc/6904a6336d2a954e954bb0d1e50aea08c83494 +0 -0
  68. package/.git/objects/cd/084b222732a6e80a2440e9ecdd773aedb197e6 +0 -0
  69. package/.git/objects/d5/2717c6fd9c3deeb0ff98151d64927d2a6234c6 +0 -0
  70. package/.git/objects/d9/981364d8a15210123a3585846031c62eaecd8f +0 -0
  71. package/.git/objects/db/454cbee6da5938914837cda981dea069f7f409 +0 -0
  72. package/.git/objects/dd/b3b7a413e020bae0d7a4bec93871427e70d257 +0 -0
  73. package/.git/objects/e5/2673bb0d2f0856fee0cef63f2018cf38aaf12a +0 -0
  74. package/.git/objects/e9/94cd70c55ab2bbd98761c2e607daf9b2e97f8f +1 -0
  75. package/.git/objects/e9/bd949a381501bde67f21ba4d00c670cd65663c +0 -0
  76. package/.git/objects/eb/eb5a56b15dab25752fdaa5c407aa876cbf23b3 +0 -0
  77. package/.git/objects/ef/2403cca5e0283f168e74e1e0548f0bee6ba64b +5 -0
  78. package/.git/objects/ef/de9a8166073eaffcbdb334a63e93ab2e0e2bb2 +3 -0
  79. package/.git/objects/f1/8fc2e1985b84cd24de30829a7a4a9c691340c9 +0 -0
  80. package/.git/objects/f2/9fbde97f3b548ee6ec891b4b411707ebf0561a +0 -0
  81. package/.git/objects/f5/f2285b984ce7ef265cf79ce10ba51dcc9f9ad6 +0 -0
  82. package/.git/objects/fd/a93fd9e44b59cfec306dd85a72db21360569a4 +0 -0
  83. package/.git/refs/heads/master +1 -1
  84. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/async-2.6.4 +1 -0
  85. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.14.8 +1 -0
  86. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.15.1 +1 -0
  87. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/minimist-1.2.6 +1 -0
  88. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/moment-2.29.4 +1 -0
  89. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/moment-timezone-0.5.37 +1 -0
  90. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.10 +1 -0
  91. package/.git/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.7 +1 -0
  92. package/.git/refs/remotes/origin/master +1 -1
  93. package/.git/tortoisegit.data +0 -0
  94. package/.git/tortoisegit.index +0 -0
  95. package/.vscode/launch.json +14 -16
  96. package/LICENSE +185 -185
  97. package/README.md +41 -14
  98. package/node_modules/@eslint/eslintrc/LICENSE +19 -0
  99. package/node_modules/@eslint/eslintrc/README.md +64 -0
  100. package/node_modules/@eslint/eslintrc/conf/config-schema.js +79 -0
  101. package/node_modules/@eslint/eslintrc/conf/environments.js +203 -0
  102. package/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +533 -0
  103. package/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +523 -0
  104. package/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +115 -0
  105. package/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +145 -0
  106. package/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +238 -0
  107. package/node_modules/@eslint/eslintrc/lib/config-array/index.js +19 -0
  108. package/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +225 -0
  109. package/node_modules/@eslint/eslintrc/lib/config-array-factory.js +1133 -0
  110. package/node_modules/@eslint/eslintrc/lib/flat-compat.js +307 -0
  111. package/node_modules/@eslint/eslintrc/lib/index-universal.js +29 -0
  112. package/node_modules/@eslint/eslintrc/lib/index.js +56 -0
  113. package/node_modules/@eslint/eslintrc/lib/shared/ajv.js +191 -0
  114. package/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +135 -0
  115. package/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +325 -0
  116. package/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +63 -0
  117. package/node_modules/@eslint/eslintrc/lib/shared/naming.js +96 -0
  118. package/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +42 -0
  119. package/node_modules/@eslint/eslintrc/lib/shared/types.js +149 -0
  120. package/node_modules/@eslint/eslintrc/package.json +82 -0
  121. package/node_modules/@eslint/eslintrc/universal.js +9 -0
  122. package/node_modules/@humanwhocodes/config-array/CHANGELOG.md +107 -0
  123. package/node_modules/@humanwhocodes/config-array/LICENSE +201 -0
  124. package/node_modules/@humanwhocodes/config-array/README.md +303 -0
  125. package/node_modules/@humanwhocodes/config-array/api.js +761 -0
  126. package/node_modules/@humanwhocodes/config-array/package.json +60 -0
  127. package/node_modules/@humanwhocodes/gitignore-to-minimatch/LICENSE +201 -0
  128. package/node_modules/@humanwhocodes/gitignore-to-minimatch/README.md +78 -0
  129. package/node_modules/@humanwhocodes/gitignore-to-minimatch/package.json +61 -0
  130. package/node_modules/@humanwhocodes/module-importer/CHANGELOG.md +15 -0
  131. package/node_modules/@humanwhocodes/module-importer/LICENSE +201 -0
  132. package/node_modules/@humanwhocodes/module-importer/README.md +80 -0
  133. package/node_modules/@humanwhocodes/module-importer/package.json +65 -0
  134. package/node_modules/@humanwhocodes/module-importer/src/module-importer.cjs +81 -0
  135. package/node_modules/@humanwhocodes/module-importer/src/module-importer.js +22 -0
  136. package/node_modules/@humanwhocodes/object-schema/.eslintrc.js +29 -0
  137. package/node_modules/@humanwhocodes/object-schema/.github/workflows/nodejs-test.yml +27 -0
  138. package/node_modules/@humanwhocodes/object-schema/.github/workflows/release-please.yml +39 -0
  139. package/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +8 -0
  140. package/node_modules/@humanwhocodes/object-schema/LICENSE +29 -0
  141. package/node_modules/@humanwhocodes/object-schema/README.md +234 -0
  142. package/node_modules/@humanwhocodes/object-schema/package.json +33 -0
  143. package/node_modules/@humanwhocodes/object-schema/src/index.js +7 -0
  144. package/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +53 -0
  145. package/node_modules/@humanwhocodes/object-schema/src/object-schema.js +235 -0
  146. package/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +102 -0
  147. package/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +66 -0
  148. package/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +611 -0
  149. package/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +186 -0
  150. package/node_modules/@nodelib/fs.scandir/LICENSE +21 -0
  151. package/node_modules/@nodelib/fs.scandir/README.md +171 -0
  152. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  153. package/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +19 -0
  154. package/node_modules/@nodelib/fs.scandir/out/constants.d.ts +4 -0
  155. package/node_modules/@nodelib/fs.scandir/out/constants.js +17 -0
  156. package/node_modules/@nodelib/fs.scandir/out/index.d.ts +12 -0
  157. package/node_modules/@nodelib/fs.scandir/out/index.js +26 -0
  158. package/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  159. package/node_modules/@nodelib/fs.scandir/out/providers/async.js +104 -0
  160. package/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +1 -0
  161. package/node_modules/@nodelib/fs.scandir/out/providers/common.js +13 -0
  162. package/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +5 -0
  163. package/node_modules/@nodelib/fs.scandir/out/providers/sync.js +54 -0
  164. package/node_modules/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  165. package/node_modules/@nodelib/fs.scandir/out/settings.js +24 -0
  166. package/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  167. package/node_modules/@nodelib/fs.scandir/out/types/index.js +2 -0
  168. package/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +2 -0
  169. package/node_modules/@nodelib/fs.scandir/out/utils/fs.js +19 -0
  170. package/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +2 -0
  171. package/node_modules/@nodelib/fs.scandir/out/utils/index.js +5 -0
  172. package/node_modules/@nodelib/fs.scandir/package.json +44 -0
  173. package/node_modules/@nodelib/fs.stat/LICENSE +21 -0
  174. package/node_modules/@nodelib/fs.stat/README.md +126 -0
  175. package/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  176. package/node_modules/@nodelib/fs.stat/out/adapters/fs.js +17 -0
  177. package/node_modules/@nodelib/fs.stat/out/index.d.ts +12 -0
  178. package/node_modules/@nodelib/fs.stat/out/index.js +26 -0
  179. package/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  180. package/node_modules/@nodelib/fs.stat/out/providers/async.js +36 -0
  181. package/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +3 -0
  182. package/node_modules/@nodelib/fs.stat/out/providers/sync.js +23 -0
  183. package/node_modules/@nodelib/fs.stat/out/settings.d.ts +16 -0
  184. package/node_modules/@nodelib/fs.stat/out/settings.js +16 -0
  185. package/node_modules/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  186. package/node_modules/@nodelib/fs.stat/out/types/index.js +2 -0
  187. package/node_modules/@nodelib/fs.stat/package.json +37 -0
  188. package/node_modules/@nodelib/fs.walk/LICENSE +21 -0
  189. package/node_modules/@nodelib/fs.walk/README.md +215 -0
  190. package/node_modules/@nodelib/fs.walk/out/index.d.ts +14 -0
  191. package/node_modules/@nodelib/fs.walk/out/index.js +34 -0
  192. package/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  193. package/node_modules/@nodelib/fs.walk/out/providers/async.js +30 -0
  194. package/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +4 -0
  195. package/node_modules/@nodelib/fs.walk/out/providers/index.js +9 -0
  196. package/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +12 -0
  197. package/node_modules/@nodelib/fs.walk/out/providers/stream.js +34 -0
  198. package/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +10 -0
  199. package/node_modules/@nodelib/fs.walk/out/providers/sync.js +14 -0
  200. package/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  201. package/node_modules/@nodelib/fs.walk/out/readers/async.js +97 -0
  202. package/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +7 -0
  203. package/node_modules/@nodelib/fs.walk/out/readers/common.js +31 -0
  204. package/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  205. package/node_modules/@nodelib/fs.walk/out/readers/reader.js +11 -0
  206. package/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +15 -0
  207. package/node_modules/@nodelib/fs.walk/out/readers/sync.js +59 -0
  208. package/node_modules/@nodelib/fs.walk/out/settings.d.ts +30 -0
  209. package/node_modules/@nodelib/fs.walk/out/settings.js +26 -0
  210. package/node_modules/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  211. package/node_modules/@nodelib/fs.walk/out/types/index.js +2 -0
  212. package/node_modules/@nodelib/fs.walk/package.json +44 -0
  213. package/node_modules/@opencensus/core/LICENSE +202 -0
  214. package/node_modules/@opencensus/core/README.md +108 -0
  215. package/node_modules/@opencensus/core/build/src/common/console-logger.d.ts +60 -0
  216. package/node_modules/@opencensus/core/build/src/common/console-logger.js +97 -0
  217. package/node_modules/@opencensus/core/build/src/common/time-util.d.ts +41 -0
  218. package/node_modules/@opencensus/core/build/src/common/time-util.js +74 -0
  219. package/node_modules/@opencensus/core/build/src/common/types.d.ts +29 -0
  220. package/node_modules/@opencensus/core/build/src/common/types.js +18 -0
  221. package/node_modules/@opencensus/core/build/src/common/validations.d.ts +31 -0
  222. package/node_modules/@opencensus/core/build/src/common/validations.js +46 -0
  223. package/node_modules/@opencensus/core/build/src/common/version.d.ts +16 -0
  224. package/node_modules/@opencensus/core/build/src/common/version.js +24 -0
  225. package/node_modules/@opencensus/core/build/src/exporters/console-exporter.d.ts +70 -0
  226. package/node_modules/@opencensus/core/build/src/exporters/console-exporter.js +91 -0
  227. package/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.d.ts +59 -0
  228. package/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.js +104 -0
  229. package/node_modules/@opencensus/core/build/src/exporters/types.d.ts +52 -0
  230. package/node_modules/@opencensus/core/build/src/exporters/types.js +18 -0
  231. package/node_modules/@opencensus/core/build/src/index.d.ts +50 -0
  232. package/node_modules/@opencensus/core/build/src/index.js +59 -0
  233. package/node_modules/@opencensus/core/build/src/internal/clock.d.ts +43 -0
  234. package/node_modules/@opencensus/core/build/src/internal/clock.js +68 -0
  235. package/node_modules/@opencensus/core/build/src/internal/cls-ah.d.ts +20 -0
  236. package/node_modules/@opencensus/core/build/src/internal/cls-ah.js +128 -0
  237. package/node_modules/@opencensus/core/build/src/internal/cls.d.ts +28 -0
  238. package/node_modules/@opencensus/core/build/src/internal/cls.js +45 -0
  239. package/node_modules/@opencensus/core/build/src/internal/string-utils.d.ts +35 -0
  240. package/node_modules/@opencensus/core/build/src/internal/string-utils.js +49 -0
  241. package/node_modules/@opencensus/core/build/src/internal/util.d.ts +16 -0
  242. package/node_modules/@opencensus/core/build/src/internal/util.js +34 -0
  243. package/node_modules/@opencensus/core/build/src/metrics/export/base-metric-producer.d.ts +27 -0
  244. package/node_modules/@opencensus/core/build/src/metrics/export/base-metric-producer.js +25 -0
  245. package/node_modules/@opencensus/core/build/src/metrics/export/metric-producer-manager.d.ts +17 -0
  246. package/node_modules/@opencensus/core/build/src/metrics/export/metric-producer-manager.js +70 -0
  247. package/node_modules/@opencensus/core/build/src/metrics/export/types.d.ts +331 -0
  248. package/node_modules/@opencensus/core/build/src/metrics/export/types.js +69 -0
  249. package/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.d.ts +110 -0
  250. package/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.js +150 -0
  251. package/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.d.ts +114 -0
  252. package/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.js +162 -0
  253. package/node_modules/@opencensus/core/build/src/metrics/gauges/types.d.ts +45 -0
  254. package/node_modules/@opencensus/core/build/src/metrics/gauges/types.js +18 -0
  255. package/node_modules/@opencensus/core/build/src/metrics/metric-component.d.ts +29 -0
  256. package/node_modules/@opencensus/core/build/src/metrics/metric-component.js +40 -0
  257. package/node_modules/@opencensus/core/build/src/metrics/metric-registry.d.ts +93 -0
  258. package/node_modules/@opencensus/core/build/src/metrics/metric-registry.js +152 -0
  259. package/node_modules/@opencensus/core/build/src/metrics/metrics.d.ts +27 -0
  260. package/node_modules/@opencensus/core/build/src/metrics/metrics.js +35 -0
  261. package/node_modules/@opencensus/core/build/src/metrics/utils.d.ts +30 -0
  262. package/node_modules/@opencensus/core/build/src/metrics/utils.js +42 -0
  263. package/node_modules/@opencensus/core/build/src/resource/resource.d.ts +98 -0
  264. package/node_modules/@opencensus/core/build/src/resource/resource.js +167 -0
  265. package/node_modules/@opencensus/core/build/src/resource/types.d.ts +31 -0
  266. package/node_modules/@opencensus/core/build/src/resource/types.js +18 -0
  267. package/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.d.ts +49 -0
  268. package/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.js +90 -0
  269. package/node_modules/@opencensus/core/build/src/stats/metric-producer.d.ts +34 -0
  270. package/node_modules/@opencensus/core/build/src/stats/metric-producer.js +40 -0
  271. package/node_modules/@opencensus/core/build/src/stats/metric-utils.d.ts +40 -0
  272. package/node_modules/@opencensus/core/build/src/stats/metric-utils.js +83 -0
  273. package/node_modules/@opencensus/core/build/src/stats/recorder.d.ts +26 -0
  274. package/node_modules/@opencensus/core/build/src/stats/recorder.js +76 -0
  275. package/node_modules/@opencensus/core/build/src/stats/stats.d.ts +97 -0
  276. package/node_modules/@opencensus/core/build/src/stats/stats.js +169 -0
  277. package/node_modules/@opencensus/core/build/src/stats/types.d.ts +242 -0
  278. package/node_modules/@opencensus/core/build/src/stats/types.js +48 -0
  279. package/node_modules/@opencensus/core/build/src/stats/view.d.ts +119 -0
  280. package/node_modules/@opencensus/core/build/src/stats/view.js +194 -0
  281. package/node_modules/@opencensus/core/build/src/tags/tag-map.d.ts +26 -0
  282. package/node_modules/@opencensus/core/build/src/tags/tag-map.js +45 -0
  283. package/node_modules/@opencensus/core/build/src/tags/types.d.ts +25 -0
  284. package/node_modules/@opencensus/core/build/src/tags/types.js +18 -0
  285. package/node_modules/@opencensus/core/build/src/tags/validation.d.ts +20 -0
  286. package/node_modules/@opencensus/core/build/src/tags/validation.js +41 -0
  287. package/node_modules/@opencensus/core/build/src/trace/config/types.d.ts +82 -0
  288. package/node_modules/@opencensus/core/build/src/trace/config/types.js +18 -0
  289. package/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.d.ts +77 -0
  290. package/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.js +113 -0
  291. package/node_modules/@opencensus/core/build/src/trace/instrumentation/types.d.ts +56 -0
  292. package/node_modules/@opencensus/core/build/src/trace/instrumentation/types.js +18 -0
  293. package/node_modules/@opencensus/core/build/src/trace/model/root-span.d.ts +53 -0
  294. package/node_modules/@opencensus/core/build/src/trace/model/root-span.js +111 -0
  295. package/node_modules/@opencensus/core/build/src/trace/model/span-base.d.ts +131 -0
  296. package/node_modules/@opencensus/core/build/src/trace/model/span-base.js +210 -0
  297. package/node_modules/@opencensus/core/build/src/trace/model/span.d.ts +35 -0
  298. package/node_modules/@opencensus/core/build/src/trace/model/span.js +66 -0
  299. package/node_modules/@opencensus/core/build/src/trace/model/tracer.d.ts +112 -0
  300. package/node_modules/@opencensus/core/build/src/trace/model/tracer.js +241 -0
  301. package/node_modules/@opencensus/core/build/src/trace/model/types.d.ts +455 -0
  302. package/node_modules/@opencensus/core/build/src/trace/model/types.js +198 -0
  303. package/node_modules/@opencensus/core/build/src/trace/propagation/types.d.ts +36 -0
  304. package/node_modules/@opencensus/core/build/src/trace/propagation/types.js +18 -0
  305. package/node_modules/@opencensus/core/build/src/trace/sampler/sampler.d.ts +72 -0
  306. package/node_modules/@opencensus/core/build/src/trace/sampler/sampler.js +129 -0
  307. package/node_modules/@opencensus/core/build/src/trace/sampler/types.d.ts +29 -0
  308. package/node_modules/@opencensus/core/build/src/trace/sampler/types.js +18 -0
  309. package/node_modules/@opencensus/core/build/src/trace/types.d.ts +46 -0
  310. package/node_modules/@opencensus/core/build/src/trace/types.js +18 -0
  311. package/node_modules/@opencensus/core/node_modules/.bin/semver +12 -0
  312. package/node_modules/@opencensus/core/node_modules/.bin/semver.cmd +17 -0
  313. package/node_modules/@opencensus/core/node_modules/.bin/semver.ps1 +28 -0
  314. package/node_modules/@opencensus/core/node_modules/semver/CHANGELOG.md +39 -0
  315. package/node_modules/@opencensus/core/node_modules/semver/LICENSE +15 -0
  316. package/node_modules/@opencensus/core/node_modules/semver/README.md +412 -0
  317. package/node_modules/@opencensus/core/node_modules/semver/bin/semver +160 -0
  318. package/node_modules/@opencensus/core/node_modules/semver/package.json +28 -0
  319. package/node_modules/@opencensus/core/node_modules/semver/range.bnf +16 -0
  320. package/node_modules/@opencensus/core/node_modules/semver/semver.js +1483 -0
  321. package/node_modules/@opencensus/core/package.json +68 -0
  322. package/node_modules/@opencensus/propagation-b3/LICENSE +202 -0
  323. package/node_modules/@opencensus/propagation-b3/README.md +46 -0
  324. package/node_modules/@opencensus/propagation-b3/build/src/b3-format.d.ts +35 -0
  325. package/node_modules/@opencensus/propagation-b3/build/src/b3-format.js +77 -0
  326. package/node_modules/@opencensus/propagation-b3/build/src/index.d.ts +16 -0
  327. package/node_modules/@opencensus/propagation-b3/build/src/index.js +22 -0
  328. package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver +12 -0
  329. package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver.cmd +17 -0
  330. package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver.ps1 +28 -0
  331. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/LICENSE +202 -0
  332. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/README.md +96 -0
  333. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/console-logger.d.ts +51 -0
  334. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/console-logger.js +106 -0
  335. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/types.d.ts +29 -0
  336. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/types.js +18 -0
  337. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/validations.d.ts +31 -0
  338. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/validations.js +46 -0
  339. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/version.d.ts +1 -0
  340. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/version.js +24 -0
  341. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/console-exporter.d.ts +64 -0
  342. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/console-exporter.js +84 -0
  343. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.d.ts +44 -0
  344. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.js +104 -0
  345. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/types.d.ts +44 -0
  346. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/types.js +18 -0
  347. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/index.d.ts +37 -0
  348. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/index.js +45 -0
  349. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/clock.d.ts +43 -0
  350. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/clock.js +68 -0
  351. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls-ah.d.ts +5 -0
  352. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls-ah.js +128 -0
  353. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls.d.ts +28 -0
  354. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls.js +45 -0
  355. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/string-utils.d.ts +35 -0
  356. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/string-utils.js +49 -0
  357. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/util.d.ts +1 -0
  358. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/util.js +34 -0
  359. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/metric-producer.d.ts +27 -0
  360. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/metric-producer.js +25 -0
  361. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/types.d.ts +309 -0
  362. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/types.js +69 -0
  363. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.d.ts +95 -0
  364. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.js +151 -0
  365. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.d.ts +99 -0
  366. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.js +161 -0
  367. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/types.d.ts +45 -0
  368. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/types.js +18 -0
  369. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metric-registry.d.ts +79 -0
  370. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metric-registry.js +152 -0
  371. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metrics.d.ts +26 -0
  372. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metrics.js +34 -0
  373. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/utils.d.ts +30 -0
  374. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/utils.js +42 -0
  375. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/resource.d.ts +81 -0
  376. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/resource.js +160 -0
  377. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/types.d.ts +31 -0
  378. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/types.js +18 -0
  379. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.d.ts +49 -0
  380. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.js +90 -0
  381. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-producer.d.ts +34 -0
  382. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-producer.js +40 -0
  383. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-utils.d.ts +39 -0
  384. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-utils.js +84 -0
  385. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/recorder.d.ts +23 -0
  386. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/recorder.js +70 -0
  387. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/stats.d.ts +85 -0
  388. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/stats.js +145 -0
  389. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/types.d.ts +188 -0
  390. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/types.js +48 -0
  391. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/view.d.ts +118 -0
  392. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/view.js +201 -0
  393. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/config/types.d.ts +68 -0
  394. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/config/types.js +18 -0
  395. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.d.ts +73 -0
  396. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.js +110 -0
  397. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/types.d.ts +45 -0
  398. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/types.js +18 -0
  399. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/root-span.d.ts +38 -0
  400. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/root-span.js +108 -0
  401. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span-base.d.ts +114 -0
  402. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span-base.js +165 -0
  403. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span.d.ts +20 -0
  404. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span.js +65 -0
  405. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/tracer.d.ts +95 -0
  406. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/tracer.js +229 -0
  407. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/types.d.ts +245 -0
  408. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/types.js +18 -0
  409. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/propagation/types.d.ts +36 -0
  410. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/propagation/types.js +18 -0
  411. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/sampler.d.ts +56 -0
  412. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/sampler.js +94 -0
  413. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/types.d.ts +29 -0
  414. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/types.js +18 -0
  415. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/types.d.ts +46 -0
  416. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/types.js +18 -0
  417. package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/package.json +63 -0
  418. package/node_modules/@opencensus/propagation-b3/node_modules/semver/CHANGELOG.md +39 -0
  419. package/node_modules/@opencensus/propagation-b3/node_modules/semver/LICENSE +15 -0
  420. package/node_modules/@opencensus/propagation-b3/node_modules/semver/README.md +412 -0
  421. package/node_modules/@opencensus/propagation-b3/node_modules/semver/bin/semver +160 -0
  422. package/node_modules/@opencensus/propagation-b3/node_modules/semver/package.json +28 -0
  423. package/node_modules/@opencensus/propagation-b3/node_modules/semver/range.bnf +16 -0
  424. package/node_modules/@opencensus/propagation-b3/node_modules/semver/semver.js +1483 -0
  425. package/node_modules/@opencensus/propagation-b3/package.json +56 -0
  426. package/node_modules/@pm2/agent/.drone.jsonnet +104 -0
  427. package/node_modules/@pm2/agent/.mocharc.yml +12 -0
  428. package/node_modules/@pm2/agent/.vscode/launch.json +29 -0
  429. package/node_modules/@pm2/agent/LICENSE +661 -0
  430. package/node_modules/@pm2/agent/README.md +95 -0
  431. package/node_modules/@pm2/agent/config.js +30 -0
  432. package/node_modules/@pm2/agent/constants.js +98 -0
  433. package/node_modules/@pm2/agent/index.js +2 -0
  434. package/node_modules/@pm2/agent/node_modules/.bin/semver +12 -0
  435. package/node_modules/@pm2/agent/node_modules/.bin/semver.cmd +17 -0
  436. package/node_modules/@pm2/agent/node_modules/.bin/semver.ps1 +28 -0
  437. package/node_modules/@pm2/agent/node_modules/chalk/index.d.ts +411 -0
  438. package/node_modules/@pm2/agent/node_modules/chalk/license +9 -0
  439. package/node_modules/@pm2/agent/node_modules/chalk/package.json +63 -0
  440. package/node_modules/@pm2/agent/node_modules/chalk/readme.md +304 -0
  441. package/node_modules/@pm2/agent/node_modules/chalk/source/index.js +233 -0
  442. package/node_modules/@pm2/agent/node_modules/chalk/source/templates.js +134 -0
  443. package/node_modules/@pm2/agent/node_modules/chalk/source/util.js +39 -0
  444. package/node_modules/@pm2/agent/node_modules/semver/CHANGELOG.md +101 -0
  445. package/node_modules/@pm2/agent/node_modules/semver/LICENSE +15 -0
  446. package/node_modules/@pm2/agent/node_modules/semver/README.md +563 -0
  447. package/node_modules/@pm2/agent/node_modules/semver/bin/semver.js +173 -0
  448. package/node_modules/@pm2/agent/node_modules/semver/classes/comparator.js +139 -0
  449. package/node_modules/@pm2/agent/node_modules/semver/classes/index.js +5 -0
  450. package/node_modules/@pm2/agent/node_modules/semver/classes/range.js +453 -0
  451. package/node_modules/@pm2/agent/node_modules/semver/classes/semver.js +290 -0
  452. package/node_modules/@pm2/agent/node_modules/semver/functions/clean.js +6 -0
  453. package/node_modules/@pm2/agent/node_modules/semver/functions/cmp.js +48 -0
  454. package/node_modules/@pm2/agent/node_modules/semver/functions/coerce.js +51 -0
  455. package/node_modules/@pm2/agent/node_modules/semver/functions/compare-build.js +7 -0
  456. package/node_modules/@pm2/agent/node_modules/semver/functions/compare-loose.js +3 -0
  457. package/node_modules/@pm2/agent/node_modules/semver/functions/compare.js +5 -0
  458. package/node_modules/@pm2/agent/node_modules/semver/functions/diff.js +23 -0
  459. package/node_modules/@pm2/agent/node_modules/semver/functions/eq.js +3 -0
  460. package/node_modules/@pm2/agent/node_modules/semver/functions/gt.js +3 -0
  461. package/node_modules/@pm2/agent/node_modules/semver/functions/gte.js +3 -0
  462. package/node_modules/@pm2/agent/node_modules/semver/functions/inc.js +15 -0
  463. package/node_modules/@pm2/agent/node_modules/semver/functions/lt.js +3 -0
  464. package/node_modules/@pm2/agent/node_modules/semver/functions/lte.js +3 -0
  465. package/node_modules/@pm2/agent/node_modules/semver/functions/major.js +3 -0
  466. package/node_modules/@pm2/agent/node_modules/semver/functions/minor.js +3 -0
  467. package/node_modules/@pm2/agent/node_modules/semver/functions/neq.js +3 -0
  468. package/node_modules/@pm2/agent/node_modules/semver/functions/parse.js +37 -0
  469. package/node_modules/@pm2/agent/node_modules/semver/functions/patch.js +3 -0
  470. package/node_modules/@pm2/agent/node_modules/semver/functions/prerelease.js +6 -0
  471. package/node_modules/@pm2/agent/node_modules/semver/functions/rcompare.js +3 -0
  472. package/node_modules/@pm2/agent/node_modules/semver/functions/rsort.js +3 -0
  473. package/node_modules/@pm2/agent/node_modules/semver/functions/satisfies.js +10 -0
  474. package/node_modules/@pm2/agent/node_modules/semver/functions/sort.js +3 -0
  475. package/node_modules/@pm2/agent/node_modules/semver/functions/valid.js +6 -0
  476. package/node_modules/@pm2/agent/node_modules/semver/index.js +47 -0
  477. package/node_modules/@pm2/agent/node_modules/semver/internal/constants.js +17 -0
  478. package/node_modules/@pm2/agent/node_modules/semver/internal/debug.js +9 -0
  479. package/node_modules/@pm2/agent/node_modules/semver/internal/identifiers.js +23 -0
  480. package/node_modules/@pm2/agent/node_modules/semver/internal/re.js +179 -0
  481. package/node_modules/@pm2/agent/node_modules/semver/package.json +38 -0
  482. package/node_modules/@pm2/agent/node_modules/semver/preload.js +2 -0
  483. package/node_modules/@pm2/agent/node_modules/semver/range.bnf +16 -0
  484. package/node_modules/@pm2/agent/node_modules/semver/ranges/gtr.js +4 -0
  485. package/node_modules/@pm2/agent/node_modules/semver/ranges/intersects.js +7 -0
  486. package/node_modules/@pm2/agent/node_modules/semver/ranges/ltr.js +4 -0
  487. package/node_modules/@pm2/agent/node_modules/semver/ranges/max-satisfying.js +25 -0
  488. package/node_modules/@pm2/agent/node_modules/semver/ranges/min-satisfying.js +24 -0
  489. package/node_modules/@pm2/agent/node_modules/semver/ranges/min-version.js +57 -0
  490. package/node_modules/@pm2/agent/node_modules/semver/ranges/outside.js +80 -0
  491. package/node_modules/@pm2/agent/node_modules/semver/ranges/simplify.js +44 -0
  492. package/node_modules/@pm2/agent/node_modules/semver/ranges/to-comparators.js +8 -0
  493. package/node_modules/@pm2/agent/node_modules/semver/ranges/valid.js +11 -0
  494. package/node_modules/@pm2/agent/package.json +41 -0
  495. package/node_modules/@pm2/agent/src/InteractorClient.js +502 -0
  496. package/node_modules/@pm2/agent/src/InteractorDaemon.js +452 -0
  497. package/node_modules/@pm2/agent/src/PM2Client.js +112 -0
  498. package/node_modules/@pm2/agent/src/PM2Interface.js +180 -0
  499. package/node_modules/@pm2/agent/src/TransporterInterface.js +173 -0
  500. package/node_modules/@pm2/agent/src/Utility.js +395 -0
  501. package/node_modules/@pm2/agent/src/WatchDog.js +70 -0
  502. package/node_modules/@pm2/agent/src/push/DataRetriever.js +77 -0
  503. package/node_modules/@pm2/agent/src/push/PushInteractor.js +206 -0
  504. package/node_modules/@pm2/agent/src/push/TransactionAggregator.js +670 -0
  505. package/node_modules/@pm2/agent/src/reverse/ReverseInteractor.js +128 -0
  506. package/node_modules/@pm2/agent/src/transporters/Transporter.js +129 -0
  507. package/node_modules/@pm2/agent/src/transporters/WebsocketTransport.js +204 -0
  508. package/node_modules/@pm2/agent/src/utils/BinaryHeap.js +135 -0
  509. package/node_modules/@pm2/agent/src/utils/EDS.js +111 -0
  510. package/node_modules/@pm2/agent/src/utils/probes/Histogram.js +204 -0
  511. package/node_modules/@pm2/agent/src/utils/units.js +10 -0
  512. package/node_modules/@pm2/io/.drone.jsonnet +114 -0
  513. package/node_modules/@pm2/io/.mocharc.js +17 -0
  514. package/node_modules/@pm2/io/.vscode/settings.json +3 -0
  515. package/node_modules/@pm2/io/CHANGELOG.md +13 -0
  516. package/node_modules/@pm2/io/LICENSE.md +201 -0
  517. package/node_modules/@pm2/io/NOTES.md +73 -0
  518. package/node_modules/@pm2/io/README.md +574 -0
  519. package/node_modules/@pm2/io/build/main/census/config/default-config.d.ts +8 -0
  520. package/node_modules/@pm2/io/build/main/census/config/default-config.js +12 -0
  521. package/node_modules/@pm2/io/build/main/census/constants.d.ts +9 -0
  522. package/node_modules/@pm2/io/build/main/census/constants.js +12 -0
  523. package/node_modules/@pm2/io/build/main/census/exporter.d.ts +18 -0
  524. package/node_modules/@pm2/io/build/main/census/exporter.js +103 -0
  525. package/node_modules/@pm2/io/build/main/census/instrumentation/ext-types.d.ts +12 -0
  526. package/node_modules/@pm2/io/build/main/census/instrumentation/ext-types.js +1 -0
  527. package/node_modules/@pm2/io/build/main/census/instrumentation/plugin-loader.d.ts +14 -0
  528. package/node_modules/@pm2/io/build/main/census/instrumentation/plugin-loader.js +94 -0
  529. package/node_modules/@pm2/io/build/main/census/plugins/express.d.ts +13 -0
  530. package/node_modules/@pm2/io/build/main/census/plugins/express.js +120 -0
  531. package/node_modules/@pm2/io/build/main/census/plugins/http.d.ts +46 -0
  532. package/node_modules/@pm2/io/build/main/census/plugins/http.js +325 -0
  533. package/node_modules/@pm2/io/build/main/census/plugins/http2.d.ts +17 -0
  534. package/node_modules/@pm2/io/build/main/census/plugins/http2.js +163 -0
  535. package/node_modules/@pm2/io/build/main/census/plugins/https.d.ts +9 -0
  536. package/node_modules/@pm2/io/build/main/census/plugins/https.js +61 -0
  537. package/node_modules/@pm2/io/build/main/census/plugins/ioredis.d.ts +23 -0
  538. package/node_modules/@pm2/io/build/main/census/plugins/ioredis.js +89 -0
  539. package/node_modules/@pm2/io/build/main/census/plugins/mongodb.d.ts +21 -0
  540. package/node_modules/@pm2/io/build/main/census/plugins/mongodb.js +128 -0
  541. package/node_modules/@pm2/io/build/main/census/plugins/mysql.d.ts +21 -0
  542. package/node_modules/@pm2/io/build/main/census/plugins/mysql.js +82 -0
  543. package/node_modules/@pm2/io/build/main/census/plugins/mysql2.d.ts +21 -0
  544. package/node_modules/@pm2/io/build/main/census/plugins/mysql2.js +82 -0
  545. package/node_modules/@pm2/io/build/main/census/plugins/net.d.ts +8 -0
  546. package/node_modules/@pm2/io/build/main/census/plugins/net.js +79 -0
  547. package/node_modules/@pm2/io/build/main/census/plugins/pg.d.ts +23 -0
  548. package/node_modules/@pm2/io/build/main/census/plugins/pg.js +148 -0
  549. package/node_modules/@pm2/io/build/main/census/plugins/redis.d.ts +19 -0
  550. package/node_modules/@pm2/io/build/main/census/plugins/redis.js +114 -0
  551. package/node_modules/@pm2/io/build/main/census/plugins/vue.d.ts +12 -0
  552. package/node_modules/@pm2/io/build/main/census/plugins/vue.js +78 -0
  553. package/node_modules/@pm2/io/build/main/census/tracer.d.ts +19 -0
  554. package/node_modules/@pm2/io/build/main/census/tracer.js +67 -0
  555. package/node_modules/@pm2/io/build/main/configuration.d.ts +6 -0
  556. package/node_modules/@pm2/io/build/main/configuration.js +125 -0
  557. package/node_modules/@pm2/io/build/main/constants.d.ts +5 -0
  558. package/node_modules/@pm2/io/build/main/constants.js +15 -0
  559. package/node_modules/@pm2/io/build/main/featureManager.d.ts +14 -0
  560. package/node_modules/@pm2/io/build/main/featureManager.js +105 -0
  561. package/node_modules/@pm2/io/build/main/features/dependencies.d.ts +7 -0
  562. package/node_modules/@pm2/io/build/main/features/dependencies.js +45 -0
  563. package/node_modules/@pm2/io/build/main/features/entrypoint.d.ts +11 -0
  564. package/node_modules/@pm2/io/build/main/features/entrypoint.js +52 -0
  565. package/node_modules/@pm2/io/build/main/features/events.d.ts +8 -0
  566. package/node_modules/@pm2/io/build/main/features/events.js +44 -0
  567. package/node_modules/@pm2/io/build/main/features/metrics.d.ts +24 -0
  568. package/node_modules/@pm2/io/build/main/features/metrics.js +89 -0
  569. package/node_modules/@pm2/io/build/main/features/notify.d.ts +23 -0
  570. package/node_modules/@pm2/io/build/main/features/notify.js +224 -0
  571. package/node_modules/@pm2/io/build/main/features/profiling.d.ts +18 -0
  572. package/node_modules/@pm2/io/build/main/features/profiling.js +68 -0
  573. package/node_modules/@pm2/io/build/main/features/tracing.d.ts +25 -0
  574. package/node_modules/@pm2/io/build/main/features/tracing.js +149 -0
  575. package/node_modules/@pm2/io/build/main/index.d.ts +3 -0
  576. package/node_modules/@pm2/io/build/main/index.js +8 -0
  577. package/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.d.ts +17 -0
  578. package/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.js +128 -0
  579. package/node_modules/@pm2/io/build/main/metrics/httpMetrics.d.ts +18 -0
  580. package/node_modules/@pm2/io/build/main/metrics/httpMetrics.js +178 -0
  581. package/node_modules/@pm2/io/build/main/metrics/network.d.ts +15 -0
  582. package/node_modules/@pm2/io/build/main/metrics/network.js +121 -0
  583. package/node_modules/@pm2/io/build/main/metrics/runtime.d.ts +16 -0
  584. package/node_modules/@pm2/io/build/main/metrics/runtime.js +153 -0
  585. package/node_modules/@pm2/io/build/main/metrics/v8.d.ts +23 -0
  586. package/node_modules/@pm2/io/build/main/metrics/v8.js +100 -0
  587. package/node_modules/@pm2/io/build/main/pmx.d.ts +54 -0
  588. package/node_modules/@pm2/io/build/main/pmx.js +283 -0
  589. package/node_modules/@pm2/io/build/main/profilers/addonProfiler.d.ts +16 -0
  590. package/node_modules/@pm2/io/build/main/profilers/addonProfiler.js +172 -0
  591. package/node_modules/@pm2/io/build/main/profilers/inspectorProfiler.d.ts +18 -0
  592. package/node_modules/@pm2/io/build/main/profilers/inspectorProfiler.js +268 -0
  593. package/node_modules/@pm2/io/build/main/serviceManager.d.ts +7 -0
  594. package/node_modules/@pm2/io/build/main/serviceManager.js +19 -0
  595. package/node_modules/@pm2/io/build/main/services/actions.d.ts +20 -0
  596. package/node_modules/@pm2/io/build/main/services/actions.js +146 -0
  597. package/node_modules/@pm2/io/build/main/services/inspector.d.ts +8 -0
  598. package/node_modules/@pm2/io/build/main/services/inspector.js +42 -0
  599. package/node_modules/@pm2/io/build/main/services/metrics.d.ts +63 -0
  600. package/node_modules/@pm2/io/build/main/services/metrics.js +186 -0
  601. package/node_modules/@pm2/io/build/main/services/runtimeStats.d.ts +10 -0
  602. package/node_modules/@pm2/io/build/main/services/runtimeStats.js +49 -0
  603. package/node_modules/@pm2/io/build/main/services/transport.d.ts +22 -0
  604. package/node_modules/@pm2/io/build/main/services/transport.js +13 -0
  605. package/node_modules/@pm2/io/build/main/transports/IPCTransport.d.ts +17 -0
  606. package/node_modules/@pm2/io/build/main/transports/IPCTransport.js +102 -0
  607. package/node_modules/@pm2/io/build/main/transports/WebsocketTransport.d.ts +0 -0
  608. package/node_modules/@pm2/io/build/main/transports/WebsocketTransport.js +1 -0
  609. package/node_modules/@pm2/io/build/main/utils/BinaryHeap.d.ts +16 -0
  610. package/node_modules/@pm2/io/build/main/utils/BinaryHeap.js +109 -0
  611. package/node_modules/@pm2/io/build/main/utils/EDS.d.ts +21 -0
  612. package/node_modules/@pm2/io/build/main/utils/EDS.js +93 -0
  613. package/node_modules/@pm2/io/build/main/utils/EWMA.d.ts +12 -0
  614. package/node_modules/@pm2/io/build/main/utils/EWMA.js +26 -0
  615. package/node_modules/@pm2/io/build/main/utils/autocast.d.ts +13 -0
  616. package/node_modules/@pm2/io/build/main/utils/autocast.js +49 -0
  617. package/node_modules/@pm2/io/build/main/utils/metrics/counter.d.ts +10 -0
  618. package/node_modules/@pm2/io/build/main/utils/metrics/counter.js +28 -0
  619. package/node_modules/@pm2/io/build/main/utils/metrics/gauge.d.ts +7 -0
  620. package/node_modules/@pm2/io/build/main/utils/metrics/gauge.js +20 -0
  621. package/node_modules/@pm2/io/build/main/utils/metrics/histogram.d.ts +43 -0
  622. package/node_modules/@pm2/io/build/main/utils/metrics/histogram.js +160 -0
  623. package/node_modules/@pm2/io/build/main/utils/metrics/meter.d.ts +12 -0
  624. package/node_modules/@pm2/io/build/main/utils/metrics/meter.js +36 -0
  625. package/node_modules/@pm2/io/build/main/utils/miscellaneous.d.ts +4 -0
  626. package/node_modules/@pm2/io/build/main/utils/miscellaneous.js +17 -0
  627. package/node_modules/@pm2/io/build/main/utils/module.d.ts +5 -0
  628. package/node_modules/@pm2/io/build/main/utils/module.js +53 -0
  629. package/node_modules/@pm2/io/build/main/utils/stackParser.d.ts +37 -0
  630. package/node_modules/@pm2/io/build/main/utils/stackParser.js +125 -0
  631. package/node_modules/@pm2/io/build/main/utils/transactionAggregator.d.ts +74 -0
  632. package/node_modules/@pm2/io/build/main/utils/transactionAggregator.js +317 -0
  633. package/node_modules/@pm2/io/build/main/utils/units.d.ts +10 -0
  634. package/node_modules/@pm2/io/build/main/utils/units.js +16 -0
  635. package/node_modules/@pm2/io/docker-compose.yml +27 -0
  636. package/node_modules/@pm2/io/docs/README.md +106 -0
  637. package/node_modules/@pm2/io/node_modules/.bin/semver +12 -0
  638. package/node_modules/@pm2/io/node_modules/.bin/semver.cmd +17 -0
  639. package/node_modules/@pm2/io/node_modules/.bin/semver.ps1 +28 -0
  640. package/node_modules/@pm2/io/node_modules/async/CHANGELOG.md +278 -0
  641. package/node_modules/@pm2/io/node_modules/async/LICENSE +19 -0
  642. package/node_modules/@pm2/io/node_modules/async/README.md +56 -0
  643. package/node_modules/@pm2/io/node_modules/async/all.js +50 -0
  644. package/node_modules/@pm2/io/node_modules/async/allLimit.js +42 -0
  645. package/node_modules/@pm2/io/node_modules/async/allSeries.js +37 -0
  646. package/node_modules/@pm2/io/node_modules/async/any.js +52 -0
  647. package/node_modules/@pm2/io/node_modules/async/anyLimit.js +43 -0
  648. package/node_modules/@pm2/io/node_modules/async/anySeries.js +38 -0
  649. package/node_modules/@pm2/io/node_modules/async/apply.js +68 -0
  650. package/node_modules/@pm2/io/node_modules/async/applyEach.js +51 -0
  651. package/node_modules/@pm2/io/node_modules/async/applyEachSeries.js +37 -0
  652. package/node_modules/@pm2/io/node_modules/async/asyncify.js +110 -0
  653. package/node_modules/@pm2/io/node_modules/async/auto.js +289 -0
  654. package/node_modules/@pm2/io/node_modules/async/autoInject.js +170 -0
  655. package/node_modules/@pm2/io/node_modules/async/bower.json +17 -0
  656. package/node_modules/@pm2/io/node_modules/async/cargo.js +94 -0
  657. package/node_modules/@pm2/io/node_modules/async/compose.js +58 -0
  658. package/node_modules/@pm2/io/node_modules/async/concat.js +43 -0
  659. package/node_modules/@pm2/io/node_modules/async/concatLimit.js +65 -0
  660. package/node_modules/@pm2/io/node_modules/async/concatSeries.js +36 -0
  661. package/node_modules/@pm2/io/node_modules/async/constant.js +66 -0
  662. package/node_modules/@pm2/io/node_modules/async/detect.js +61 -0
  663. package/node_modules/@pm2/io/node_modules/async/detectLimit.js +48 -0
  664. package/node_modules/@pm2/io/node_modules/async/detectSeries.js +38 -0
  665. package/node_modules/@pm2/io/node_modules/async/dir.js +43 -0
  666. package/node_modules/@pm2/io/node_modules/async/doDuring.js +66 -0
  667. package/node_modules/@pm2/io/node_modules/async/doUntil.js +39 -0
  668. package/node_modules/@pm2/io/node_modules/async/doWhilst.js +59 -0
  669. package/node_modules/@pm2/io/node_modules/async/during.js +76 -0
  670. package/node_modules/@pm2/io/node_modules/async/each.js +82 -0
  671. package/node_modules/@pm2/io/node_modules/async/eachLimit.js +45 -0
  672. package/node_modules/@pm2/io/node_modules/async/eachOf.js +111 -0
  673. package/node_modules/@pm2/io/node_modules/async/eachOfLimit.js +41 -0
  674. package/node_modules/@pm2/io/node_modules/async/eachOfSeries.js +35 -0
  675. package/node_modules/@pm2/io/node_modules/async/eachSeries.js +37 -0
  676. package/node_modules/@pm2/io/node_modules/async/ensureAsync.js +73 -0
  677. package/node_modules/@pm2/io/node_modules/async/every.js +50 -0
  678. package/node_modules/@pm2/io/node_modules/async/everyLimit.js +42 -0
  679. package/node_modules/@pm2/io/node_modules/async/everySeries.js +37 -0
  680. package/node_modules/@pm2/io/node_modules/async/filter.js +45 -0
  681. package/node_modules/@pm2/io/node_modules/async/filterLimit.js +37 -0
  682. package/node_modules/@pm2/io/node_modules/async/filterSeries.js +35 -0
  683. package/node_modules/@pm2/io/node_modules/async/find.js +61 -0
  684. package/node_modules/@pm2/io/node_modules/async/findLimit.js +48 -0
  685. package/node_modules/@pm2/io/node_modules/async/findSeries.js +38 -0
  686. package/node_modules/@pm2/io/node_modules/async/foldl.js +78 -0
  687. package/node_modules/@pm2/io/node_modules/async/foldr.js +44 -0
  688. package/node_modules/@pm2/io/node_modules/async/forEach.js +82 -0
  689. package/node_modules/@pm2/io/node_modules/async/forEachLimit.js +45 -0
  690. package/node_modules/@pm2/io/node_modules/async/forEachOf.js +111 -0
  691. package/node_modules/@pm2/io/node_modules/async/forEachOfLimit.js +41 -0
  692. package/node_modules/@pm2/io/node_modules/async/forEachOfSeries.js +35 -0
  693. package/node_modules/@pm2/io/node_modules/async/forEachSeries.js +37 -0
  694. package/node_modules/@pm2/io/node_modules/async/forever.js +65 -0
  695. package/node_modules/@pm2/io/node_modules/async/groupBy.js +54 -0
  696. package/node_modules/@pm2/io/node_modules/async/groupByLimit.js +71 -0
  697. package/node_modules/@pm2/io/node_modules/async/groupBySeries.js +37 -0
  698. package/node_modules/@pm2/io/node_modules/async/index.js +582 -0
  699. package/node_modules/@pm2/io/node_modules/async/inject.js +78 -0
  700. package/node_modules/@pm2/io/node_modules/async/internal/DoublyLinkedList.js +88 -0
  701. package/node_modules/@pm2/io/node_modules/async/internal/applyEach.js +38 -0
  702. package/node_modules/@pm2/io/node_modules/async/internal/breakLoop.js +9 -0
  703. package/node_modules/@pm2/io/node_modules/async/internal/consoleFunc.js +42 -0
  704. package/node_modules/@pm2/io/node_modules/async/internal/createTester.js +44 -0
  705. package/node_modules/@pm2/io/node_modules/async/internal/doLimit.js +12 -0
  706. package/node_modules/@pm2/io/node_modules/async/internal/doParallel.js +23 -0
  707. package/node_modules/@pm2/io/node_modules/async/internal/doParallelLimit.js +23 -0
  708. package/node_modules/@pm2/io/node_modules/async/internal/eachOfLimit.js +74 -0
  709. package/node_modules/@pm2/io/node_modules/async/internal/filter.js +75 -0
  710. package/node_modules/@pm2/io/node_modules/async/internal/findGetResult.js +10 -0
  711. package/node_modules/@pm2/io/node_modules/async/internal/getIterator.js +13 -0
  712. package/node_modules/@pm2/io/node_modules/async/internal/initialParams.js +21 -0
  713. package/node_modules/@pm2/io/node_modules/async/internal/iterator.js +61 -0
  714. package/node_modules/@pm2/io/node_modules/async/internal/map.js +35 -0
  715. package/node_modules/@pm2/io/node_modules/async/internal/notId.js +10 -0
  716. package/node_modules/@pm2/io/node_modules/async/internal/once.js +15 -0
  717. package/node_modules/@pm2/io/node_modules/async/internal/onlyOnce.js +15 -0
  718. package/node_modules/@pm2/io/node_modules/async/internal/parallel.js +42 -0
  719. package/node_modules/@pm2/io/node_modules/async/internal/queue.js +204 -0
  720. package/node_modules/@pm2/io/node_modules/async/internal/reject.js +21 -0
  721. package/node_modules/@pm2/io/node_modules/async/internal/setImmediate.js +42 -0
  722. package/node_modules/@pm2/io/node_modules/async/internal/slice.js +16 -0
  723. package/node_modules/@pm2/io/node_modules/async/internal/withoutIndex.js +12 -0
  724. package/node_modules/@pm2/io/node_modules/async/internal/wrapAsync.js +25 -0
  725. package/node_modules/@pm2/io/node_modules/async/log.js +41 -0
  726. package/node_modules/@pm2/io/node_modules/async/map.js +54 -0
  727. package/node_modules/@pm2/io/node_modules/async/mapLimit.js +37 -0
  728. package/node_modules/@pm2/io/node_modules/async/mapSeries.js +36 -0
  729. package/node_modules/@pm2/io/node_modules/async/mapValues.js +63 -0
  730. package/node_modules/@pm2/io/node_modules/async/mapValuesLimit.js +61 -0
  731. package/node_modules/@pm2/io/node_modules/async/mapValuesSeries.js +37 -0
  732. package/node_modules/@pm2/io/node_modules/async/memoize.js +101 -0
  733. package/node_modules/@pm2/io/node_modules/async/nextTick.js +51 -0
  734. package/node_modules/@pm2/io/node_modules/async/package.json +80 -0
  735. package/node_modules/@pm2/io/node_modules/async/parallel.js +90 -0
  736. package/node_modules/@pm2/io/node_modules/async/parallelLimit.js +40 -0
  737. package/node_modules/@pm2/io/node_modules/async/priorityQueue.js +98 -0
  738. package/node_modules/@pm2/io/node_modules/async/queue.js +130 -0
  739. package/node_modules/@pm2/io/node_modules/async/race.js +70 -0
  740. package/node_modules/@pm2/io/node_modules/async/reduce.js +78 -0
  741. package/node_modules/@pm2/io/node_modules/async/reduceRight.js +44 -0
  742. package/node_modules/@pm2/io/node_modules/async/reflect.js +81 -0
  743. package/node_modules/@pm2/io/node_modules/async/reflectAll.js +105 -0
  744. package/node_modules/@pm2/io/node_modules/async/reject.js +45 -0
  745. package/node_modules/@pm2/io/node_modules/async/rejectLimit.js +37 -0
  746. package/node_modules/@pm2/io/node_modules/async/rejectSeries.js +35 -0
  747. package/node_modules/@pm2/io/node_modules/async/retry.js +156 -0
  748. package/node_modules/@pm2/io/node_modules/async/retryable.js +65 -0
  749. package/node_modules/@pm2/io/node_modules/async/select.js +45 -0
  750. package/node_modules/@pm2/io/node_modules/async/selectLimit.js +37 -0
  751. package/node_modules/@pm2/io/node_modules/async/selectSeries.js +35 -0
  752. package/node_modules/@pm2/io/node_modules/async/seq.js +91 -0
  753. package/node_modules/@pm2/io/node_modules/async/series.js +85 -0
  754. package/node_modules/@pm2/io/node_modules/async/setImmediate.js +45 -0
  755. package/node_modules/@pm2/io/node_modules/async/some.js +52 -0
  756. package/node_modules/@pm2/io/node_modules/async/someLimit.js +43 -0
  757. package/node_modules/@pm2/io/node_modules/async/someSeries.js +38 -0
  758. package/node_modules/@pm2/io/node_modules/async/sortBy.js +91 -0
  759. package/node_modules/@pm2/io/node_modules/async/timeout.js +89 -0
  760. package/node_modules/@pm2/io/node_modules/async/times.js +50 -0
  761. package/node_modules/@pm2/io/node_modules/async/timesLimit.js +42 -0
  762. package/node_modules/@pm2/io/node_modules/async/timesSeries.js +32 -0
  763. package/node_modules/@pm2/io/node_modules/async/transform.js +87 -0
  764. package/node_modules/@pm2/io/node_modules/async/tryEach.js +81 -0
  765. package/node_modules/@pm2/io/node_modules/async/unmemoize.js +25 -0
  766. package/node_modules/@pm2/io/node_modules/async/until.js +41 -0
  767. package/node_modules/@pm2/io/node_modules/async/waterfall.js +113 -0
  768. package/node_modules/@pm2/io/node_modules/async/whilst.js +72 -0
  769. package/node_modules/@pm2/io/node_modules/async/wrapSync.js +110 -0
  770. package/node_modules/@pm2/io/node_modules/eventemitter2/CHANGELOG.md +122 -0
  771. package/node_modules/@pm2/io/node_modules/eventemitter2/LICENSE.txt +21 -0
  772. package/node_modules/@pm2/io/node_modules/eventemitter2/README.md +809 -0
  773. package/node_modules/@pm2/io/node_modules/eventemitter2/eventemitter2.d.ts +150 -0
  774. package/node_modules/@pm2/io/node_modules/eventemitter2/index.js +1 -0
  775. package/node_modules/@pm2/io/node_modules/eventemitter2/lib/eventemitter2.js +1629 -0
  776. package/node_modules/@pm2/io/node_modules/eventemitter2/package.json +89 -0
  777. package/node_modules/@pm2/io/node_modules/semver/CHANGELOG.md +70 -0
  778. package/node_modules/@pm2/io/node_modules/semver/LICENSE +15 -0
  779. package/node_modules/@pm2/io/node_modules/semver/README.md +443 -0
  780. package/node_modules/@pm2/io/node_modules/semver/bin/semver.js +174 -0
  781. package/node_modules/@pm2/io/node_modules/semver/package.json +28 -0
  782. package/node_modules/@pm2/io/node_modules/semver/range.bnf +16 -0
  783. package/node_modules/@pm2/io/node_modules/semver/semver.js +1596 -0
  784. package/node_modules/@pm2/io/package.json +97 -0
  785. package/node_modules/@pm2/io/pres/io-black.png +0 -0
  786. package/node_modules/@pm2/io/pres/io-white.png +0 -0
  787. package/node_modules/@pm2/io/test.sh +67 -0
  788. package/node_modules/@pm2/js-api/.drone.jsonnet +100 -0
  789. package/node_modules/@pm2/js-api/LICENSE +201 -0
  790. package/node_modules/@pm2/js-api/README.md +375 -0
  791. package/node_modules/@pm2/js-api/constants.js +21 -0
  792. package/node_modules/@pm2/js-api/index.js +1 -0
  793. package/node_modules/@pm2/js-api/node_modules/async/CHANGELOG.md +278 -0
  794. package/node_modules/@pm2/js-api/node_modules/async/LICENSE +19 -0
  795. package/node_modules/@pm2/js-api/node_modules/async/README.md +56 -0
  796. package/node_modules/@pm2/js-api/node_modules/async/all.js +50 -0
  797. package/node_modules/@pm2/js-api/node_modules/async/allLimit.js +42 -0
  798. package/node_modules/@pm2/js-api/node_modules/async/allSeries.js +37 -0
  799. package/node_modules/@pm2/js-api/node_modules/async/any.js +52 -0
  800. package/node_modules/@pm2/js-api/node_modules/async/anyLimit.js +43 -0
  801. package/node_modules/@pm2/js-api/node_modules/async/anySeries.js +38 -0
  802. package/node_modules/@pm2/js-api/node_modules/async/apply.js +68 -0
  803. package/node_modules/@pm2/js-api/node_modules/async/applyEach.js +51 -0
  804. package/node_modules/@pm2/js-api/node_modules/async/applyEachSeries.js +37 -0
  805. package/node_modules/@pm2/js-api/node_modules/async/asyncify.js +110 -0
  806. package/node_modules/@pm2/js-api/node_modules/async/auto.js +289 -0
  807. package/node_modules/@pm2/js-api/node_modules/async/autoInject.js +170 -0
  808. package/node_modules/@pm2/js-api/node_modules/async/bower.json +17 -0
  809. package/node_modules/@pm2/js-api/node_modules/async/cargo.js +94 -0
  810. package/node_modules/@pm2/js-api/node_modules/async/compose.js +58 -0
  811. package/node_modules/@pm2/js-api/node_modules/async/concat.js +43 -0
  812. package/node_modules/@pm2/js-api/node_modules/async/concatLimit.js +65 -0
  813. package/node_modules/@pm2/js-api/node_modules/async/concatSeries.js +36 -0
  814. package/node_modules/@pm2/js-api/node_modules/async/constant.js +66 -0
  815. package/node_modules/@pm2/js-api/node_modules/async/detect.js +61 -0
  816. package/node_modules/@pm2/js-api/node_modules/async/detectLimit.js +48 -0
  817. package/node_modules/@pm2/js-api/node_modules/async/detectSeries.js +38 -0
  818. package/node_modules/@pm2/js-api/node_modules/async/dir.js +43 -0
  819. package/node_modules/@pm2/js-api/node_modules/async/doDuring.js +66 -0
  820. package/node_modules/@pm2/js-api/node_modules/async/doUntil.js +39 -0
  821. package/node_modules/@pm2/js-api/node_modules/async/doWhilst.js +59 -0
  822. package/node_modules/@pm2/js-api/node_modules/async/during.js +76 -0
  823. package/node_modules/@pm2/js-api/node_modules/async/each.js +82 -0
  824. package/node_modules/@pm2/js-api/node_modules/async/eachLimit.js +45 -0
  825. package/node_modules/@pm2/js-api/node_modules/async/eachOf.js +111 -0
  826. package/node_modules/@pm2/js-api/node_modules/async/eachOfLimit.js +41 -0
  827. package/node_modules/@pm2/js-api/node_modules/async/eachOfSeries.js +35 -0
  828. package/node_modules/@pm2/js-api/node_modules/async/eachSeries.js +37 -0
  829. package/node_modules/@pm2/js-api/node_modules/async/ensureAsync.js +73 -0
  830. package/node_modules/@pm2/js-api/node_modules/async/every.js +50 -0
  831. package/node_modules/@pm2/js-api/node_modules/async/everyLimit.js +42 -0
  832. package/node_modules/@pm2/js-api/node_modules/async/everySeries.js +37 -0
  833. package/node_modules/@pm2/js-api/node_modules/async/filter.js +45 -0
  834. package/node_modules/@pm2/js-api/node_modules/async/filterLimit.js +37 -0
  835. package/node_modules/@pm2/js-api/node_modules/async/filterSeries.js +35 -0
  836. package/node_modules/@pm2/js-api/node_modules/async/find.js +61 -0
  837. package/node_modules/@pm2/js-api/node_modules/async/findLimit.js +48 -0
  838. package/node_modules/@pm2/js-api/node_modules/async/findSeries.js +38 -0
  839. package/node_modules/@pm2/js-api/node_modules/async/foldl.js +78 -0
  840. package/node_modules/@pm2/js-api/node_modules/async/foldr.js +44 -0
  841. package/node_modules/@pm2/js-api/node_modules/async/forEach.js +82 -0
  842. package/node_modules/@pm2/js-api/node_modules/async/forEachLimit.js +45 -0
  843. package/node_modules/@pm2/js-api/node_modules/async/forEachOf.js +111 -0
  844. package/node_modules/@pm2/js-api/node_modules/async/forEachOfLimit.js +41 -0
  845. package/node_modules/@pm2/js-api/node_modules/async/forEachOfSeries.js +35 -0
  846. package/node_modules/@pm2/js-api/node_modules/async/forEachSeries.js +37 -0
  847. package/node_modules/@pm2/js-api/node_modules/async/forever.js +65 -0
  848. package/node_modules/@pm2/js-api/node_modules/async/groupBy.js +54 -0
  849. package/node_modules/@pm2/js-api/node_modules/async/groupByLimit.js +71 -0
  850. package/node_modules/@pm2/js-api/node_modules/async/groupBySeries.js +37 -0
  851. package/node_modules/@pm2/js-api/node_modules/async/index.js +582 -0
  852. package/node_modules/@pm2/js-api/node_modules/async/inject.js +78 -0
  853. package/node_modules/@pm2/js-api/node_modules/async/internal/DoublyLinkedList.js +88 -0
  854. package/node_modules/@pm2/js-api/node_modules/async/internal/applyEach.js +38 -0
  855. package/node_modules/@pm2/js-api/node_modules/async/internal/breakLoop.js +9 -0
  856. package/node_modules/@pm2/js-api/node_modules/async/internal/consoleFunc.js +42 -0
  857. package/node_modules/@pm2/js-api/node_modules/async/internal/createTester.js +44 -0
  858. package/node_modules/@pm2/js-api/node_modules/async/internal/doLimit.js +12 -0
  859. package/node_modules/@pm2/js-api/node_modules/async/internal/doParallel.js +23 -0
  860. package/node_modules/@pm2/js-api/node_modules/async/internal/doParallelLimit.js +23 -0
  861. package/node_modules/@pm2/js-api/node_modules/async/internal/eachOfLimit.js +74 -0
  862. package/node_modules/@pm2/js-api/node_modules/async/internal/filter.js +75 -0
  863. package/node_modules/@pm2/js-api/node_modules/async/internal/findGetResult.js +10 -0
  864. package/node_modules/@pm2/js-api/node_modules/async/internal/getIterator.js +13 -0
  865. package/node_modules/@pm2/js-api/node_modules/async/internal/initialParams.js +21 -0
  866. package/node_modules/@pm2/js-api/node_modules/async/internal/iterator.js +61 -0
  867. package/node_modules/@pm2/js-api/node_modules/async/internal/map.js +35 -0
  868. package/node_modules/@pm2/js-api/node_modules/async/internal/notId.js +10 -0
  869. package/node_modules/@pm2/js-api/node_modules/async/internal/once.js +15 -0
  870. package/node_modules/@pm2/js-api/node_modules/async/internal/onlyOnce.js +15 -0
  871. package/node_modules/@pm2/js-api/node_modules/async/internal/parallel.js +42 -0
  872. package/node_modules/@pm2/js-api/node_modules/async/internal/queue.js +204 -0
  873. package/node_modules/@pm2/js-api/node_modules/async/internal/reject.js +21 -0
  874. package/node_modules/@pm2/js-api/node_modules/async/internal/setImmediate.js +42 -0
  875. package/node_modules/@pm2/js-api/node_modules/async/internal/slice.js +16 -0
  876. package/node_modules/@pm2/js-api/node_modules/async/internal/withoutIndex.js +12 -0
  877. package/node_modules/@pm2/js-api/node_modules/async/internal/wrapAsync.js +25 -0
  878. package/node_modules/@pm2/js-api/node_modules/async/log.js +41 -0
  879. package/node_modules/@pm2/js-api/node_modules/async/map.js +54 -0
  880. package/node_modules/@pm2/js-api/node_modules/async/mapLimit.js +37 -0
  881. package/node_modules/@pm2/js-api/node_modules/async/mapSeries.js +36 -0
  882. package/node_modules/@pm2/js-api/node_modules/async/mapValues.js +63 -0
  883. package/node_modules/@pm2/js-api/node_modules/async/mapValuesLimit.js +61 -0
  884. package/node_modules/@pm2/js-api/node_modules/async/mapValuesSeries.js +37 -0
  885. package/node_modules/@pm2/js-api/node_modules/async/memoize.js +101 -0
  886. package/node_modules/@pm2/js-api/node_modules/async/nextTick.js +51 -0
  887. package/node_modules/@pm2/js-api/node_modules/async/package.json +80 -0
  888. package/node_modules/@pm2/js-api/node_modules/async/parallel.js +90 -0
  889. package/node_modules/@pm2/js-api/node_modules/async/parallelLimit.js +40 -0
  890. package/node_modules/@pm2/js-api/node_modules/async/priorityQueue.js +98 -0
  891. package/node_modules/@pm2/js-api/node_modules/async/queue.js +130 -0
  892. package/node_modules/@pm2/js-api/node_modules/async/race.js +70 -0
  893. package/node_modules/@pm2/js-api/node_modules/async/reduce.js +78 -0
  894. package/node_modules/@pm2/js-api/node_modules/async/reduceRight.js +44 -0
  895. package/node_modules/@pm2/js-api/node_modules/async/reflect.js +81 -0
  896. package/node_modules/@pm2/js-api/node_modules/async/reflectAll.js +105 -0
  897. package/node_modules/@pm2/js-api/node_modules/async/reject.js +45 -0
  898. package/node_modules/@pm2/js-api/node_modules/async/rejectLimit.js +37 -0
  899. package/node_modules/@pm2/js-api/node_modules/async/rejectSeries.js +35 -0
  900. package/node_modules/@pm2/js-api/node_modules/async/retry.js +156 -0
  901. package/node_modules/@pm2/js-api/node_modules/async/retryable.js +65 -0
  902. package/node_modules/@pm2/js-api/node_modules/async/select.js +45 -0
  903. package/node_modules/@pm2/js-api/node_modules/async/selectLimit.js +37 -0
  904. package/node_modules/@pm2/js-api/node_modules/async/selectSeries.js +35 -0
  905. package/node_modules/@pm2/js-api/node_modules/async/seq.js +91 -0
  906. package/node_modules/@pm2/js-api/node_modules/async/series.js +85 -0
  907. package/node_modules/@pm2/js-api/node_modules/async/setImmediate.js +45 -0
  908. package/node_modules/@pm2/js-api/node_modules/async/some.js +52 -0
  909. package/node_modules/@pm2/js-api/node_modules/async/someLimit.js +43 -0
  910. package/node_modules/@pm2/js-api/node_modules/async/someSeries.js +38 -0
  911. package/node_modules/@pm2/js-api/node_modules/async/sortBy.js +91 -0
  912. package/node_modules/@pm2/js-api/node_modules/async/timeout.js +89 -0
  913. package/node_modules/@pm2/js-api/node_modules/async/times.js +50 -0
  914. package/node_modules/@pm2/js-api/node_modules/async/timesLimit.js +42 -0
  915. package/node_modules/@pm2/js-api/node_modules/async/timesSeries.js +32 -0
  916. package/node_modules/@pm2/js-api/node_modules/async/transform.js +87 -0
  917. package/node_modules/@pm2/js-api/node_modules/async/tryEach.js +81 -0
  918. package/node_modules/@pm2/js-api/node_modules/async/unmemoize.js +25 -0
  919. package/node_modules/@pm2/js-api/node_modules/async/until.js +41 -0
  920. package/node_modules/@pm2/js-api/node_modules/async/waterfall.js +113 -0
  921. package/node_modules/@pm2/js-api/node_modules/async/whilst.js +72 -0
  922. package/node_modules/@pm2/js-api/node_modules/async/wrapSync.js +110 -0
  923. package/node_modules/@pm2/js-api/node_modules/eventemitter2/CHANGELOG.md +122 -0
  924. package/node_modules/@pm2/js-api/node_modules/eventemitter2/LICENSE.txt +21 -0
  925. package/node_modules/@pm2/js-api/node_modules/eventemitter2/README.md +809 -0
  926. package/node_modules/@pm2/js-api/node_modules/eventemitter2/eventemitter2.d.ts +150 -0
  927. package/node_modules/@pm2/js-api/node_modules/eventemitter2/index.js +1 -0
  928. package/node_modules/@pm2/js-api/node_modules/eventemitter2/lib/eventemitter2.js +1629 -0
  929. package/node_modules/@pm2/js-api/node_modules/eventemitter2/package.json +89 -0
  930. package/node_modules/@pm2/js-api/package.json +77 -0
  931. package/node_modules/@pm2/js-api/src/api_mappings.json +1 -0
  932. package/node_modules/@pm2/js-api/src/auth_strategies/browser_strategy.js +67 -0
  933. package/node_modules/@pm2/js-api/src/auth_strategies/embed_strategy.js +138 -0
  934. package/node_modules/@pm2/js-api/src/auth_strategies/standalone_strategy.js +33 -0
  935. package/node_modules/@pm2/js-api/src/auth_strategies/strategy.js +57 -0
  936. package/node_modules/@pm2/js-api/src/endpoint.js +34 -0
  937. package/node_modules/@pm2/js-api/src/keymetrics.js +78 -0
  938. package/node_modules/@pm2/js-api/src/namespace.js +76 -0
  939. package/node_modules/@pm2/js-api/src/network.js +464 -0
  940. package/node_modules/@pm2/js-api/src/utils/validator.js +164 -0
  941. package/node_modules/@pm2/js-api/src/utils/websocket.js +181 -0
  942. package/node_modules/@pm2/pm2-version-check/README.md +8 -0
  943. package/node_modules/@pm2/pm2-version-check/index.js +54 -0
  944. package/node_modules/@pm2/pm2-version-check/package.json +11 -0
  945. package/node_modules/@tootallnate/once/package.json +45 -0
  946. package/node_modules/@types/json5/README.md +18 -0
  947. package/node_modules/@types/json5/index.d.ts +44 -0
  948. package/node_modules/@types/json5/package.json +16 -0
  949. package/node_modules/@types/json5/types-metadata.json +25 -0
  950. package/package.json +11 -10
  951. package/server-config.json +3 -0
  952. package/server.js +249 -181
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright 2019, OpenCensus Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ /** TagKey represents a tag key */
17
+ export interface TagKey {
18
+ /** The name of the key. */
19
+ readonly name: string;
20
+ }
21
+ /** TagValue represents a tag value */
22
+ export interface TagValue {
23
+ /** The value of a tag. */
24
+ readonly value: string;
25
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2019, OpenCensus Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Copyright 2019, OpenCensus Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 the "License";
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { TagKey, TagValue } from './types';
17
+ /** Determines whether the given String is a valid tag key. */
18
+ export declare function isValidTagKey(tagKey: TagKey): boolean;
19
+ /** Determines whether the given String is a valid tag value. */
20
+ export declare function isValidTagValue(tagValue: TagValue): boolean;
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2019, OpenCensus Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 the "License";
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const nonPrintableCharsRegex = /[^\u0020-\u007e]/;
19
+ const TAG_KEY_MAX_LENGTH = 255;
20
+ /** Determines whether the given String is a valid tag key. */
21
+ function isValidTagKey(tagKey) {
22
+ if (!tagKey || !tagKey.name) {
23
+ return false;
24
+ }
25
+ return isPrintableString(tagKey.name) && tagKey.name.length > 0 &&
26
+ tagKey.name.length <= TAG_KEY_MAX_LENGTH;
27
+ }
28
+ exports.isValidTagKey = isValidTagKey;
29
+ /** Determines whether the given String is a valid tag value. */
30
+ function isValidTagValue(tagValue) {
31
+ if (!tagValue || tagValue.value === null || tagValue.value === undefined) {
32
+ return false;
33
+ }
34
+ return isPrintableString(tagValue.value) &&
35
+ tagValue.value.length <= TAG_KEY_MAX_LENGTH;
36
+ }
37
+ exports.isValidTagValue = isValidTagValue;
38
+ function isPrintableString(name) {
39
+ return !nonPrintableCharsRegex.test(name);
40
+ }
41
+ //# sourceMappingURL=validation.js.map
@@ -0,0 +1,82 @@
1
+ /**
2
+ * Copyright 2018, OpenCensus Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Logger } from '../../common/types';
17
+ import { Exporter } from '../../exporters/types';
18
+ import { PluginNames } from '../instrumentation/types';
19
+ import { Propagation } from '../propagation/types';
20
+ /** Interface configuration for a buffer. */
21
+ export interface BufferConfig {
22
+ /** Maximum size of a buffer. */
23
+ bufferSize?: number;
24
+ /** Max time for a buffer can wait before being sent */
25
+ bufferTimeout?: number;
26
+ /** A logger object */
27
+ logger?: Logger;
28
+ }
29
+ /** Defines tracer configuration parameters */
30
+ export interface TracerConfig {
31
+ /** Determines the sampling rate. Ranges from 0.0 to 1.0 */
32
+ samplingRate?: number;
33
+ /** A logger object */
34
+ logger?: Logger;
35
+ /** A propagation instance */
36
+ propagation?: Propagation;
37
+ /** Trace Parameters */
38
+ traceParams?: TraceParams;
39
+ }
40
+ /** Available configuration options. */
41
+ export interface TracingConfig {
42
+ /** level of logger - 0:disable, 1: error, 2: warn, 3: info, 4: debug */
43
+ logLevel?: number;
44
+ /**
45
+ * The maximum number of characters reported on a label value.
46
+ */
47
+ maximumLabelValueSize?: number;
48
+ /**
49
+ * A list of trace instrumentations plugins to load.
50
+ * Each key is the name of the module to trace, and its
51
+ * value is the name of the package which has the plugin
52
+ * implementation.
53
+ * Ex.:
54
+ * plugins: {
55
+ * 'http': '@opencensus/opencensus-instrumentation-http',
56
+ * 'mongodb-core': '@opencensus/opencensus-instrumentation-mongodb-core',
57
+ * ...
58
+ * }
59
+ * Any user-provided value will be added to the default list.
60
+ * It will override any default plugin for the same key.
61
+ */
62
+ plugins?: PluginNames;
63
+ /** An exporter object */
64
+ exporter?: Exporter;
65
+ /** An instance of a logger */
66
+ logger?: Logger;
67
+ }
68
+ /** Global configuration of trace service */
69
+ export interface TraceParams {
70
+ /**
71
+ * numberOfAnnontationEventsPerSpan is number of annotation events per
72
+ * span
73
+ */
74
+ numberOfAnnontationEventsPerSpan?: number;
75
+ /** numberOfMessageEventsPerSpan is number of message events per span */
76
+ numberOfMessageEventsPerSpan?: number;
77
+ /** numberOfAttributesPerSpan is number of attributes per span */
78
+ numberOfAttributesPerSpan?: number;
79
+ /** numberOfLinksPerSpan is number of links per span */
80
+ numberOfLinksPerSpan?: number;
81
+ }
82
+ export declare type Config = TracingConfig & TracerConfig & BufferConfig;
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2018, OpenCensus Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,77 @@
1
+ import { Logger } from '../../common/types';
2
+ import * as modelTypes from '../model/types';
3
+ import * as types from './types';
4
+ /**
5
+ * Maps a name (key) representing a internal file module and its exports
6
+ */
7
+ export declare type ModuleExportsMapping = {
8
+ [key: string]: any;
9
+ };
10
+ /** This class represent the base to patch plugin. */
11
+ export declare abstract class BasePlugin implements types.Plugin {
12
+ /** Exports from the nodejs module to be instrumented */
13
+ protected moduleExports: any;
14
+ /** The module name */
15
+ protected moduleName: string;
16
+ /** A tracer object. */
17
+ protected tracer: modelTypes.Tracer;
18
+ /** The module version. */
19
+ protected version: string;
20
+ /** a logger */
21
+ protected logger: Logger;
22
+ /** list of internal files that need patch and are not exported by default */
23
+ protected readonly internalFileList: types.PluginInternalFiles;
24
+ /** internal files loaded */
25
+ protected internalFilesExports: ModuleExportsMapping;
26
+ /** module directory - used to load internal files */
27
+ protected basedir: string;
28
+ /** plugin options */
29
+ protected options: types.PluginConfig;
30
+ /**
31
+ * Constructs a new BasePlugin instance.
32
+ * @param moduleName The module name.
33
+ */
34
+ constructor(moduleName: string);
35
+ /**
36
+ * Sets modified plugin to the context.
37
+ * @param moduleExports nodejs module exports to set as context
38
+ * @param tracer tracer relating to context
39
+ * @param version module version description
40
+ * @param options plugin options
41
+ * @param basedir module absolute path
42
+ */
43
+ private setPluginContext;
44
+ /**
45
+ * Method that enables the instrumentation patch.
46
+ *
47
+ * This method implements the GoF Template Method Pattern
48
+ * 'enable' is the invariant part of the pattern and
49
+ * 'applyPatch' the variant.
50
+ *
51
+ * @param moduleExports nodejs module exports from the module to patch
52
+ * @param tracer a tracer instance
53
+ * @param version version of the current instaled module to patch
54
+ * @param options plugin options
55
+ * @param basedir module absolute path
56
+ */
57
+ enable<T>(moduleExports: T, tracer: modelTypes.Tracer, version: string, options: types.PluginConfig, basedir: string): any;
58
+ /** Method to disable the instrumentation */
59
+ disable(): void;
60
+ /**
61
+ * This method implements the GoF Template Method Pattern,
62
+ * 'applyPatch' is the variant part, each instrumentation should
63
+ * implement its own version, 'enable' method is the invariant.
64
+ * It will be called when enable is called.
65
+ *
66
+ */
67
+ protected abstract applyPatch(): any;
68
+ protected abstract applyUnpatch(): void;
69
+ /**
70
+ * Load internal files according to version range
71
+ */
72
+ private loadInternalFiles;
73
+ /**
74
+ * Load internal files from a module and set internalFilesExports
75
+ */
76
+ private loadInternalModuleFiles;
77
+ }
@@ -0,0 +1,113 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Copyright 2018, OpenCensus Authors
5
+ *
6
+ * Licensed under the Apache License, Version 2.0 (the "License");
7
+ * you may not use this file except in compliance with the License.
8
+ * You may obtain a copy of the License at
9
+ *
10
+ * http://www.apache.org/licenses/LICENSE-2.0
11
+ *
12
+ * Unless required by applicable law or agreed to in writing, software
13
+ * distributed under the License is distributed on an "AS IS" BASIS,
14
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15
+ * See the License for the specific language governing permissions and
16
+ * limitations under the License.
17
+ */
18
+ const path = require("path");
19
+ const semver = require("semver");
20
+ /** This class represent the base to patch plugin. */
21
+ class BasePlugin {
22
+ /**
23
+ * Constructs a new BasePlugin instance.
24
+ * @param moduleName The module name.
25
+ */
26
+ constructor(moduleName) {
27
+ this.moduleName = moduleName;
28
+ }
29
+ /**
30
+ * Sets modified plugin to the context.
31
+ * @param moduleExports nodejs module exports to set as context
32
+ * @param tracer tracer relating to context
33
+ * @param version module version description
34
+ * @param options plugin options
35
+ * @param basedir module absolute path
36
+ */
37
+ setPluginContext(
38
+ // tslint:disable-next-line:no-any
39
+ moduleExports, tracer, version, options, basedir) {
40
+ this.moduleExports = moduleExports;
41
+ this.tracer = tracer;
42
+ this.version = version;
43
+ this.basedir = basedir;
44
+ this.logger = tracer.logger;
45
+ this.options = options;
46
+ this.internalFilesExports = this.loadInternalFiles();
47
+ }
48
+ /**
49
+ * Method that enables the instrumentation patch.
50
+ *
51
+ * This method implements the GoF Template Method Pattern
52
+ * 'enable' is the invariant part of the pattern and
53
+ * 'applyPatch' the variant.
54
+ *
55
+ * @param moduleExports nodejs module exports from the module to patch
56
+ * @param tracer a tracer instance
57
+ * @param version version of the current instaled module to patch
58
+ * @param options plugin options
59
+ * @param basedir module absolute path
60
+ */
61
+ enable(
62
+ // tslint:disable-next-line:no-any
63
+ moduleExports, tracer, version, options, basedir) {
64
+ this.setPluginContext(moduleExports, tracer, version, options, basedir);
65
+ return this.applyPatch();
66
+ }
67
+ /** Method to disable the instrumentation */
68
+ disable() {
69
+ this.applyUnpatch();
70
+ }
71
+ /**
72
+ * Load internal files according to version range
73
+ */
74
+ loadInternalFiles() {
75
+ let result = null;
76
+ if (this.internalFileList) {
77
+ this.logger.debug('loadInternalFiles %o', this.internalFileList);
78
+ Object.keys(this.internalFileList).forEach(versionRange => {
79
+ if (semver.satisfies(this.version, versionRange)) {
80
+ if (result) {
81
+ this.logger.warn('Plugin for %s@%s, has overlap version range (%s) for internal files: %o', this.moduleName, this.version, versionRange, this.internalFileList);
82
+ }
83
+ result = this.loadInternalModuleFiles(this.internalFileList[versionRange], this.basedir);
84
+ }
85
+ });
86
+ if (!result) {
87
+ this.logger.debug('No internal file could be loaded for %s@%s', this.moduleName, this.version);
88
+ }
89
+ }
90
+ return result;
91
+ }
92
+ /**
93
+ * Load internal files from a module and set internalFilesExports
94
+ */
95
+ loadInternalModuleFiles(extraModulesList, basedir) {
96
+ const extraModules = {};
97
+ if (extraModulesList) {
98
+ Object.keys(extraModulesList).forEach(moduleName => {
99
+ try {
100
+ this.logger.debug('loading File %s', extraModulesList[moduleName]);
101
+ extraModules[moduleName] =
102
+ require(path.join(basedir, extraModulesList[moduleName]));
103
+ }
104
+ catch (e) {
105
+ this.logger.error('Could not load internal file %s of module %s. Error: %s', path.join(basedir, extraModulesList[moduleName]), this.moduleName, e.message);
106
+ }
107
+ });
108
+ }
109
+ return extraModules;
110
+ }
111
+ }
112
+ exports.BasePlugin = BasePlugin;
113
+ //# sourceMappingURL=base-plugin.js.map
@@ -0,0 +1,56 @@
1
+ /**
2
+ * Copyright 2018, OpenCensus Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { Tracer } from '../model/types';
17
+ /** Interface Plugin to apply patch. */
18
+ export interface Plugin {
19
+ /**
20
+ * Method that enables the instrumentation patch.
21
+ *
22
+ * @param moduleExports nodejs module exports from the module to patch
23
+ * @param tracer a tracer instance
24
+ * @param version version of the current instaled module to patch
25
+ * @param options plugin options
26
+ * @param basedir module absolute path
27
+ */
28
+ enable(moduleExports: any, tracer: Tracer, version: string, options: PluginConfig, basedir?: string): any;
29
+ /** Method to disable the instrumentation */
30
+ disable(): void;
31
+ }
32
+ export declare type PluginConfig = {
33
+ [key: string]: any;
34
+ };
35
+ export declare type NamedPluginConfig = {
36
+ module: string;
37
+ config: PluginConfig;
38
+ };
39
+ /**
40
+ * Type PluginNames: each key should be the name of the module to trace,
41
+ * and its value should be the name of the package which has the
42
+ * plugin implementation.
43
+ */
44
+ export declare type PluginNames = {
45
+ [pluginName: string]: string | NamedPluginConfig;
46
+ };
47
+ export declare type PluginInternalFilesVersion = {
48
+ [pluginName: string]: string;
49
+ };
50
+ /**
51
+ * Each key should be the name of the module to trace, and its value
52
+ * a mapping of a property name to a internal plugin file name.
53
+ */
54
+ export declare type PluginInternalFiles = {
55
+ [versions: string]: PluginInternalFilesVersion;
56
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2018, OpenCensus Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Copyright 2018, OpenCensus Authors
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { SpanBase } from './span-base';
17
+ import * as types from './types';
18
+ /** Defines a root span */
19
+ export declare class RootSpan extends SpanBase implements types.RootSpan {
20
+ /** A tracer object */
21
+ private tracer;
22
+ /** A list of child spans. */
23
+ private spansLocal;
24
+ /** Its trace ID. */
25
+ private traceIdLocal;
26
+ /** Its trace state. */
27
+ private traceStateLocal;
28
+ /** set isRootSpan = true */
29
+ readonly isRootSpan: boolean;
30
+ /**
31
+ * Constructs a new RootSpanImpl instance.
32
+ * @param tracer A tracer object.
33
+ * @param context A trace options object to build the root span.
34
+ */
35
+ constructor(tracer: types.Tracer, context?: types.TraceOptions);
36
+ /** Gets span list from rootspan instance. */
37
+ readonly spans: types.Span[];
38
+ /** Gets trace id from rootspan instance. */
39
+ readonly traceId: string;
40
+ /** Gets trace state from rootspan instance */
41
+ readonly traceState: types.TraceState;
42
+ /** Starts a rootspan instance. */
43
+ start(): void;
44
+ /** Ends a rootspan instance. */
45
+ end(): void;
46
+ /**
47
+ * Starts a new child span in the root span.
48
+ * @param name Span name.
49
+ * @param kind Span kind.
50
+ * @param parentSpanId Span parent ID.
51
+ */
52
+ startChildSpan(name: string, kind: types.SpanKind, parentSpanId?: string): types.Span;
53
+ }
@@ -0,0 +1,111 @@
1
+ "use strict";
2
+ /**
3
+ * Copyright 2018, OpenCensus Authors
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License");
6
+ * you may not use this file except in compliance with the License.
7
+ * You may obtain a copy of the License at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * Unless required by applicable law or agreed to in writing, software
12
+ * distributed under the License is distributed on an "AS IS" BASIS,
13
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ * See the License for the specific language governing permissions and
15
+ * limitations under the License.
16
+ */
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ const uuid = require("uuid");
19
+ const logger = require("../../common/console-logger");
20
+ const span_1 = require("./span");
21
+ const span_base_1 = require("./span-base");
22
+ const types = require("./types");
23
+ /** Defines a root span */
24
+ class RootSpan extends span_base_1.SpanBase {
25
+ /**
26
+ * Constructs a new RootSpanImpl instance.
27
+ * @param tracer A tracer object.
28
+ * @param context A trace options object to build the root span.
29
+ */
30
+ constructor(tracer, context) {
31
+ super();
32
+ /** set isRootSpan = true */
33
+ this.isRootSpan = true;
34
+ this.tracer = tracer;
35
+ this.traceIdLocal =
36
+ context && context.spanContext && context.spanContext.traceId ?
37
+ context.spanContext.traceId :
38
+ (uuid.v4().split('-').join(''));
39
+ this.name = context && context.name ? context.name : 'undefined';
40
+ if (context && context.spanContext) {
41
+ this.parentSpanId = context.spanContext.spanId || '';
42
+ this.traceStateLocal = context.spanContext.traceState;
43
+ }
44
+ this.spansLocal = [];
45
+ this.kind =
46
+ context && context.kind ? context.kind : types.SpanKind.UNSPECIFIED;
47
+ this.logger = tracer.logger || logger.logger();
48
+ this.activeTraceParams = tracer.activeTraceParams;
49
+ }
50
+ /** Gets span list from rootspan instance. */
51
+ get spans() {
52
+ return this.spansLocal;
53
+ }
54
+ /** Gets trace id from rootspan instance. */
55
+ get traceId() {
56
+ return this.traceIdLocal;
57
+ }
58
+ /** Gets trace state from rootspan instance */
59
+ get traceState() {
60
+ return this.traceStateLocal;
61
+ }
62
+ /** Starts a rootspan instance. */
63
+ start() {
64
+ super.start();
65
+ this.logger.debug('starting %s %o', this.className, {
66
+ traceId: this.traceId,
67
+ id: this.id,
68
+ parentSpanId: this.parentSpanId,
69
+ traceState: this.traceState
70
+ });
71
+ this.tracer.onStartSpan(this);
72
+ }
73
+ /** Ends a rootspan instance. */
74
+ end() {
75
+ super.end();
76
+ for (const span of this.spansLocal) {
77
+ if (!span.ended && span.started) {
78
+ span.truncate();
79
+ }
80
+ }
81
+ this.tracer.onEndSpan(this);
82
+ }
83
+ /**
84
+ * Starts a new child span in the root span.
85
+ * @param name Span name.
86
+ * @param kind Span kind.
87
+ * @param parentSpanId Span parent ID.
88
+ */
89
+ startChildSpan(name, kind, parentSpanId) {
90
+ if (this.ended) {
91
+ this.logger.debug('calling %s.startSpan() on ended %s %o', this.className, this.className, { id: this.id, name: this.name, kind: this.kind });
92
+ return null;
93
+ }
94
+ if (!this.started) {
95
+ this.logger.debug('calling %s.startSpan() on un-started %s %o', this.className, this.className, { id: this.id, name: this.name, kind: this.kind });
96
+ return null;
97
+ }
98
+ const newSpan = new span_1.Span(this);
99
+ if (name) {
100
+ newSpan.name = name;
101
+ }
102
+ if (kind) {
103
+ newSpan.kind = kind;
104
+ }
105
+ newSpan.start();
106
+ this.spansLocal.push(newSpan);
107
+ return newSpan;
108
+ }
109
+ }
110
+ exports.RootSpan = RootSpan;
111
+ //# sourceMappingURL=root-span.js.map