@lopatnov/express-reverse-proxy 1.2.0 → 2.0.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.
- package/LICENSE +192 -192
- package/README.md +524 -109
- package/ecosystem.config.cjs +24 -0
- package/package.json +44 -18
- package/server.js +294 -97
- package/.eslintrc.json +0 -18
- package/.git/COMMIT_EDITMSG +0 -1
- package/.git/FETCH_HEAD +0 -6
- package/.git/HEAD +0 -1
- package/.git/ORIG_HEAD +0 -1
- package/.git/config +0 -13
- package/.git/description +0 -1
- package/.git/hooks/applypatch-msg.sample +0 -15
- package/.git/hooks/commit-msg.sample +0 -24
- package/.git/hooks/fsmonitor-watchman.sample +0 -173
- package/.git/hooks/post-update.sample +0 -8
- package/.git/hooks/pre-applypatch.sample +0 -14
- package/.git/hooks/pre-commit.sample +0 -49
- package/.git/hooks/pre-merge-commit.sample +0 -13
- package/.git/hooks/pre-push.sample +0 -53
- package/.git/hooks/pre-rebase.sample +0 -169
- package/.git/hooks/pre-receive.sample +0 -24
- package/.git/hooks/prepare-commit-msg.sample +0 -42
- package/.git/hooks/push-to-checkout.sample +0 -78
- package/.git/hooks/update.sample +0 -128
- package/.git/index +0 -0
- package/.git/info/exclude +0 -6
- package/.git/logs/HEAD +0 -21
- package/.git/logs/refs/heads/master +0 -21
- package/.git/logs/refs/remotes/origin/HEAD +0 -1
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/async-2.6.4 +0 -1
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.14.8 +0 -1
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.15.1 +0 -1
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/minimist-1.2.6 +0 -2
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/moment-2.29.4 +0 -2
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.10 +0 -1
- package/.git/logs/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.7 +0 -1
- package/.git/logs/refs/remotes/origin/master +0 -20
- package/.git/objects/02/2f0d6daa910e95df17f9864c245498142f91b1 +0 -0
- package/.git/objects/05/5c1a74a1e2d853bd7f7ccc8eecab205ed7ec55 +0 -0
- package/.git/objects/05/7279a8af3092f351c4ae469bd547adfc76f7a4 +0 -0
- package/.git/objects/05/c82a6f0ea9c0a164aad76ced44fec680b8604a +0 -0
- package/.git/objects/06/051cdbe81b43e531f1ca0fa765cb4c91d91ea1 +0 -0
- package/.git/objects/0a/8635f2c0a6626f197585fa2a44b9c92cf27709 +0 -0
- package/.git/objects/12/3d8423180da838ba0af1284aae79e1a955c98b +0 -0
- package/.git/objects/12/8811e49aa28e93060a0921bbd8b7eabba968ff +0 -0
- package/.git/objects/14/3d5eca2e4998e6899de6049e38b4bf2559e4e0 +0 -0
- package/.git/objects/14/d1535abc130e7354294b917eb7d5c32eb29e34 +0 -0
- package/.git/objects/16/a3a924f2a6924622e739eebe236ef713030c8b +0 -0
- package/.git/objects/17/fe62d46c8606309d1954bfef9e692410da2710 +0 -0
- package/.git/objects/1a/e23bdc300d7dddb5d7a1405774f3ac3d8658a7 +0 -0
- package/.git/objects/1d/559712ab5ec703cf8e866b24b8dfb3b321ff03 +0 -0
- package/.git/objects/1f/4bda8b3565949d26f700322b343189d29bffdf +0 -3
- package/.git/objects/20/09e0695e8376740e4e88b63f1eb219671f14a4 +0 -0
- package/.git/objects/22/034a86b3f190407ef7a2c0eaf212ddaa686f16 +0 -0
- package/.git/objects/22/98fdc28f7dd444c1a852e87db8a1c5865b3407 +0 -0
- package/.git/objects/25/9462200ffecedc2eef36f888eb503e3f2e81ec +0 -0
- package/.git/objects/28/220d00bdbed408d7a98ece866fb5af1e7d1395 +0 -0
- package/.git/objects/2a/107bbc4529b3b4fb726be42f7ce11d4a1eb983 +0 -0
- package/.git/objects/2e/883b77fd3c5ea062c8ed62428cd7d9758312d7 +0 -7
- package/.git/objects/32/01f58ddbc1e42624f99b0e7620dbf92034b136 +0 -0
- package/.git/objects/33/f5906b4664855687be03e7d6d93092c9daf955 +0 -0
- package/.git/objects/35/01719e91f3a07024fe56483eea7039d7d96844 +0 -0
- package/.git/objects/39/fb332adf9703decb515ff845b2c93ee7bdd191 +0 -0
- package/.git/objects/3a/2fe95e41237bf8a5f56094b3b1446f8951d175 +0 -0
- package/.git/objects/3a/4d74b53dc2acdf09452ccf6c30100a929f557d +0 -0
- package/.git/objects/3b/f4ee4b9fb6b872ee61b1a392113d208ca7c762 +0 -0
- package/.git/objects/3f/8e368a352ad9a944b90208dee1188e4330a2f1 +0 -1
- package/.git/objects/40/fee296277005a8165f12da95c7e9e6b718e51f +0 -0
- package/.git/objects/42/923e1c24b6ae751b59ac453706b67322d66969 +0 -0
- package/.git/objects/44/9201848ea33a0fad0ee0737f801f048cfade82 +0 -2
- package/.git/objects/44/c2b7071686272d99d4664916dfb67f4102c6f4 +0 -0
- package/.git/objects/44/e27cef5a809b8c2d36871c5193198142431a63 +0 -0
- package/.git/objects/47/491e904d9441fa24d865860bf1dff1843c6a9c +0 -0
- package/.git/objects/49/896c097c75250aa3c08d2bed5d709771cb1787 +0 -0
- package/.git/objects/4b/47d7aeb054f8ab581690b65dcb12308ba90b6c +0 -0
- package/.git/objects/51/bcfd3f0fb55af10bd01265b307e511c717a755 +0 -2
- package/.git/objects/52/e0845974b78b0332e5b1d8c8705c0bd4fb83bc +0 -0
- package/.git/objects/56/fd1ca1e0010b81c9559e1f429d89884cded9f7 +0 -0
- package/.git/objects/5b/c7e4571e0196bc7913762a38c0698ab23b4b40 +0 -0
- package/.git/objects/5c/877893711138b63925cd066f1403901f889fd1 +0 -4
- package/.git/objects/5c/c52ffbdac3063a1319982b7d1bf18773f96181 +0 -0
- package/.git/objects/5d/cc561a09ef24892a16f23881962624a126f9ca +0 -0
- package/.git/objects/5e/3da9aaf50f9faecdc9cb1ebeab3fba5a9e8fb4 +0 -0
- package/.git/objects/5f/7c7f1513de49814f849f66114759c6daef837d +0 -0
- package/.git/objects/60/9b0f2c978e3bfbb668031fe58c4b3f1086421c +0 -0
- package/.git/objects/62/e1d5405b6e2433872d38a651a967baab80be1b +0 -2
- package/.git/objects/63/7d388cf0ac25bd240977bf8c908a1e5fa92dd8 +0 -0
- package/.git/objects/64/967bb9704893349c92a31f5291fc0eb2c13fa9 +0 -0
- package/.git/objects/6e/22bebb02332d3ff461dca72d0ecb8f1d44835f +0 -0
- package/.git/objects/6f/220ef271ba804052014c8a5d406a1438efef64 +0 -0
- package/.git/objects/72/32a03c47d5fc7353f9cd67b0bd0ffa45390bb4 +0 -0
- package/.git/objects/75/b2aa96174e983a871d2c87d81f05421e8248ba +0 -0
- package/.git/objects/79/8e4fbb78de9a88cda3399b861f9d2243e6ca3b +0 -0
- package/.git/objects/7a/ca04662f44988f4746e4ec6e6ad2d481adcb87 +0 -0
- package/.git/objects/7b/128a2d2b038fd39112c16a4ff67e52d2bab57c +0 -0
- package/.git/objects/7e/37081ce9bd43723b56ef91330cd8e2983b538f +0 -0
- package/.git/objects/7f/3277bd2a1e2b01b395caf1e0e8999c1682c223 +0 -0
- package/.git/objects/7f/68ff06abdaef72ab4f134ecb6912cf324c692c +0 -0
- package/.git/objects/80/45e37f977ea779b4b20900a64a296df56cb9ce +0 -0
- package/.git/objects/83/5696f89cedc2214df0ffc788f08c4d58a97c95 +0 -0
- package/.git/objects/85/b13d9fef3c897366d43df137438cd28f915087 +0 -0
- package/.git/objects/86/a2acaeb7d5eaa7d780a438cfa3db2c3db1d789 +0 -0
- package/.git/objects/88/f8a58d189410942cf2616d55cdc98f939a8d3b +0 -0
- package/.git/objects/93/8f44fae33e8ef450b8087f408c6163bc4238b2 +0 -0
- package/.git/objects/95/d70526c36e8b3e5c814f64645623371d57946d +0 -0
- package/.git/objects/98/455ae14312780d38b2432eb1f189906104e241 +0 -0
- package/.git/objects/98/898b1fd7b14788c34282603fca629e813ba546 +0 -0
- package/.git/objects/99/9aeeca83fc1e75d40326046dc5ccc680c8b036 +0 -0
- package/.git/objects/9a/cf383b82ac33819ec1fcb70ebeab1f3a67088c +0 -0
- package/.git/objects/9d/31d2fc81e780e5e2de1c51b8e705005e94d59d +0 -0
- package/.git/objects/a0/ba9902313fe5c077bdb4ae500fd479474d27e5 +0 -0
- package/.git/objects/a1/c059c501cc6834f3ad5dea003751ae6b47e71c +0 -0
- package/.git/objects/a2/955bbd248d85219a4264c1b21dc7c2d0481d11 +0 -0
- package/.git/objects/a4/94b1ba0a2b0e2bb8431857f3a9e77f81845d6b +0 -0
- package/.git/objects/a4/a1ac412998cdfe316b39e29e5462057602c1d6 +0 -0
- package/.git/objects/a6/43204a711923772e092d7b4d098e553ec9e917 +0 -3
- package/.git/objects/ac/7c581c37018c146af70e6165a8075026964c96 +0 -0
- package/.git/objects/b1/13bc721117f222d824addd66e7d241edd44449 +0 -0
- package/.git/objects/b2/d3bfa9522988ed8d214b800d093efc80da7b8f +0 -0
- package/.git/objects/b9/29f8894983314681cd5c5cc933ad4091edf51b +0 -0
- package/.git/objects/bb/269a37e471f96225f825accb8fec832556baeb +0 -0
- package/.git/objects/be/6b92cd3ae0f90b9b3fae0ca6661931dae6c83a +0 -0
- package/.git/objects/c0/e2ecce02f4d74977c088b07ddae70af1b0204b +0 -0
- package/.git/objects/c4/26b83eae1a1a426af62f1c6ebbbf30f258d696 +0 -2
- package/.git/objects/c4/59a1ea5de4599d66be6c3e6fabdf86c482b0e0 +0 -0
- package/.git/objects/c4/939e403dc1de89cddf6ef031d81504d1c1f650 +0 -0
- package/.git/objects/ca/4942a1100642a56ccf314d1e9c4db6da1ee5d2 +0 -0
- package/.git/objects/cc/6904a6336d2a954e954bb0d1e50aea08c83494 +0 -0
- package/.git/objects/cd/084b222732a6e80a2440e9ecdd773aedb197e6 +0 -0
- package/.git/objects/ce/76a6a80691518fa330d62dc9f1c15d570e2bf9 +0 -0
- package/.git/objects/ce/df14292e7c3e219801794c7135cc878c921712 +0 -0
- package/.git/objects/d0/ff27ffbc3bdc741b65b55d95a20c57f8ab1ca9 +0 -0
- package/.git/objects/d4/2d9e97b06faba28b13073e01f75115237ab8f8 +0 -0
- package/.git/objects/d5/2717c6fd9c3deeb0ff98151d64927d2a6234c6 +0 -0
- package/.git/objects/d9/6866dd25bae6d71e35df942eda0353695affd9 +0 -0
- package/.git/objects/d9/981364d8a15210123a3585846031c62eaecd8f +0 -0
- package/.git/objects/db/454cbee6da5938914837cda981dea069f7f409 +0 -0
- package/.git/objects/dc/8a7af695dba46389944b008a3800f12bceb329 +0 -0
- package/.git/objects/dd/b3b7a413e020bae0d7a4bec93871427e70d257 +0 -0
- package/.git/objects/df/35b2679810d172a657f924038c8c90973313ca +0 -3
- package/.git/objects/e0/225a10fccf658bad584b6995c4edd2ff7a77f5 +0 -0
- package/.git/objects/e3/0862243d79a9b5ad215e5bca60a71c4220e72d +0 -0
- package/.git/objects/e4/1a72681611b269bcbf92635a577fbd4d1dc7a2 +0 -0
- package/.git/objects/e5/2673bb0d2f0856fee0cef63f2018cf38aaf12a +0 -0
- package/.git/objects/e9/bd949a381501bde67f21ba4d00c670cd65663c +0 -0
- package/.git/objects/e9/ee6edda984b1f7fac59160bd9231433b3fea2b +0 -0
- package/.git/objects/eb/d4328efb09276aab6e1cfc1c954a96528d5c99 +0 -0
- package/.git/objects/eb/eb5a56b15dab25752fdaa5c407aa876cbf23b3 +0 -0
- package/.git/objects/ec/04c9bbf4a5d62f695cdf80e49ce07b86b7013e +0 -0
- package/.git/objects/ef/2403cca5e0283f168e74e1e0548f0bee6ba64b +0 -5
- package/.git/objects/ef/de9a8166073eaffcbdb334a63e93ab2e0e2bb2 +0 -3
- package/.git/objects/f1/8fc2e1985b84cd24de30829a7a4a9c691340c9 +0 -0
- package/.git/objects/f2/05d1ab0819bb3f13a368bf1473f1059dd2f1fa +0 -0
- package/.git/objects/f2/9fbde97f3b548ee6ec891b4b411707ebf0561a +0 -0
- package/.git/objects/f5/f2285b984ce7ef265cf79ce10ba51dcc9f9ad6 +0 -0
- package/.git/objects/f6/0628ae8baf0c0379b3e7ab6d75f172f74a005e +0 -0
- package/.git/objects/f6/935898caad4dee4ea9282ca155e3c3bf3715fc +0 -0
- package/.git/objects/f6/e44fde420f65f300fb5d363ef95a186e4165e5 +0 -0
- package/.git/objects/f7/a182eb7c42ff63bf11edf772b65bdf7d706d96 +0 -0
- package/.git/objects/f8/14559da278a2f0cfd627b62d7d325085eef17b +0 -0
- package/.git/objects/f8/aff9f6e425792723ef5fe5dbdf85b53bce2fe9 +0 -0
- package/.git/objects/f9/63ccecc3469eb1ef17e3685032099ec13f5a0f +0 -0
- package/.git/objects/f9/8ad699a4944fb6f793485d4e2ea3c7bf5aec96 +0 -0
- package/.git/objects/fd/4f133c0aca14ec46bccb1b7ef8258ff1343761 +0 -2
- package/.git/objects/fd/a93fd9e44b59cfec306dd85a72db21360569a4 +0 -0
- package/.git/objects/ff/5b08014258895dbb22d6b171aeee232fdcda7b +0 -0
- package/.git/objects/pack/pack-63ffdae441c323ee12f24bd65e4b0b162f008209.idx +0 -0
- package/.git/objects/pack/pack-63ffdae441c323ee12f24bd65e4b0b162f008209.pack +0 -0
- package/.git/packed-refs +0 -4
- package/.git/refs/heads/master +0 -1
- package/.git/refs/remotes/origin/HEAD +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/async-2.6.4 +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.14.8 +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/follow-redirects-1.15.1 +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/minimist-1.2.6 +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/moment-2.29.4 +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.10 +0 -1
- package/.git/refs/remotes/origin/dependabot/npm_and_yarn/vm2-3.9.7 +0 -1
- package/.git/refs/remotes/origin/master +0 -1
- package/.git/tortoisegit.data +0 -0
- package/.git/tortoisegit.index +0 -0
- package/.gitattributes +0 -52
- package/.github/FUNDING.yml +0 -3
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- package/.github/ISSUE_TEMPLATE/vulnerability-report.md +0 -10
- package/.gitignore +0 -104
- package/.vscode/launch.json +0 -17
- package/CODE_OF_CONDUCT.md +0 -76
- package/Dockerfile +0 -10
- package/SECURITY.md +0 -18
- package/_config.yml +0 -1
- package/ecosystem.config.js +0 -10
- package/node_modules/@eslint/eslintrc/LICENSE +0 -21
- package/node_modules/@eslint/eslintrc/README.md +0 -61
- package/node_modules/@eslint/eslintrc/conf/config-schema.js +0 -79
- package/node_modules/@eslint/eslintrc/conf/environments.js +0 -179
- package/node_modules/@eslint/eslintrc/conf/eslint-all.cjs +0 -12
- package/node_modules/@eslint/eslintrc/conf/eslint-recommended.cjs +0 -12
- package/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js +0 -520
- package/node_modules/@eslint/eslintrc/lib/config-array/config-array.js +0 -523
- package/node_modules/@eslint/eslintrc/lib/config-array/config-dependency.js +0 -115
- package/node_modules/@eslint/eslintrc/lib/config-array/extracted-config.js +0 -145
- package/node_modules/@eslint/eslintrc/lib/config-array/ignore-pattern.js +0 -238
- package/node_modules/@eslint/eslintrc/lib/config-array/index.js +0 -19
- package/node_modules/@eslint/eslintrc/lib/config-array/override-tester.js +0 -225
- package/node_modules/@eslint/eslintrc/lib/config-array-factory.js +0 -1103
- package/node_modules/@eslint/eslintrc/lib/flat-compat.js +0 -310
- package/node_modules/@eslint/eslintrc/lib/index-universal.js +0 -29
- package/node_modules/@eslint/eslintrc/lib/index.js +0 -56
- package/node_modules/@eslint/eslintrc/lib/shared/ajv.js +0 -191
- package/node_modules/@eslint/eslintrc/lib/shared/config-ops.js +0 -135
- package/node_modules/@eslint/eslintrc/lib/shared/config-validator.js +0 -325
- package/node_modules/@eslint/eslintrc/lib/shared/deprecation-warnings.js +0 -63
- package/node_modules/@eslint/eslintrc/lib/shared/naming.js +0 -96
- package/node_modules/@eslint/eslintrc/lib/shared/relative-module-resolver.js +0 -42
- package/node_modules/@eslint/eslintrc/lib/shared/types.js +0 -149
- package/node_modules/@eslint/eslintrc/package.json +0 -81
- package/node_modules/@eslint/eslintrc/universal.js +0 -9
- package/node_modules/@humanwhocodes/config-array/CHANGELOG.md +0 -9
- package/node_modules/@humanwhocodes/config-array/LICENSE +0 -201
- package/node_modules/@humanwhocodes/config-array/README.md +0 -266
- package/node_modules/@humanwhocodes/config-array/api.js +0 -523
- package/node_modules/@humanwhocodes/config-array/package.json +0 -61
- package/node_modules/@humanwhocodes/object-schema/.eslintrc.js +0 -29
- package/node_modules/@humanwhocodes/object-schema/.github/workflows/nodejs-test.yml +0 -27
- package/node_modules/@humanwhocodes/object-schema/.github/workflows/release-please.yml +0 -39
- package/node_modules/@humanwhocodes/object-schema/CHANGELOG.md +0 -8
- package/node_modules/@humanwhocodes/object-schema/LICENSE +0 -29
- package/node_modules/@humanwhocodes/object-schema/README.md +0 -234
- package/node_modules/@humanwhocodes/object-schema/package.json +0 -33
- package/node_modules/@humanwhocodes/object-schema/src/index.js +0 -7
- package/node_modules/@humanwhocodes/object-schema/src/merge-strategy.js +0 -53
- package/node_modules/@humanwhocodes/object-schema/src/object-schema.js +0 -235
- package/node_modules/@humanwhocodes/object-schema/src/validation-strategy.js +0 -102
- package/node_modules/@humanwhocodes/object-schema/tests/merge-strategy.js +0 -66
- package/node_modules/@humanwhocodes/object-schema/tests/object-schema.js +0 -611
- package/node_modules/@humanwhocodes/object-schema/tests/validation-strategy.js +0 -186
- package/node_modules/@opencensus/core/LICENSE +0 -202
- package/node_modules/@opencensus/core/README.md +0 -108
- package/node_modules/@opencensus/core/build/src/common/console-logger.d.ts +0 -60
- package/node_modules/@opencensus/core/build/src/common/console-logger.js +0 -97
- package/node_modules/@opencensus/core/build/src/common/time-util.d.ts +0 -41
- package/node_modules/@opencensus/core/build/src/common/time-util.js +0 -74
- package/node_modules/@opencensus/core/build/src/common/types.d.ts +0 -29
- package/node_modules/@opencensus/core/build/src/common/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/common/validations.d.ts +0 -31
- package/node_modules/@opencensus/core/build/src/common/validations.js +0 -46
- package/node_modules/@opencensus/core/build/src/common/version.d.ts +0 -16
- package/node_modules/@opencensus/core/build/src/common/version.js +0 -24
- package/node_modules/@opencensus/core/build/src/exporters/console-exporter.d.ts +0 -70
- package/node_modules/@opencensus/core/build/src/exporters/console-exporter.js +0 -91
- package/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.d.ts +0 -59
- package/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.js +0 -104
- package/node_modules/@opencensus/core/build/src/exporters/types.d.ts +0 -52
- package/node_modules/@opencensus/core/build/src/exporters/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/index.d.ts +0 -50
- package/node_modules/@opencensus/core/build/src/index.js +0 -59
- package/node_modules/@opencensus/core/build/src/internal/clock.d.ts +0 -43
- package/node_modules/@opencensus/core/build/src/internal/clock.js +0 -68
- package/node_modules/@opencensus/core/build/src/internal/cls-ah.d.ts +0 -20
- package/node_modules/@opencensus/core/build/src/internal/cls-ah.js +0 -128
- package/node_modules/@opencensus/core/build/src/internal/cls.d.ts +0 -28
- package/node_modules/@opencensus/core/build/src/internal/cls.js +0 -45
- package/node_modules/@opencensus/core/build/src/internal/string-utils.d.ts +0 -35
- package/node_modules/@opencensus/core/build/src/internal/string-utils.js +0 -49
- package/node_modules/@opencensus/core/build/src/internal/util.d.ts +0 -16
- package/node_modules/@opencensus/core/build/src/internal/util.js +0 -34
- package/node_modules/@opencensus/core/build/src/metrics/export/base-metric-producer.d.ts +0 -27
- package/node_modules/@opencensus/core/build/src/metrics/export/base-metric-producer.js +0 -25
- package/node_modules/@opencensus/core/build/src/metrics/export/metric-producer-manager.d.ts +0 -17
- package/node_modules/@opencensus/core/build/src/metrics/export/metric-producer-manager.js +0 -70
- package/node_modules/@opencensus/core/build/src/metrics/export/types.d.ts +0 -331
- package/node_modules/@opencensus/core/build/src/metrics/export/types.js +0 -69
- package/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.d.ts +0 -110
- package/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.js +0 -150
- package/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.d.ts +0 -114
- package/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.js +0 -162
- package/node_modules/@opencensus/core/build/src/metrics/gauges/types.d.ts +0 -45
- package/node_modules/@opencensus/core/build/src/metrics/gauges/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/metrics/metric-component.d.ts +0 -29
- package/node_modules/@opencensus/core/build/src/metrics/metric-component.js +0 -40
- package/node_modules/@opencensus/core/build/src/metrics/metric-registry.d.ts +0 -93
- package/node_modules/@opencensus/core/build/src/metrics/metric-registry.js +0 -152
- package/node_modules/@opencensus/core/build/src/metrics/metrics.d.ts +0 -27
- package/node_modules/@opencensus/core/build/src/metrics/metrics.js +0 -35
- package/node_modules/@opencensus/core/build/src/metrics/utils.d.ts +0 -30
- package/node_modules/@opencensus/core/build/src/metrics/utils.js +0 -42
- package/node_modules/@opencensus/core/build/src/resource/resource.d.ts +0 -98
- package/node_modules/@opencensus/core/build/src/resource/resource.js +0 -167
- package/node_modules/@opencensus/core/build/src/resource/types.d.ts +0 -31
- package/node_modules/@opencensus/core/build/src/resource/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.d.ts +0 -49
- package/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.js +0 -90
- package/node_modules/@opencensus/core/build/src/stats/metric-producer.d.ts +0 -34
- package/node_modules/@opencensus/core/build/src/stats/metric-producer.js +0 -40
- package/node_modules/@opencensus/core/build/src/stats/metric-utils.d.ts +0 -40
- package/node_modules/@opencensus/core/build/src/stats/metric-utils.js +0 -83
- package/node_modules/@opencensus/core/build/src/stats/recorder.d.ts +0 -26
- package/node_modules/@opencensus/core/build/src/stats/recorder.js +0 -76
- package/node_modules/@opencensus/core/build/src/stats/stats.d.ts +0 -97
- package/node_modules/@opencensus/core/build/src/stats/stats.js +0 -169
- package/node_modules/@opencensus/core/build/src/stats/types.d.ts +0 -242
- package/node_modules/@opencensus/core/build/src/stats/types.js +0 -48
- package/node_modules/@opencensus/core/build/src/stats/view.d.ts +0 -119
- package/node_modules/@opencensus/core/build/src/stats/view.js +0 -194
- package/node_modules/@opencensus/core/build/src/tags/tag-map.d.ts +0 -26
- package/node_modules/@opencensus/core/build/src/tags/tag-map.js +0 -45
- package/node_modules/@opencensus/core/build/src/tags/types.d.ts +0 -25
- package/node_modules/@opencensus/core/build/src/tags/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/tags/validation.d.ts +0 -20
- package/node_modules/@opencensus/core/build/src/tags/validation.js +0 -41
- package/node_modules/@opencensus/core/build/src/trace/config/types.d.ts +0 -82
- package/node_modules/@opencensus/core/build/src/trace/config/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.d.ts +0 -77
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.js +0 -113
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/types.d.ts +0 -56
- package/node_modules/@opencensus/core/build/src/trace/instrumentation/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/trace/model/root-span.d.ts +0 -53
- package/node_modules/@opencensus/core/build/src/trace/model/root-span.js +0 -111
- package/node_modules/@opencensus/core/build/src/trace/model/span-base.d.ts +0 -131
- package/node_modules/@opencensus/core/build/src/trace/model/span-base.js +0 -210
- package/node_modules/@opencensus/core/build/src/trace/model/span.d.ts +0 -35
- package/node_modules/@opencensus/core/build/src/trace/model/span.js +0 -66
- package/node_modules/@opencensus/core/build/src/trace/model/tracer.d.ts +0 -112
- package/node_modules/@opencensus/core/build/src/trace/model/tracer.js +0 -241
- package/node_modules/@opencensus/core/build/src/trace/model/types.d.ts +0 -455
- package/node_modules/@opencensus/core/build/src/trace/model/types.js +0 -198
- package/node_modules/@opencensus/core/build/src/trace/propagation/types.d.ts +0 -36
- package/node_modules/@opencensus/core/build/src/trace/propagation/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/trace/sampler/sampler.d.ts +0 -72
- package/node_modules/@opencensus/core/build/src/trace/sampler/sampler.js +0 -129
- package/node_modules/@opencensus/core/build/src/trace/sampler/types.d.ts +0 -29
- package/node_modules/@opencensus/core/build/src/trace/sampler/types.js +0 -18
- package/node_modules/@opencensus/core/build/src/trace/types.d.ts +0 -46
- package/node_modules/@opencensus/core/build/src/trace/types.js +0 -18
- package/node_modules/@opencensus/core/node_modules/.bin/semver +0 -12
- package/node_modules/@opencensus/core/node_modules/.bin/semver.cmd +0 -17
- package/node_modules/@opencensus/core/node_modules/.bin/semver.ps1 +0 -28
- package/node_modules/@opencensus/core/node_modules/semver/CHANGELOG.md +0 -39
- package/node_modules/@opencensus/core/node_modules/semver/LICENSE +0 -15
- package/node_modules/@opencensus/core/node_modules/semver/README.md +0 -412
- package/node_modules/@opencensus/core/node_modules/semver/bin/semver +0 -160
- package/node_modules/@opencensus/core/node_modules/semver/package.json +0 -28
- package/node_modules/@opencensus/core/node_modules/semver/range.bnf +0 -16
- package/node_modules/@opencensus/core/node_modules/semver/semver.js +0 -1483
- package/node_modules/@opencensus/core/package.json +0 -68
- package/node_modules/@opencensus/propagation-b3/LICENSE +0 -202
- package/node_modules/@opencensus/propagation-b3/README.md +0 -46
- package/node_modules/@opencensus/propagation-b3/build/src/b3-format.d.ts +0 -35
- package/node_modules/@opencensus/propagation-b3/build/src/b3-format.js +0 -77
- package/node_modules/@opencensus/propagation-b3/build/src/index.d.ts +0 -16
- package/node_modules/@opencensus/propagation-b3/build/src/index.js +0 -22
- package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver +0 -12
- package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver.cmd +0 -17
- package/node_modules/@opencensus/propagation-b3/node_modules/.bin/semver.ps1 +0 -28
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/LICENSE +0 -202
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/README.md +0 -96
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/console-logger.d.ts +0 -51
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/console-logger.js +0 -106
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/types.d.ts +0 -29
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/validations.d.ts +0 -31
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/validations.js +0 -46
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/version.d.ts +0 -1
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/common/version.js +0 -24
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/console-exporter.d.ts +0 -64
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/console-exporter.js +0 -84
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.d.ts +0 -44
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/exporter-buffer.js +0 -104
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/types.d.ts +0 -44
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/exporters/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/index.d.ts +0 -37
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/index.js +0 -45
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/clock.d.ts +0 -43
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/clock.js +0 -68
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls-ah.d.ts +0 -5
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls-ah.js +0 -128
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls.d.ts +0 -28
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/cls.js +0 -45
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/string-utils.d.ts +0 -35
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/string-utils.js +0 -49
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/util.d.ts +0 -1
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/internal/util.js +0 -34
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/metric-producer.d.ts +0 -27
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/metric-producer.js +0 -25
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/types.d.ts +0 -309
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/export/types.js +0 -69
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.d.ts +0 -95
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/derived-gauge.js +0 -151
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.d.ts +0 -99
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/gauge.js +0 -161
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/types.d.ts +0 -45
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/gauges/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metric-registry.d.ts +0 -79
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metric-registry.js +0 -152
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metrics.d.ts +0 -26
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/metrics.js +0 -34
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/utils.d.ts +0 -30
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/metrics/utils.js +0 -42
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/resource.d.ts +0 -81
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/resource.js +0 -160
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/types.d.ts +0 -31
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/resource/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.d.ts +0 -49
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/bucket-boundaries.js +0 -90
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-producer.d.ts +0 -34
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-producer.js +0 -40
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-utils.d.ts +0 -39
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/metric-utils.js +0 -84
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/recorder.d.ts +0 -23
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/recorder.js +0 -70
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/stats.d.ts +0 -85
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/stats.js +0 -145
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/types.d.ts +0 -188
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/types.js +0 -48
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/view.d.ts +0 -118
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/stats/view.js +0 -201
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/config/types.d.ts +0 -68
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/config/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.d.ts +0 -73
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/base-plugin.js +0 -110
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/types.d.ts +0 -45
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/instrumentation/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/root-span.d.ts +0 -38
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/root-span.js +0 -108
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span-base.d.ts +0 -114
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span-base.js +0 -165
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span.d.ts +0 -20
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/span.js +0 -65
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/tracer.d.ts +0 -95
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/tracer.js +0 -229
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/types.d.ts +0 -245
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/model/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/propagation/types.d.ts +0 -36
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/propagation/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/sampler.d.ts +0 -56
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/sampler.js +0 -94
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/types.d.ts +0 -29
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/sampler/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/types.d.ts +0 -46
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/build/src/trace/types.js +0 -18
- package/node_modules/@opencensus/propagation-b3/node_modules/@opencensus/core/package.json +0 -63
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/CHANGELOG.md +0 -39
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/LICENSE +0 -15
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/README.md +0 -412
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/bin/semver +0 -160
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/package.json +0 -28
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/range.bnf +0 -16
- package/node_modules/@opencensus/propagation-b3/node_modules/semver/semver.js +0 -1483
- package/node_modules/@opencensus/propagation-b3/package.json +0 -56
- package/node_modules/@pm2/agent/.drone.jsonnet +0 -104
- package/node_modules/@pm2/agent/.mocharc.yml +0 -12
- package/node_modules/@pm2/agent/.vscode/launch.json +0 -29
- package/node_modules/@pm2/agent/LICENSE +0 -661
- package/node_modules/@pm2/agent/README.md +0 -95
- package/node_modules/@pm2/agent/config.js +0 -30
- package/node_modules/@pm2/agent/constants.js +0 -98
- package/node_modules/@pm2/agent/index.js +0 -2
- package/node_modules/@pm2/agent/node_modules/.bin/semver +0 -12
- package/node_modules/@pm2/agent/node_modules/.bin/semver.cmd +0 -17
- package/node_modules/@pm2/agent/node_modules/.bin/semver.ps1 +0 -28
- package/node_modules/@pm2/agent/node_modules/chalk/index.d.ts +0 -411
- package/node_modules/@pm2/agent/node_modules/chalk/license +0 -9
- package/node_modules/@pm2/agent/node_modules/chalk/package.json +0 -63
- package/node_modules/@pm2/agent/node_modules/chalk/readme.md +0 -304
- package/node_modules/@pm2/agent/node_modules/chalk/source/index.js +0 -233
- package/node_modules/@pm2/agent/node_modules/chalk/source/templates.js +0 -134
- package/node_modules/@pm2/agent/node_modules/chalk/source/util.js +0 -39
- package/node_modules/@pm2/agent/node_modules/semver/CHANGELOG.md +0 -101
- package/node_modules/@pm2/agent/node_modules/semver/LICENSE +0 -15
- package/node_modules/@pm2/agent/node_modules/semver/README.md +0 -563
- package/node_modules/@pm2/agent/node_modules/semver/bin/semver.js +0 -173
- package/node_modules/@pm2/agent/node_modules/semver/classes/comparator.js +0 -139
- package/node_modules/@pm2/agent/node_modules/semver/classes/index.js +0 -5
- package/node_modules/@pm2/agent/node_modules/semver/classes/range.js +0 -453
- package/node_modules/@pm2/agent/node_modules/semver/classes/semver.js +0 -290
- package/node_modules/@pm2/agent/node_modules/semver/functions/clean.js +0 -6
- package/node_modules/@pm2/agent/node_modules/semver/functions/cmp.js +0 -48
- package/node_modules/@pm2/agent/node_modules/semver/functions/coerce.js +0 -51
- package/node_modules/@pm2/agent/node_modules/semver/functions/compare-build.js +0 -7
- package/node_modules/@pm2/agent/node_modules/semver/functions/compare-loose.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/compare.js +0 -5
- package/node_modules/@pm2/agent/node_modules/semver/functions/diff.js +0 -23
- package/node_modules/@pm2/agent/node_modules/semver/functions/eq.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/gt.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/gte.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/inc.js +0 -15
- package/node_modules/@pm2/agent/node_modules/semver/functions/lt.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/lte.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/major.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/minor.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/neq.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/parse.js +0 -37
- package/node_modules/@pm2/agent/node_modules/semver/functions/patch.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/prerelease.js +0 -6
- package/node_modules/@pm2/agent/node_modules/semver/functions/rcompare.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/rsort.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/satisfies.js +0 -10
- package/node_modules/@pm2/agent/node_modules/semver/functions/sort.js +0 -3
- package/node_modules/@pm2/agent/node_modules/semver/functions/valid.js +0 -6
- package/node_modules/@pm2/agent/node_modules/semver/index.js +0 -47
- package/node_modules/@pm2/agent/node_modules/semver/internal/constants.js +0 -17
- package/node_modules/@pm2/agent/node_modules/semver/internal/debug.js +0 -9
- package/node_modules/@pm2/agent/node_modules/semver/internal/identifiers.js +0 -23
- package/node_modules/@pm2/agent/node_modules/semver/internal/re.js +0 -179
- package/node_modules/@pm2/agent/node_modules/semver/package.json +0 -38
- package/node_modules/@pm2/agent/node_modules/semver/preload.js +0 -2
- package/node_modules/@pm2/agent/node_modules/semver/range.bnf +0 -16
- package/node_modules/@pm2/agent/node_modules/semver/ranges/gtr.js +0 -4
- package/node_modules/@pm2/agent/node_modules/semver/ranges/intersects.js +0 -7
- package/node_modules/@pm2/agent/node_modules/semver/ranges/ltr.js +0 -4
- package/node_modules/@pm2/agent/node_modules/semver/ranges/max-satisfying.js +0 -25
- package/node_modules/@pm2/agent/node_modules/semver/ranges/min-satisfying.js +0 -24
- package/node_modules/@pm2/agent/node_modules/semver/ranges/min-version.js +0 -57
- package/node_modules/@pm2/agent/node_modules/semver/ranges/outside.js +0 -80
- package/node_modules/@pm2/agent/node_modules/semver/ranges/simplify.js +0 -44
- package/node_modules/@pm2/agent/node_modules/semver/ranges/to-comparators.js +0 -8
- package/node_modules/@pm2/agent/node_modules/semver/ranges/valid.js +0 -11
- package/node_modules/@pm2/agent/package.json +0 -41
- package/node_modules/@pm2/agent/src/InteractorClient.js +0 -502
- package/node_modules/@pm2/agent/src/InteractorDaemon.js +0 -452
- package/node_modules/@pm2/agent/src/PM2Client.js +0 -112
- package/node_modules/@pm2/agent/src/PM2Interface.js +0 -180
- package/node_modules/@pm2/agent/src/TransporterInterface.js +0 -173
- package/node_modules/@pm2/agent/src/Utility.js +0 -395
- package/node_modules/@pm2/agent/src/WatchDog.js +0 -70
- package/node_modules/@pm2/agent/src/push/DataRetriever.js +0 -77
- package/node_modules/@pm2/agent/src/push/PushInteractor.js +0 -206
- package/node_modules/@pm2/agent/src/push/TransactionAggregator.js +0 -670
- package/node_modules/@pm2/agent/src/reverse/ReverseInteractor.js +0 -128
- package/node_modules/@pm2/agent/src/transporters/Transporter.js +0 -129
- package/node_modules/@pm2/agent/src/transporters/WebsocketTransport.js +0 -204
- package/node_modules/@pm2/agent/src/utils/BinaryHeap.js +0 -135
- package/node_modules/@pm2/agent/src/utils/EDS.js +0 -111
- package/node_modules/@pm2/agent/src/utils/probes/Histogram.js +0 -204
- package/node_modules/@pm2/agent/src/utils/units.js +0 -10
- package/node_modules/@pm2/io/.drone.jsonnet +0 -114
- package/node_modules/@pm2/io/.mocharc.js +0 -17
- package/node_modules/@pm2/io/.vscode/settings.json +0 -3
- package/node_modules/@pm2/io/CHANGELOG.md +0 -13
- package/node_modules/@pm2/io/LICENSE.md +0 -201
- package/node_modules/@pm2/io/NOTES.md +0 -73
- package/node_modules/@pm2/io/README.md +0 -574
- package/node_modules/@pm2/io/build/main/census/config/default-config.d.ts +0 -8
- package/node_modules/@pm2/io/build/main/census/config/default-config.js +0 -12
- package/node_modules/@pm2/io/build/main/census/constants.d.ts +0 -9
- package/node_modules/@pm2/io/build/main/census/constants.js +0 -12
- package/node_modules/@pm2/io/build/main/census/exporter.d.ts +0 -18
- package/node_modules/@pm2/io/build/main/census/exporter.js +0 -103
- package/node_modules/@pm2/io/build/main/census/instrumentation/ext-types.d.ts +0 -12
- package/node_modules/@pm2/io/build/main/census/instrumentation/ext-types.js +0 -1
- package/node_modules/@pm2/io/build/main/census/instrumentation/plugin-loader.d.ts +0 -14
- package/node_modules/@pm2/io/build/main/census/instrumentation/plugin-loader.js +0 -94
- package/node_modules/@pm2/io/build/main/census/plugins/express.d.ts +0 -13
- package/node_modules/@pm2/io/build/main/census/plugins/express.js +0 -120
- package/node_modules/@pm2/io/build/main/census/plugins/http.d.ts +0 -46
- package/node_modules/@pm2/io/build/main/census/plugins/http.js +0 -325
- package/node_modules/@pm2/io/build/main/census/plugins/http2.d.ts +0 -17
- package/node_modules/@pm2/io/build/main/census/plugins/http2.js +0 -163
- package/node_modules/@pm2/io/build/main/census/plugins/https.d.ts +0 -9
- package/node_modules/@pm2/io/build/main/census/plugins/https.js +0 -61
- package/node_modules/@pm2/io/build/main/census/plugins/ioredis.d.ts +0 -23
- package/node_modules/@pm2/io/build/main/census/plugins/ioredis.js +0 -89
- package/node_modules/@pm2/io/build/main/census/plugins/mongodb.d.ts +0 -21
- package/node_modules/@pm2/io/build/main/census/plugins/mongodb.js +0 -128
- package/node_modules/@pm2/io/build/main/census/plugins/mysql.d.ts +0 -21
- package/node_modules/@pm2/io/build/main/census/plugins/mysql.js +0 -82
- package/node_modules/@pm2/io/build/main/census/plugins/mysql2.d.ts +0 -21
- package/node_modules/@pm2/io/build/main/census/plugins/mysql2.js +0 -82
- package/node_modules/@pm2/io/build/main/census/plugins/net.d.ts +0 -8
- package/node_modules/@pm2/io/build/main/census/plugins/net.js +0 -79
- package/node_modules/@pm2/io/build/main/census/plugins/pg.d.ts +0 -23
- package/node_modules/@pm2/io/build/main/census/plugins/pg.js +0 -148
- package/node_modules/@pm2/io/build/main/census/plugins/redis.d.ts +0 -19
- package/node_modules/@pm2/io/build/main/census/plugins/redis.js +0 -114
- package/node_modules/@pm2/io/build/main/census/plugins/vue.d.ts +0 -12
- package/node_modules/@pm2/io/build/main/census/plugins/vue.js +0 -78
- package/node_modules/@pm2/io/build/main/census/tracer.d.ts +0 -19
- package/node_modules/@pm2/io/build/main/census/tracer.js +0 -67
- package/node_modules/@pm2/io/build/main/configuration.d.ts +0 -6
- package/node_modules/@pm2/io/build/main/configuration.js +0 -125
- package/node_modules/@pm2/io/build/main/constants.d.ts +0 -5
- package/node_modules/@pm2/io/build/main/constants.js +0 -15
- package/node_modules/@pm2/io/build/main/featureManager.d.ts +0 -14
- package/node_modules/@pm2/io/build/main/featureManager.js +0 -105
- package/node_modules/@pm2/io/build/main/features/dependencies.d.ts +0 -7
- package/node_modules/@pm2/io/build/main/features/dependencies.js +0 -45
- package/node_modules/@pm2/io/build/main/features/entrypoint.d.ts +0 -11
- package/node_modules/@pm2/io/build/main/features/entrypoint.js +0 -52
- package/node_modules/@pm2/io/build/main/features/events.d.ts +0 -8
- package/node_modules/@pm2/io/build/main/features/events.js +0 -44
- package/node_modules/@pm2/io/build/main/features/metrics.d.ts +0 -24
- package/node_modules/@pm2/io/build/main/features/metrics.js +0 -89
- package/node_modules/@pm2/io/build/main/features/notify.d.ts +0 -23
- package/node_modules/@pm2/io/build/main/features/notify.js +0 -224
- package/node_modules/@pm2/io/build/main/features/profiling.d.ts +0 -18
- package/node_modules/@pm2/io/build/main/features/profiling.js +0 -68
- package/node_modules/@pm2/io/build/main/features/tracing.d.ts +0 -25
- package/node_modules/@pm2/io/build/main/features/tracing.js +0 -149
- package/node_modules/@pm2/io/build/main/index.d.ts +0 -3
- package/node_modules/@pm2/io/build/main/index.js +0 -8
- package/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.d.ts +0 -17
- package/node_modules/@pm2/io/build/main/metrics/eventLoopMetrics.js +0 -128
- package/node_modules/@pm2/io/build/main/metrics/httpMetrics.d.ts +0 -18
- package/node_modules/@pm2/io/build/main/metrics/httpMetrics.js +0 -178
- package/node_modules/@pm2/io/build/main/metrics/network.d.ts +0 -15
- package/node_modules/@pm2/io/build/main/metrics/network.js +0 -121
- package/node_modules/@pm2/io/build/main/metrics/runtime.d.ts +0 -16
- package/node_modules/@pm2/io/build/main/metrics/runtime.js +0 -153
- package/node_modules/@pm2/io/build/main/metrics/v8.d.ts +0 -23
- package/node_modules/@pm2/io/build/main/metrics/v8.js +0 -100
- package/node_modules/@pm2/io/build/main/pmx.d.ts +0 -54
- package/node_modules/@pm2/io/build/main/pmx.js +0 -283
- package/node_modules/@pm2/io/build/main/profilers/addonProfiler.d.ts +0 -16
- package/node_modules/@pm2/io/build/main/profilers/addonProfiler.js +0 -172
- package/node_modules/@pm2/io/build/main/profilers/inspectorProfiler.d.ts +0 -18
- package/node_modules/@pm2/io/build/main/profilers/inspectorProfiler.js +0 -268
- package/node_modules/@pm2/io/build/main/serviceManager.d.ts +0 -7
- package/node_modules/@pm2/io/build/main/serviceManager.js +0 -19
- package/node_modules/@pm2/io/build/main/services/actions.d.ts +0 -20
- package/node_modules/@pm2/io/build/main/services/actions.js +0 -146
- package/node_modules/@pm2/io/build/main/services/inspector.d.ts +0 -8
- package/node_modules/@pm2/io/build/main/services/inspector.js +0 -42
- package/node_modules/@pm2/io/build/main/services/metrics.d.ts +0 -63
- package/node_modules/@pm2/io/build/main/services/metrics.js +0 -186
- package/node_modules/@pm2/io/build/main/services/runtimeStats.d.ts +0 -10
- package/node_modules/@pm2/io/build/main/services/runtimeStats.js +0 -49
- package/node_modules/@pm2/io/build/main/services/transport.d.ts +0 -22
- package/node_modules/@pm2/io/build/main/services/transport.js +0 -13
- package/node_modules/@pm2/io/build/main/transports/IPCTransport.d.ts +0 -17
- package/node_modules/@pm2/io/build/main/transports/IPCTransport.js +0 -102
- package/node_modules/@pm2/io/build/main/transports/WebsocketTransport.d.ts +0 -0
- package/node_modules/@pm2/io/build/main/transports/WebsocketTransport.js +0 -1
- package/node_modules/@pm2/io/build/main/utils/BinaryHeap.d.ts +0 -16
- package/node_modules/@pm2/io/build/main/utils/BinaryHeap.js +0 -109
- package/node_modules/@pm2/io/build/main/utils/EDS.d.ts +0 -21
- package/node_modules/@pm2/io/build/main/utils/EDS.js +0 -93
- package/node_modules/@pm2/io/build/main/utils/EWMA.d.ts +0 -12
- package/node_modules/@pm2/io/build/main/utils/EWMA.js +0 -26
- package/node_modules/@pm2/io/build/main/utils/autocast.d.ts +0 -13
- package/node_modules/@pm2/io/build/main/utils/autocast.js +0 -49
- package/node_modules/@pm2/io/build/main/utils/metrics/counter.d.ts +0 -10
- package/node_modules/@pm2/io/build/main/utils/metrics/counter.js +0 -28
- package/node_modules/@pm2/io/build/main/utils/metrics/gauge.d.ts +0 -7
- package/node_modules/@pm2/io/build/main/utils/metrics/gauge.js +0 -20
- package/node_modules/@pm2/io/build/main/utils/metrics/histogram.d.ts +0 -43
- package/node_modules/@pm2/io/build/main/utils/metrics/histogram.js +0 -160
- package/node_modules/@pm2/io/build/main/utils/metrics/meter.d.ts +0 -12
- package/node_modules/@pm2/io/build/main/utils/metrics/meter.js +0 -36
- package/node_modules/@pm2/io/build/main/utils/miscellaneous.d.ts +0 -4
- package/node_modules/@pm2/io/build/main/utils/miscellaneous.js +0 -17
- package/node_modules/@pm2/io/build/main/utils/module.d.ts +0 -5
- package/node_modules/@pm2/io/build/main/utils/module.js +0 -53
- package/node_modules/@pm2/io/build/main/utils/stackParser.d.ts +0 -37
- package/node_modules/@pm2/io/build/main/utils/stackParser.js +0 -125
- package/node_modules/@pm2/io/build/main/utils/transactionAggregator.d.ts +0 -74
- package/node_modules/@pm2/io/build/main/utils/transactionAggregator.js +0 -317
- package/node_modules/@pm2/io/build/main/utils/units.d.ts +0 -10
- package/node_modules/@pm2/io/build/main/utils/units.js +0 -16
- package/node_modules/@pm2/io/docker-compose.yml +0 -27
- package/node_modules/@pm2/io/docs/README.md +0 -106
- package/node_modules/@pm2/io/node_modules/.bin/semver +0 -12
- package/node_modules/@pm2/io/node_modules/.bin/semver.cmd +0 -17
- package/node_modules/@pm2/io/node_modules/.bin/semver.ps1 +0 -28
- package/node_modules/@pm2/io/node_modules/async/CHANGELOG.md +0 -275
- package/node_modules/@pm2/io/node_modules/async/LICENSE +0 -19
- package/node_modules/@pm2/io/node_modules/async/README.md +0 -56
- package/node_modules/@pm2/io/node_modules/async/all.js +0 -50
- package/node_modules/@pm2/io/node_modules/async/allLimit.js +0 -42
- package/node_modules/@pm2/io/node_modules/async/allSeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/any.js +0 -52
- package/node_modules/@pm2/io/node_modules/async/anyLimit.js +0 -43
- package/node_modules/@pm2/io/node_modules/async/anySeries.js +0 -38
- package/node_modules/@pm2/io/node_modules/async/apply.js +0 -68
- package/node_modules/@pm2/io/node_modules/async/applyEach.js +0 -51
- package/node_modules/@pm2/io/node_modules/async/applyEachSeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/asyncify.js +0 -110
- package/node_modules/@pm2/io/node_modules/async/auto.js +0 -289
- package/node_modules/@pm2/io/node_modules/async/autoInject.js +0 -170
- package/node_modules/@pm2/io/node_modules/async/bower.json +0 -17
- package/node_modules/@pm2/io/node_modules/async/cargo.js +0 -94
- package/node_modules/@pm2/io/node_modules/async/compose.js +0 -58
- package/node_modules/@pm2/io/node_modules/async/concat.js +0 -43
- package/node_modules/@pm2/io/node_modules/async/concatLimit.js +0 -65
- package/node_modules/@pm2/io/node_modules/async/concatSeries.js +0 -36
- package/node_modules/@pm2/io/node_modules/async/constant.js +0 -66
- package/node_modules/@pm2/io/node_modules/async/detect.js +0 -61
- package/node_modules/@pm2/io/node_modules/async/detectLimit.js +0 -48
- package/node_modules/@pm2/io/node_modules/async/detectSeries.js +0 -38
- package/node_modules/@pm2/io/node_modules/async/dir.js +0 -43
- package/node_modules/@pm2/io/node_modules/async/doDuring.js +0 -66
- package/node_modules/@pm2/io/node_modules/async/doUntil.js +0 -39
- package/node_modules/@pm2/io/node_modules/async/doWhilst.js +0 -59
- package/node_modules/@pm2/io/node_modules/async/during.js +0 -76
- package/node_modules/@pm2/io/node_modules/async/each.js +0 -82
- package/node_modules/@pm2/io/node_modules/async/eachLimit.js +0 -45
- package/node_modules/@pm2/io/node_modules/async/eachOf.js +0 -111
- package/node_modules/@pm2/io/node_modules/async/eachOfLimit.js +0 -41
- package/node_modules/@pm2/io/node_modules/async/eachOfSeries.js +0 -35
- package/node_modules/@pm2/io/node_modules/async/eachSeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/ensureAsync.js +0 -73
- package/node_modules/@pm2/io/node_modules/async/every.js +0 -50
- package/node_modules/@pm2/io/node_modules/async/everyLimit.js +0 -42
- package/node_modules/@pm2/io/node_modules/async/everySeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/filter.js +0 -45
- package/node_modules/@pm2/io/node_modules/async/filterLimit.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/filterSeries.js +0 -35
- package/node_modules/@pm2/io/node_modules/async/find.js +0 -61
- package/node_modules/@pm2/io/node_modules/async/findLimit.js +0 -48
- package/node_modules/@pm2/io/node_modules/async/findSeries.js +0 -38
- package/node_modules/@pm2/io/node_modules/async/foldl.js +0 -78
- package/node_modules/@pm2/io/node_modules/async/foldr.js +0 -44
- package/node_modules/@pm2/io/node_modules/async/forEach.js +0 -82
- package/node_modules/@pm2/io/node_modules/async/forEachLimit.js +0 -45
- package/node_modules/@pm2/io/node_modules/async/forEachOf.js +0 -111
- package/node_modules/@pm2/io/node_modules/async/forEachOfLimit.js +0 -41
- package/node_modules/@pm2/io/node_modules/async/forEachOfSeries.js +0 -35
- package/node_modules/@pm2/io/node_modules/async/forEachSeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/forever.js +0 -65
- package/node_modules/@pm2/io/node_modules/async/groupBy.js +0 -54
- package/node_modules/@pm2/io/node_modules/async/groupByLimit.js +0 -71
- package/node_modules/@pm2/io/node_modules/async/groupBySeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/index.js +0 -582
- package/node_modules/@pm2/io/node_modules/async/inject.js +0 -78
- package/node_modules/@pm2/io/node_modules/async/internal/DoublyLinkedList.js +0 -88
- package/node_modules/@pm2/io/node_modules/async/internal/applyEach.js +0 -38
- package/node_modules/@pm2/io/node_modules/async/internal/breakLoop.js +0 -9
- package/node_modules/@pm2/io/node_modules/async/internal/consoleFunc.js +0 -42
- package/node_modules/@pm2/io/node_modules/async/internal/createTester.js +0 -44
- package/node_modules/@pm2/io/node_modules/async/internal/doLimit.js +0 -12
- package/node_modules/@pm2/io/node_modules/async/internal/doParallel.js +0 -23
- package/node_modules/@pm2/io/node_modules/async/internal/doParallelLimit.js +0 -23
- package/node_modules/@pm2/io/node_modules/async/internal/eachOfLimit.js +0 -74
- package/node_modules/@pm2/io/node_modules/async/internal/filter.js +0 -75
- package/node_modules/@pm2/io/node_modules/async/internal/findGetResult.js +0 -10
- package/node_modules/@pm2/io/node_modules/async/internal/getIterator.js +0 -13
- package/node_modules/@pm2/io/node_modules/async/internal/initialParams.js +0 -21
- package/node_modules/@pm2/io/node_modules/async/internal/iterator.js +0 -58
- package/node_modules/@pm2/io/node_modules/async/internal/map.js +0 -35
- package/node_modules/@pm2/io/node_modules/async/internal/notId.js +0 -10
- package/node_modules/@pm2/io/node_modules/async/internal/once.js +0 -15
- package/node_modules/@pm2/io/node_modules/async/internal/onlyOnce.js +0 -15
- package/node_modules/@pm2/io/node_modules/async/internal/parallel.js +0 -42
- package/node_modules/@pm2/io/node_modules/async/internal/queue.js +0 -204
- package/node_modules/@pm2/io/node_modules/async/internal/reject.js +0 -21
- package/node_modules/@pm2/io/node_modules/async/internal/setImmediate.js +0 -42
- package/node_modules/@pm2/io/node_modules/async/internal/slice.js +0 -16
- package/node_modules/@pm2/io/node_modules/async/internal/withoutIndex.js +0 -12
- package/node_modules/@pm2/io/node_modules/async/internal/wrapAsync.js +0 -25
- package/node_modules/@pm2/io/node_modules/async/log.js +0 -41
- package/node_modules/@pm2/io/node_modules/async/map.js +0 -54
- package/node_modules/@pm2/io/node_modules/async/mapLimit.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/mapSeries.js +0 -36
- package/node_modules/@pm2/io/node_modules/async/mapValues.js +0 -63
- package/node_modules/@pm2/io/node_modules/async/mapValuesLimit.js +0 -61
- package/node_modules/@pm2/io/node_modules/async/mapValuesSeries.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/memoize.js +0 -101
- package/node_modules/@pm2/io/node_modules/async/nextTick.js +0 -51
- package/node_modules/@pm2/io/node_modules/async/package.json +0 -80
- package/node_modules/@pm2/io/node_modules/async/parallel.js +0 -90
- package/node_modules/@pm2/io/node_modules/async/parallelLimit.js +0 -40
- package/node_modules/@pm2/io/node_modules/async/priorityQueue.js +0 -98
- package/node_modules/@pm2/io/node_modules/async/queue.js +0 -130
- package/node_modules/@pm2/io/node_modules/async/race.js +0 -70
- package/node_modules/@pm2/io/node_modules/async/reduce.js +0 -78
- package/node_modules/@pm2/io/node_modules/async/reduceRight.js +0 -44
- package/node_modules/@pm2/io/node_modules/async/reflect.js +0 -81
- package/node_modules/@pm2/io/node_modules/async/reflectAll.js +0 -105
- package/node_modules/@pm2/io/node_modules/async/reject.js +0 -45
- package/node_modules/@pm2/io/node_modules/async/rejectLimit.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/rejectSeries.js +0 -35
- package/node_modules/@pm2/io/node_modules/async/retry.js +0 -156
- package/node_modules/@pm2/io/node_modules/async/retryable.js +0 -65
- package/node_modules/@pm2/io/node_modules/async/select.js +0 -45
- package/node_modules/@pm2/io/node_modules/async/selectLimit.js +0 -37
- package/node_modules/@pm2/io/node_modules/async/selectSeries.js +0 -35
- package/node_modules/@pm2/io/node_modules/async/seq.js +0 -91
- package/node_modules/@pm2/io/node_modules/async/series.js +0 -85
- package/node_modules/@pm2/io/node_modules/async/setImmediate.js +0 -45
- package/node_modules/@pm2/io/node_modules/async/some.js +0 -52
- package/node_modules/@pm2/io/node_modules/async/someLimit.js +0 -43
- package/node_modules/@pm2/io/node_modules/async/someSeries.js +0 -38
- package/node_modules/@pm2/io/node_modules/async/sortBy.js +0 -91
- package/node_modules/@pm2/io/node_modules/async/timeout.js +0 -89
- package/node_modules/@pm2/io/node_modules/async/times.js +0 -50
- package/node_modules/@pm2/io/node_modules/async/timesLimit.js +0 -42
- package/node_modules/@pm2/io/node_modules/async/timesSeries.js +0 -32
- package/node_modules/@pm2/io/node_modules/async/transform.js +0 -87
- package/node_modules/@pm2/io/node_modules/async/tryEach.js +0 -81
- package/node_modules/@pm2/io/node_modules/async/unmemoize.js +0 -25
- package/node_modules/@pm2/io/node_modules/async/until.js +0 -41
- package/node_modules/@pm2/io/node_modules/async/waterfall.js +0 -113
- package/node_modules/@pm2/io/node_modules/async/whilst.js +0 -72
- package/node_modules/@pm2/io/node_modules/async/wrapSync.js +0 -110
- package/node_modules/@pm2/io/node_modules/eventemitter2/CHANGELOG.md +0 -122
- package/node_modules/@pm2/io/node_modules/eventemitter2/LICENSE.txt +0 -21
- package/node_modules/@pm2/io/node_modules/eventemitter2/README.md +0 -809
- package/node_modules/@pm2/io/node_modules/eventemitter2/eventemitter2.d.ts +0 -150
- package/node_modules/@pm2/io/node_modules/eventemitter2/index.js +0 -1
- package/node_modules/@pm2/io/node_modules/eventemitter2/lib/eventemitter2.js +0 -1629
- package/node_modules/@pm2/io/node_modules/eventemitter2/package.json +0 -89
- package/node_modules/@pm2/io/node_modules/semver/CHANGELOG.md +0 -70
- package/node_modules/@pm2/io/node_modules/semver/LICENSE +0 -15
- package/node_modules/@pm2/io/node_modules/semver/README.md +0 -443
- package/node_modules/@pm2/io/node_modules/semver/bin/semver.js +0 -174
- package/node_modules/@pm2/io/node_modules/semver/package.json +0 -28
- package/node_modules/@pm2/io/node_modules/semver/range.bnf +0 -16
- package/node_modules/@pm2/io/node_modules/semver/semver.js +0 -1596
- package/node_modules/@pm2/io/package.json +0 -97
- package/node_modules/@pm2/io/pres/io-black.png +0 -0
- package/node_modules/@pm2/io/pres/io-white.png +0 -0
- package/node_modules/@pm2/io/test.sh +0 -67
- package/node_modules/@pm2/js-api/.drone.jsonnet +0 -100
- package/node_modules/@pm2/js-api/LICENSE +0 -201
- package/node_modules/@pm2/js-api/README.md +0 -375
- package/node_modules/@pm2/js-api/constants.js +0 -21
- package/node_modules/@pm2/js-api/index.js +0 -1
- package/node_modules/@pm2/js-api/node_modules/async/CHANGELOG.md +0 -275
- package/node_modules/@pm2/js-api/node_modules/async/LICENSE +0 -19
- package/node_modules/@pm2/js-api/node_modules/async/README.md +0 -56
- package/node_modules/@pm2/js-api/node_modules/async/all.js +0 -50
- package/node_modules/@pm2/js-api/node_modules/async/allLimit.js +0 -42
- package/node_modules/@pm2/js-api/node_modules/async/allSeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/any.js +0 -52
- package/node_modules/@pm2/js-api/node_modules/async/anyLimit.js +0 -43
- package/node_modules/@pm2/js-api/node_modules/async/anySeries.js +0 -38
- package/node_modules/@pm2/js-api/node_modules/async/apply.js +0 -68
- package/node_modules/@pm2/js-api/node_modules/async/applyEach.js +0 -51
- package/node_modules/@pm2/js-api/node_modules/async/applyEachSeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/asyncify.js +0 -110
- package/node_modules/@pm2/js-api/node_modules/async/auto.js +0 -289
- package/node_modules/@pm2/js-api/node_modules/async/autoInject.js +0 -170
- package/node_modules/@pm2/js-api/node_modules/async/bower.json +0 -17
- package/node_modules/@pm2/js-api/node_modules/async/cargo.js +0 -94
- package/node_modules/@pm2/js-api/node_modules/async/compose.js +0 -58
- package/node_modules/@pm2/js-api/node_modules/async/concat.js +0 -43
- package/node_modules/@pm2/js-api/node_modules/async/concatLimit.js +0 -65
- package/node_modules/@pm2/js-api/node_modules/async/concatSeries.js +0 -36
- package/node_modules/@pm2/js-api/node_modules/async/constant.js +0 -66
- package/node_modules/@pm2/js-api/node_modules/async/detect.js +0 -61
- package/node_modules/@pm2/js-api/node_modules/async/detectLimit.js +0 -48
- package/node_modules/@pm2/js-api/node_modules/async/detectSeries.js +0 -38
- package/node_modules/@pm2/js-api/node_modules/async/dir.js +0 -43
- package/node_modules/@pm2/js-api/node_modules/async/doDuring.js +0 -66
- package/node_modules/@pm2/js-api/node_modules/async/doUntil.js +0 -39
- package/node_modules/@pm2/js-api/node_modules/async/doWhilst.js +0 -59
- package/node_modules/@pm2/js-api/node_modules/async/during.js +0 -76
- package/node_modules/@pm2/js-api/node_modules/async/each.js +0 -82
- package/node_modules/@pm2/js-api/node_modules/async/eachLimit.js +0 -45
- package/node_modules/@pm2/js-api/node_modules/async/eachOf.js +0 -111
- package/node_modules/@pm2/js-api/node_modules/async/eachOfLimit.js +0 -41
- package/node_modules/@pm2/js-api/node_modules/async/eachOfSeries.js +0 -35
- package/node_modules/@pm2/js-api/node_modules/async/eachSeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/ensureAsync.js +0 -73
- package/node_modules/@pm2/js-api/node_modules/async/every.js +0 -50
- package/node_modules/@pm2/js-api/node_modules/async/everyLimit.js +0 -42
- package/node_modules/@pm2/js-api/node_modules/async/everySeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/filter.js +0 -45
- package/node_modules/@pm2/js-api/node_modules/async/filterLimit.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/filterSeries.js +0 -35
- package/node_modules/@pm2/js-api/node_modules/async/find.js +0 -61
- package/node_modules/@pm2/js-api/node_modules/async/findLimit.js +0 -48
- package/node_modules/@pm2/js-api/node_modules/async/findSeries.js +0 -38
- package/node_modules/@pm2/js-api/node_modules/async/foldl.js +0 -78
- package/node_modules/@pm2/js-api/node_modules/async/foldr.js +0 -44
- package/node_modules/@pm2/js-api/node_modules/async/forEach.js +0 -82
- package/node_modules/@pm2/js-api/node_modules/async/forEachLimit.js +0 -45
- package/node_modules/@pm2/js-api/node_modules/async/forEachOf.js +0 -111
- package/node_modules/@pm2/js-api/node_modules/async/forEachOfLimit.js +0 -41
- package/node_modules/@pm2/js-api/node_modules/async/forEachOfSeries.js +0 -35
- package/node_modules/@pm2/js-api/node_modules/async/forEachSeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/forever.js +0 -65
- package/node_modules/@pm2/js-api/node_modules/async/groupBy.js +0 -54
- package/node_modules/@pm2/js-api/node_modules/async/groupByLimit.js +0 -71
- package/node_modules/@pm2/js-api/node_modules/async/groupBySeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/index.js +0 -582
- package/node_modules/@pm2/js-api/node_modules/async/inject.js +0 -78
- package/node_modules/@pm2/js-api/node_modules/async/internal/DoublyLinkedList.js +0 -88
- package/node_modules/@pm2/js-api/node_modules/async/internal/applyEach.js +0 -38
- package/node_modules/@pm2/js-api/node_modules/async/internal/breakLoop.js +0 -9
- package/node_modules/@pm2/js-api/node_modules/async/internal/consoleFunc.js +0 -42
- package/node_modules/@pm2/js-api/node_modules/async/internal/createTester.js +0 -44
- package/node_modules/@pm2/js-api/node_modules/async/internal/doLimit.js +0 -12
- package/node_modules/@pm2/js-api/node_modules/async/internal/doParallel.js +0 -23
- package/node_modules/@pm2/js-api/node_modules/async/internal/doParallelLimit.js +0 -23
- package/node_modules/@pm2/js-api/node_modules/async/internal/eachOfLimit.js +0 -74
- package/node_modules/@pm2/js-api/node_modules/async/internal/filter.js +0 -75
- package/node_modules/@pm2/js-api/node_modules/async/internal/findGetResult.js +0 -10
- package/node_modules/@pm2/js-api/node_modules/async/internal/getIterator.js +0 -13
- package/node_modules/@pm2/js-api/node_modules/async/internal/initialParams.js +0 -21
- package/node_modules/@pm2/js-api/node_modules/async/internal/iterator.js +0 -58
- package/node_modules/@pm2/js-api/node_modules/async/internal/map.js +0 -35
- package/node_modules/@pm2/js-api/node_modules/async/internal/notId.js +0 -10
- package/node_modules/@pm2/js-api/node_modules/async/internal/once.js +0 -15
- package/node_modules/@pm2/js-api/node_modules/async/internal/onlyOnce.js +0 -15
- package/node_modules/@pm2/js-api/node_modules/async/internal/parallel.js +0 -42
- package/node_modules/@pm2/js-api/node_modules/async/internal/queue.js +0 -204
- package/node_modules/@pm2/js-api/node_modules/async/internal/reject.js +0 -21
- package/node_modules/@pm2/js-api/node_modules/async/internal/setImmediate.js +0 -42
- package/node_modules/@pm2/js-api/node_modules/async/internal/slice.js +0 -16
- package/node_modules/@pm2/js-api/node_modules/async/internal/withoutIndex.js +0 -12
- package/node_modules/@pm2/js-api/node_modules/async/internal/wrapAsync.js +0 -25
- package/node_modules/@pm2/js-api/node_modules/async/log.js +0 -41
- package/node_modules/@pm2/js-api/node_modules/async/map.js +0 -54
- package/node_modules/@pm2/js-api/node_modules/async/mapLimit.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/mapSeries.js +0 -36
- package/node_modules/@pm2/js-api/node_modules/async/mapValues.js +0 -63
- package/node_modules/@pm2/js-api/node_modules/async/mapValuesLimit.js +0 -61
- package/node_modules/@pm2/js-api/node_modules/async/mapValuesSeries.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/memoize.js +0 -101
- package/node_modules/@pm2/js-api/node_modules/async/nextTick.js +0 -51
- package/node_modules/@pm2/js-api/node_modules/async/package.json +0 -80
- package/node_modules/@pm2/js-api/node_modules/async/parallel.js +0 -90
- package/node_modules/@pm2/js-api/node_modules/async/parallelLimit.js +0 -40
- package/node_modules/@pm2/js-api/node_modules/async/priorityQueue.js +0 -98
- package/node_modules/@pm2/js-api/node_modules/async/queue.js +0 -130
- package/node_modules/@pm2/js-api/node_modules/async/race.js +0 -70
- package/node_modules/@pm2/js-api/node_modules/async/reduce.js +0 -78
- package/node_modules/@pm2/js-api/node_modules/async/reduceRight.js +0 -44
- package/node_modules/@pm2/js-api/node_modules/async/reflect.js +0 -81
- package/node_modules/@pm2/js-api/node_modules/async/reflectAll.js +0 -105
- package/node_modules/@pm2/js-api/node_modules/async/reject.js +0 -45
- package/node_modules/@pm2/js-api/node_modules/async/rejectLimit.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/rejectSeries.js +0 -35
- package/node_modules/@pm2/js-api/node_modules/async/retry.js +0 -156
- package/node_modules/@pm2/js-api/node_modules/async/retryable.js +0 -65
- package/node_modules/@pm2/js-api/node_modules/async/select.js +0 -45
- package/node_modules/@pm2/js-api/node_modules/async/selectLimit.js +0 -37
- package/node_modules/@pm2/js-api/node_modules/async/selectSeries.js +0 -35
- package/node_modules/@pm2/js-api/node_modules/async/seq.js +0 -91
- package/node_modules/@pm2/js-api/node_modules/async/series.js +0 -85
- package/node_modules/@pm2/js-api/node_modules/async/setImmediate.js +0 -45
- package/node_modules/@pm2/js-api/node_modules/async/some.js +0 -52
- package/node_modules/@pm2/js-api/node_modules/async/someLimit.js +0 -43
- package/node_modules/@pm2/js-api/node_modules/async/someSeries.js +0 -38
- package/node_modules/@pm2/js-api/node_modules/async/sortBy.js +0 -91
- package/node_modules/@pm2/js-api/node_modules/async/timeout.js +0 -89
- package/node_modules/@pm2/js-api/node_modules/async/times.js +0 -50
- package/node_modules/@pm2/js-api/node_modules/async/timesLimit.js +0 -42
- package/node_modules/@pm2/js-api/node_modules/async/timesSeries.js +0 -32
- package/node_modules/@pm2/js-api/node_modules/async/transform.js +0 -87
- package/node_modules/@pm2/js-api/node_modules/async/tryEach.js +0 -81
- package/node_modules/@pm2/js-api/node_modules/async/unmemoize.js +0 -25
- package/node_modules/@pm2/js-api/node_modules/async/until.js +0 -41
- package/node_modules/@pm2/js-api/node_modules/async/waterfall.js +0 -113
- package/node_modules/@pm2/js-api/node_modules/async/whilst.js +0 -72
- package/node_modules/@pm2/js-api/node_modules/async/wrapSync.js +0 -110
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/CHANGELOG.md +0 -122
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/LICENSE.txt +0 -21
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/README.md +0 -809
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/eventemitter2.d.ts +0 -150
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/index.js +0 -1
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/lib/eventemitter2.js +0 -1629
- package/node_modules/@pm2/js-api/node_modules/eventemitter2/package.json +0 -89
- package/node_modules/@pm2/js-api/package.json +0 -77
- package/node_modules/@pm2/js-api/src/api_mappings.json +0 -1
- package/node_modules/@pm2/js-api/src/auth_strategies/browser_strategy.js +0 -67
- package/node_modules/@pm2/js-api/src/auth_strategies/embed_strategy.js +0 -138
- package/node_modules/@pm2/js-api/src/auth_strategies/standalone_strategy.js +0 -33
- package/node_modules/@pm2/js-api/src/auth_strategies/strategy.js +0 -57
- package/node_modules/@pm2/js-api/src/endpoint.js +0 -34
- package/node_modules/@pm2/js-api/src/keymetrics.js +0 -78
- package/node_modules/@pm2/js-api/src/namespace.js +0 -76
- package/node_modules/@pm2/js-api/src/network.js +0 -464
- package/node_modules/@pm2/js-api/src/utils/validator.js +0 -164
- package/node_modules/@pm2/js-api/src/utils/websocket.js +0 -181
- package/node_modules/@pm2/pm2-version-check/README.md +0 -8
- package/node_modules/@pm2/pm2-version-check/index.js +0 -54
- package/node_modules/@pm2/pm2-version-check/package.json +0 -11
- package/node_modules/@tootallnate/once/package.json +0 -45
- package/node_modules/@types/json5/README.md +0 -18
- package/node_modules/@types/json5/index.d.ts +0 -44
- package/node_modules/@types/json5/package.json +0 -16
- package/node_modules/@types/json5/types-metadata.json +0 -25
- package/server-config.json +0 -32
- package/www/assets/brand/bootstrap-outline.svg +0 -20
- package/www/assets/brand/bootstrap-punchout.svg +0 -18
- package/www/assets/brand/bootstrap-solid.svg +0 -17
- package/www/assets/css/docs.min.css +0 -11
- package/www/assets/css/docs.min.css.map +0 -1
- package/www/assets/css/ie10-viewport-bug-workaround.css +0 -13
- package/www/assets/css/src/docs.css +0 -1632
- package/www/assets/css/src/pygments-manni.css +0 -66
- package/www/assets/flash/ZeroClipboard.swf +0 -0
- package/www/assets/img/components.png +0 -0
- package/www/assets/img/devices.png +0 -0
- package/www/assets/img/expo-lyft.jpg +0 -0
- package/www/assets/img/expo-newsweek.jpg +0 -0
- package/www/assets/img/expo-riot.jpg +0 -0
- package/www/assets/img/expo-vogue.jpg +0 -0
- package/www/assets/img/process.png +0 -0
- package/www/assets/img/sass-less.png +0 -0
- package/www/assets/js/customize.min.js +0 -91
- package/www/assets/js/docs.min.js +0 -26
- package/www/assets/js/ie-emulation-modes-warning.js +0 -51
- package/www/assets/js/ie10-viewport-bug-workaround.js +0 -23
- package/www/assets/js/ie8-responsive-file-warning.js +0 -13
- package/www/assets/js/raw-files.min.js +0 -8
- package/www/assets/js/src/application.js +0 -183
- package/www/assets/js/src/customizer.js +0 -520
- package/www/assets/js/vendor/Blob.js +0 -211
- package/www/assets/js/vendor/FileSaver.js +0 -248
- package/www/assets/js/vendor/ZeroClipboard.min.js +0 -9
- package/www/assets/js/vendor/anchor.min.js +0 -6
- package/www/assets/js/vendor/autoprefixer.js +0 -21114
- package/www/assets/js/vendor/holder.min.js +0 -12
- package/www/assets/js/vendor/jquery.min.js +0 -5
- package/www/assets/js/vendor/jszip.min.js +0 -14
- package/www/assets/js/vendor/less.min.js +0 -16
- package/www/assets/js/vendor/uglify.min.js +0 -6
- package/www/css/bootstrap-theme.css +0 -587
- package/www/css/bootstrap-theme.css.map +0 -1
- package/www/css/bootstrap-theme.min.css +0 -6
- package/www/css/bootstrap-theme.min.css.map +0 -1
- package/www/css/bootstrap.css +0 -6757
- package/www/css/bootstrap.css.map +0 -1
- package/www/css/bootstrap.min.css +0 -6
- package/www/css/bootstrap.min.css.map +0 -1
- package/www/favicon.ico +0 -0
- package/www/fonts/glyphicons-halflings-regular.eot +0 -0
- package/www/fonts/glyphicons-halflings-regular.svg +0 -288
- package/www/fonts/glyphicons-halflings-regular.ttf +0 -0
- package/www/fonts/glyphicons-halflings-regular.woff +0 -0
- package/www/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/www/index.html +0 -117
- package/www/js/bootstrap.js +0 -2377
- package/www/js/bootstrap.min.js +0 -7
- package/www/js/npm.js +0 -13
- package/www/justified-nav.css +0 -88
- package/www/not-found.txt +0 -1
|
@@ -1,574 +0,0 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
<a href="http://pm2.keymetrics.io">
|
|
3
|
-
<img width=411px src="https://raw.githubusercontent.com/keymetrics/pm2-io-apm/master/pres/io-white.png">
|
|
4
|
-
</a>
|
|
5
|
-
<br/>
|
|
6
|
-
|
|
7
|
-
<br/>
|
|
8
|
-
<br/>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
The [@pm2/io](https://github.com/keymetrics/pm2-io-apm/tree/master/test) module comes along with PM2. It is the PM2 library responsible for gathering the metrics, reporting exceptions, exposing remote actions and every interaction with your application.
|
|
13
|
-
|
|
14
|
-
You can also use it as a standalone agent, if you want to connect your nodejs process to PM2 Enterprise but without having to launch your application with PM2.
|
|
15
|
-
|
|
16
|
-
# Table of Contents
|
|
17
|
-
|
|
18
|
-
- [**Installation**](https://github.com/keymetrics/pm2-io-apm/tree/master#installation)
|
|
19
|
-
- [**Expose Custom Metrics**](https://github.com/keymetrics/pm2-io-apm/tree/master#expose-custom-metrics)
|
|
20
|
-
- [**Expose Remote Actions**](https://github.com/keymetrics/pm2-io-apm#expose-remote-actions-trigger-functions-remotely)
|
|
21
|
-
- [**Report Custom Errors**](https://github.com/keymetrics/pm2-io-apm#report-user-error)
|
|
22
|
-
- [**Distributed Tracing**](https://github.com/keymetrics/pm2-io-apm#distributed-tracing)
|
|
23
|
-
- [**Configuration**](https://github.com/keymetrics/pm2-io-apm/tree/master#configuration)
|
|
24
|
-
- [**Migration Guide**](https://github.com/keymetrics/pm2-io-apm#migration-guides)
|
|
25
|
-
- [**Development**](https://github.com/keymetrics/pm2-io-apm/tree/master#development)
|
|
26
|
-
- [**Notes**](https://github.com/keymetrics/pm2-io-apm/tree/master#notes)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
# Installation
|
|
30
|
-
|
|
31
|
-
With npm:
|
|
32
|
-
|
|
33
|
-
```bash
|
|
34
|
-
npm install @pm2/io --save
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
With yarn:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
yarn add @pm2/io
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## V8 Runtime Metrics
|
|
44
|
-
|
|
45
|
-
To retrieve by default V8 Runtime metrics like:
|
|
46
|
-
- V8 Garbage Collector metrics
|
|
47
|
-
- [CPU Context Switch](https://unix.stackexchange.com/questions/442969/what-exactly-are-voluntary-context-switches)
|
|
48
|
-
- [Page Fault](https://en.wikipedia.org/wiki/Page_fault#Types)
|
|
49
|
-
|
|
50
|
-
Install:
|
|
51
|
-
|
|
52
|
-
```bash
|
|
53
|
-
npm install @pm2/node-runtime-stats
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
And restart the application.
|
|
57
|
-
|
|
58
|
-
## Custom Metrics
|
|
59
|
-
|
|
60
|
-
@pm2/io allows you to gather metrics from your code to be reported in the PM2 Plus/Enterprise dashboard.
|
|
61
|
-
|
|
62
|
-
### Create a custom metrics
|
|
63
|
-
|
|
64
|
-
You can create a new custom metrics with the method `metric()` of `@pm2/io`.
|
|
65
|
-
|
|
66
|
-
```javascript
|
|
67
|
-
const io = require('@pm2/io');
|
|
68
|
-
|
|
69
|
-
const users = io.metric({
|
|
70
|
-
name: 'Realtime user',
|
|
71
|
-
});
|
|
72
|
-
users.set(10)
|
|
73
|
-
```
|
|
74
|
-
|
|
75
|
-
This arguments are available:
|
|
76
|
-
|
|
77
|
-
- **name**: The metric name (required; string)
|
|
78
|
-
- **id**: The type of metric (default 'metric', string)
|
|
79
|
-
- **unit**: unit of the measure (default ''; string)
|
|
80
|
-
- **historic**: keep the history in PM2 Plus (default: true; boolean)
|
|
81
|
-
|
|
82
|
-
There are 4 different types of metrics:
|
|
83
|
-
|
|
84
|
-
- **gauge**: To expose a variable's value
|
|
85
|
-
- **counter**: A discrete counter to be triggered manually to count a number of occurrence
|
|
86
|
-
- **meter**: To measure a frequency, a number of occurrences of a repeating event per unit of time
|
|
87
|
-
- **histogram**: To measure a statistic, a statistic on a metric over the last 5 minutes
|
|
88
|
-
|
|
89
|
-
### Metric: Variable Exposition
|
|
90
|
-
|
|
91
|
-
The first type of metric, called `metric`, allows to expose a variable's value. The variable can be exposed passively, with a function that gets called every second, or actively, with a method that you use to update the value.
|
|
92
|
-
|
|
93
|
-
#### Active Mode
|
|
94
|
-
|
|
95
|
-
In active mode, you need to create a probe and call the method `set()` to update the value.
|
|
96
|
-
|
|
97
|
-
```javascript
|
|
98
|
-
const myMetric = io.metric({
|
|
99
|
-
name: 'Realtime Value'
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
myMetric.set(23);
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
#### Passive Mode
|
|
106
|
-
|
|
107
|
-
In passive mode you hust need to return the variable to be monitored:
|
|
108
|
-
|
|
109
|
-
```javascript
|
|
110
|
-
const myMetric = io.metric({
|
|
111
|
-
name: 'Realtime Value',
|
|
112
|
-
value: () => {
|
|
113
|
-
return variable_to_monitor
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
### Counter: Discrete Counter
|
|
119
|
-
|
|
120
|
-
The second type of metric, called `counter`, is a discrete counter that helps you count the number of occurrence of a particular event. The counter starts at 0 and can be incremented or decremented.
|
|
121
|
-
|
|
122
|
-
```javascript
|
|
123
|
-
const io = require('@pm2/io');
|
|
124
|
-
|
|
125
|
-
const currentReq = io.counter({
|
|
126
|
-
name: 'Current req processed',
|
|
127
|
-
type: 'counter',
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
http.createServer((req, res) => {
|
|
131
|
-
// Increment the counter, counter will eq 1
|
|
132
|
-
currentReq.inc();
|
|
133
|
-
req.on('end', () => {
|
|
134
|
-
// Decrement the counter, counter will eq 0
|
|
135
|
-
currentReq.dec();
|
|
136
|
-
});
|
|
137
|
-
});
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
### Meter: Frequency
|
|
141
|
-
|
|
142
|
-
The third type of metric, called `meter`, compute the frequency of an event. Each time the event happens, you need to call the `mark()` method. By default, the frequency is the number of events per second over the last minute.
|
|
143
|
-
|
|
144
|
-
```javascript
|
|
145
|
-
const io = require('@pm2/io');
|
|
146
|
-
|
|
147
|
-
const reqsec = io.meter({
|
|
148
|
-
name: 'req/sec',
|
|
149
|
-
type: 'meter',
|
|
150
|
-
});
|
|
151
|
-
|
|
152
|
-
http.createServer((req, res) => {
|
|
153
|
-
reqsec.mark();
|
|
154
|
-
res.end({ success: true });
|
|
155
|
-
});
|
|
156
|
-
```
|
|
157
|
-
|
|
158
|
-
Additional options:
|
|
159
|
-
- **samples**: (optional)(default: 1) Rate unit. Defaults to **1** sec.
|
|
160
|
-
- **timeframe**: (optional)(default: 60) Timeframe over which the events will be analyzed. Defaults to **60** sec.
|
|
161
|
-
|
|
162
|
-
### Histogram: Statistics
|
|
163
|
-
|
|
164
|
-
Collect values and provide statistic tools to explore their distribution over the last 5 minutes.
|
|
165
|
-
|
|
166
|
-
```javascript
|
|
167
|
-
const io = require('@pm2/io');
|
|
168
|
-
|
|
169
|
-
const latency = io.histogram({
|
|
170
|
-
name: 'latency',
|
|
171
|
-
measurement: 'mean'
|
|
172
|
-
});
|
|
173
|
-
|
|
174
|
-
var latencyValue = 0;
|
|
175
|
-
|
|
176
|
-
setInterval(() => {
|
|
177
|
-
latencyValue = Math.round(Math.random() * 100);
|
|
178
|
-
latency.update(latencyValue);
|
|
179
|
-
}, 100);
|
|
180
|
-
```
|
|
181
|
-
|
|
182
|
-
Options are:
|
|
183
|
-
- **measurement** : default: mean; min, max, sum, count, variance, mean, stddev, median, p75, p95, p99, p99.
|
|
184
|
-
|
|
185
|
-
## Expose Remote Actions: Trigger Functions remotely
|
|
186
|
-
|
|
187
|
-
Remotely trigger functions from PM2 Plus or Enterprise.
|
|
188
|
-
|
|
189
|
-
### Simple actions
|
|
190
|
-
|
|
191
|
-
The function takes a function as a parameter (cb here) and need to be called once the job is finished.
|
|
192
|
-
|
|
193
|
-
Example:
|
|
194
|
-
|
|
195
|
-
```javascript
|
|
196
|
-
const io = require('@pm2/io');
|
|
197
|
-
|
|
198
|
-
io.action('db:clean', (cb) => {
|
|
199
|
-
clean.db(() => {
|
|
200
|
-
// cb must be called at the end of the action
|
|
201
|
-
return cb({ success: true });
|
|
202
|
-
});
|
|
203
|
-
});
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
## Report user error
|
|
207
|
-
|
|
208
|
-
By default, in the Issue tab, you are only alerted for uncaught exceptions. Any exception that you catch is not reported. You can manually report them with the `notifyError()` method.
|
|
209
|
-
|
|
210
|
-
```javascript
|
|
211
|
-
const io = require('@pm2/io');
|
|
212
|
-
|
|
213
|
-
io.notifyError(new Error('This is an error'), {
|
|
214
|
-
// you can some http context that will be reported in the UI
|
|
215
|
-
http: {
|
|
216
|
-
url: req.url
|
|
217
|
-
},
|
|
218
|
-
// or anything that you can like an user id
|
|
219
|
-
custom: {
|
|
220
|
-
user: req.user.id
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
#### Express error reporting
|
|
226
|
-
|
|
227
|
-
If you want you can configure your express middleware to automatically send you an error with the error middleware of express :
|
|
228
|
-
|
|
229
|
-
```javascript
|
|
230
|
-
const io = require('@pm2/io')
|
|
231
|
-
const express = require('express')
|
|
232
|
-
const app = express()
|
|
233
|
-
|
|
234
|
-
// add the routes that you want
|
|
235
|
-
app.use('/toto', () => {
|
|
236
|
-
throw new Error('ajdoijerr')
|
|
237
|
-
})
|
|
238
|
-
|
|
239
|
-
// always add the middleware as the last one
|
|
240
|
-
app.use(io.expressErrorHandler())
|
|
241
|
-
```
|
|
242
|
-
|
|
243
|
-
#### Koa error reporting
|
|
244
|
-
|
|
245
|
-
We also expose a custom koa middleware to report error with a specific koa middleware :
|
|
246
|
-
|
|
247
|
-
```javascript
|
|
248
|
-
const io = require('@pm2/io')
|
|
249
|
-
const Koa = require('koa')
|
|
250
|
-
const app = new Koa()
|
|
251
|
-
|
|
252
|
-
// the order isn't important with koa
|
|
253
|
-
app.use(pmx.koaErrorHandler())
|
|
254
|
-
|
|
255
|
-
// add the routes that you want
|
|
256
|
-
app.use(async ctx => {
|
|
257
|
-
ctx.throw(new Error('toto'))
|
|
258
|
-
})
|
|
259
|
-
```
|
|
260
|
-
|
|
261
|
-
## Distributed Tracing
|
|
262
|
-
|
|
263
|
-
The Distributed Tracing allows to captures and propagates distributed traces through your system, allowing you to visualize how customer requests flow across services, rapidly perform deep root cause analysis, and better analyze latency across a highly distributed set of services.
|
|
264
|
-
If you want to enable it, here the simple options to enable:
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
```javascript
|
|
268
|
-
const io = require('@pm2/io').init({
|
|
269
|
-
tracing: {
|
|
270
|
-
enabled: true,
|
|
271
|
-
// will add the actual queries made to database, false by default
|
|
272
|
-
detailedDatabasesCalls: true,
|
|
273
|
-
// if you want you can ignore some endpoint based on their path
|
|
274
|
-
ignoreIncomingPaths: [
|
|
275
|
-
// can be a regex
|
|
276
|
-
/misc/,
|
|
277
|
-
// or a exact string
|
|
278
|
-
'/api/bucket'
|
|
279
|
-
// or a function with the request
|
|
280
|
-
(url, request) => {
|
|
281
|
-
return true
|
|
282
|
-
}
|
|
283
|
-
],
|
|
284
|
-
// same as above but used to match entire URLs
|
|
285
|
-
ignoreOutgoingUrls: [],
|
|
286
|
-
/**
|
|
287
|
-
* Determines the probability of a request to be traced. Ranges from 0.0 to 1.0
|
|
288
|
-
* default is 0.5
|
|
289
|
-
*/
|
|
290
|
-
samplingRate: 0.5
|
|
291
|
-
}
|
|
292
|
-
})
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
By default we ignore specific incoming requests (you can override this by setting `ignoreIncomingPaths: []`):
|
|
296
|
-
- Request with the OPTIONS or HEAD method
|
|
297
|
-
- Request fetching a static ressources (`*.js`, `*.css`, `*.ico`, `*.svg`, `.png` or `*webpack*`)
|
|
298
|
-
|
|
299
|
-
### What's get traced
|
|
300
|
-
|
|
301
|
-
When your application will receive a request from either `http`, `https` or `http2` it will start a trace. After that, we will trace the following modules:
|
|
302
|
-
- `http` outgoing requests
|
|
303
|
-
- `https` outgoing requests
|
|
304
|
-
- `http2` outgoing requests
|
|
305
|
-
- `mongodb-core` version 1 - 3
|
|
306
|
-
- `redis` versions > 2.6
|
|
307
|
-
- `ioredis` versions > 2.6
|
|
308
|
-
- `mysql` version 1 - 3
|
|
309
|
-
- `mysql2` version 1 - 3
|
|
310
|
-
- `pg` version > 6
|
|
311
|
-
- `vue-server-renderer` version 2
|
|
312
|
-
|
|
313
|
-
### Custom Tracing API
|
|
314
|
-
|
|
315
|
-
The custom tracing API can be used to create custom trace spans. A span is a particular unit of work within a trace, such as an RPC request. Spans may be nested; the outermost span is called a root span, even if there are no nested child spans. Root spans typically correspond to incoming requests, while child spans typically correspond to outgoing requests, or other work that is triggered in response to incoming requests. This means that root spans shouldn't be created in a context where a root span already exists; a child span is more suitable here. Instead, root spans should be created to track work that happens outside of the request lifecycle entirely, such as periodically scheduled work. To illustrate:
|
|
316
|
-
|
|
317
|
-
```js
|
|
318
|
-
const io = require('@pm2/io').init({ tracing: true })
|
|
319
|
-
const tracer = io.getTracer()
|
|
320
|
-
// ...
|
|
321
|
-
|
|
322
|
-
app.get('/:token', function (req, res) {
|
|
323
|
-
const token = req.params.token
|
|
324
|
-
// the '2' correspond to the type of operation you want to trace
|
|
325
|
-
// can be 0 (UNKNOWN), 1 (SERVER) or 2 (CLIENT)
|
|
326
|
-
// 'verifyToken' here will be the name of the operation
|
|
327
|
-
const customSpan = tracer.startChildSpan('verifyToken', 2)
|
|
328
|
-
// note that customSpan can be null if you are not inside a request
|
|
329
|
-
req.Token.verifyToken(token, (err, result) => {
|
|
330
|
-
if (err) {
|
|
331
|
-
// you can add tags to the span to attach more details to the span
|
|
332
|
-
customSpan.addAttribute('error', err.message)
|
|
333
|
-
customSpan.end()
|
|
334
|
-
return res.status(500).send('error')
|
|
335
|
-
}
|
|
336
|
-
customSpan.addAttribute('result', result)
|
|
337
|
-
// be sure to always .end() the spans
|
|
338
|
-
customSpan.end()
|
|
339
|
-
// redirect the user if the token is valid
|
|
340
|
-
res.send('/user/me')
|
|
341
|
-
})
|
|
342
|
-
})
|
|
343
|
-
|
|
344
|
-
// For any significant work done _outside_ of the request lifecycle, use
|
|
345
|
-
// startRootSpan.
|
|
346
|
-
const traceOptions = {
|
|
347
|
-
name: 'my custom trace',
|
|
348
|
-
// the '1' correspond to the type of operation you want to trace
|
|
349
|
-
// can be 0 (UNKNOWN), 1 (SERVER) or 2 (CLIENT)
|
|
350
|
-
kind: '1'
|
|
351
|
-
}
|
|
352
|
-
plugin.tracer.startRootSpan(traceOptions, rootSpan => {
|
|
353
|
-
// ...
|
|
354
|
-
// Be sure to call rootSpan.end().
|
|
355
|
-
rootSpan.end()
|
|
356
|
-
});
|
|
357
|
-
```
|
|
358
|
-
|
|
359
|
-
## Configuration
|
|
360
|
-
|
|
361
|
-
### Global configuration object
|
|
362
|
-
|
|
363
|
-
```javascript
|
|
364
|
-
export class IOConfig {
|
|
365
|
-
/**
|
|
366
|
-
* Automatically catch unhandled errors
|
|
367
|
-
*/
|
|
368
|
-
catchExceptions?: boolean = true
|
|
369
|
-
/**
|
|
370
|
-
* Configure the metrics to add automatically to your process
|
|
371
|
-
*/
|
|
372
|
-
metrics?: {
|
|
373
|
-
eventLoop: boolean = true,
|
|
374
|
-
network: boolean = false,
|
|
375
|
-
http: boolean = true,
|
|
376
|
-
gc: boolean = true,
|
|
377
|
-
v8: boolean = true
|
|
378
|
-
}
|
|
379
|
-
/**
|
|
380
|
-
* Configure the default actions that you can run
|
|
381
|
-
*/
|
|
382
|
-
actions?: {
|
|
383
|
-
eventLoopDump?: boolean = true
|
|
384
|
-
}
|
|
385
|
-
/**
|
|
386
|
-
* Configure availables profilers that will be exposed
|
|
387
|
-
*/
|
|
388
|
-
profiling?: {
|
|
389
|
-
/**
|
|
390
|
-
* Toggle the CPU profiling actions
|
|
391
|
-
*/
|
|
392
|
-
cpuJS: boolean = true
|
|
393
|
-
/**
|
|
394
|
-
* Toggle the heap snapshot actions
|
|
395
|
-
*/
|
|
396
|
-
heapSnapshot: boolean = true
|
|
397
|
-
/**
|
|
398
|
-
* Toggle the heap sampling actions
|
|
399
|
-
*/
|
|
400
|
-
heapSampling: boolean = true
|
|
401
|
-
/**
|
|
402
|
-
* Force a specific implementation of profiler
|
|
403
|
-
*
|
|
404
|
-
* available:
|
|
405
|
-
* - 'addon' (using the v8-profiler-node8 addon)
|
|
406
|
-
* - 'inspector' (using the "inspector" api from node core)
|
|
407
|
-
* - 'none' (disable the profilers)
|
|
408
|
-
* - 'both' (will try to use inspector and fallback on addon if available)
|
|
409
|
-
*/
|
|
410
|
-
implementation: string = 'both'
|
|
411
|
-
}
|
|
412
|
-
/**
|
|
413
|
-
* Configure the transaction tracing options
|
|
414
|
-
*/
|
|
415
|
-
tracing?: {
|
|
416
|
-
/**
|
|
417
|
-
* Enabled the distributed tracing feature.
|
|
418
|
-
*/
|
|
419
|
-
enabled: boolean
|
|
420
|
-
/**
|
|
421
|
-
* If you want to report a specific service name
|
|
422
|
-
* the default is the same as in apmOptions
|
|
423
|
-
*/
|
|
424
|
-
serviceName?: string
|
|
425
|
-
/**
|
|
426
|
-
* Generate trace for outgoing request that aren't connected to a incoming one
|
|
427
|
-
* default is false
|
|
428
|
-
*/
|
|
429
|
-
outbound?: boolean
|
|
430
|
-
/**
|
|
431
|
-
* Determines the probability of a request to be traced. Ranges from 0.0 to 1.0
|
|
432
|
-
* default is 0.5
|
|
433
|
-
*/
|
|
434
|
-
samplingRate?: number,
|
|
435
|
-
/**
|
|
436
|
-
* Add details about databases calls (redis, mongodb etc)
|
|
437
|
-
*/
|
|
438
|
-
detailedDatabasesCalls?: boolean,
|
|
439
|
-
/**
|
|
440
|
-
* Ignore specific incoming request depending on their path
|
|
441
|
-
*/
|
|
442
|
-
ignoreIncomingPaths?: Array<IgnoreMatcher<httpModule.IncomingMessage>>
|
|
443
|
-
/**
|
|
444
|
-
* Ignore specific outgoing request depending on their url
|
|
445
|
-
*/
|
|
446
|
-
ignoreOutgoingUrls?: Array<IgnoreMatcher<httpModule.ClientRequest>>
|
|
447
|
-
/**
|
|
448
|
-
* Set to true when wanting to create span for raw TCP connection
|
|
449
|
-
* instead of new http request
|
|
450
|
-
*/
|
|
451
|
-
createSpanWithNet: boolean
|
|
452
|
-
}
|
|
453
|
-
/**
|
|
454
|
-
* If you want to connect to PM2 Enterprise without using PM2, you should enable
|
|
455
|
-
* the standalone mode
|
|
456
|
-
*
|
|
457
|
-
* default is false
|
|
458
|
-
*/
|
|
459
|
-
standalone?: boolean = false
|
|
460
|
-
/**
|
|
461
|
-
* Define custom options for the standalone mode
|
|
462
|
-
*/
|
|
463
|
-
apmOptions?: {
|
|
464
|
-
/**
|
|
465
|
-
* public key of the bucket to which the agent need to connect
|
|
466
|
-
*/
|
|
467
|
-
publicKey: string
|
|
468
|
-
/**
|
|
469
|
-
* Secret key of the bucket to which the agent need to connect
|
|
470
|
-
*/
|
|
471
|
-
secretKey: string
|
|
472
|
-
/**
|
|
473
|
-
* The name of the application/service that will be reported to PM2 Enterprise
|
|
474
|
-
*/
|
|
475
|
-
appName: string
|
|
476
|
-
/**
|
|
477
|
-
* The name of the server as reported in PM2 Enterprise
|
|
478
|
-
*
|
|
479
|
-
* default is os.hostname()
|
|
480
|
-
*/
|
|
481
|
-
serverName?: string
|
|
482
|
-
/**
|
|
483
|
-
* Broadcast all the logs from your application to our backend
|
|
484
|
-
*/
|
|
485
|
-
sendLogs?: Boolean
|
|
486
|
-
/**
|
|
487
|
-
* Avoid to broadcast any logs from your application to our backend
|
|
488
|
-
* Even if the sendLogs option set to false, you can still see some logs
|
|
489
|
-
* when going to the log interface (it automatically trigger broacasting log)
|
|
490
|
-
*/
|
|
491
|
-
disableLogs?: Boolean
|
|
492
|
-
/**
|
|
493
|
-
* Since logs can be forwared to our backend you may want to ignore specific
|
|
494
|
-
* logs (containing sensitive data for example)
|
|
495
|
-
*/
|
|
496
|
-
logFilter?: string | RegExp
|
|
497
|
-
/**
|
|
498
|
-
* Proxy URI to use when reaching internet
|
|
499
|
-
* Supporting socks5,http,https,pac,socks4
|
|
500
|
-
* see https://github.com/TooTallNate/node-proxy-agent
|
|
501
|
-
*
|
|
502
|
-
* example: socks5://username:password@some-socks-proxy.com:9050
|
|
503
|
-
*/
|
|
504
|
-
proxy?: string
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
```
|
|
508
|
-
|
|
509
|
-
You can pass whatever options you want to `io.init`, it will automatically update its configuration.
|
|
510
|
-
|
|
511
|
-
## Migration Guides
|
|
512
|
-
|
|
513
|
-
### 2.x to 3.x
|
|
514
|
-
|
|
515
|
-
Here the list of breaking changes :
|
|
516
|
-
|
|
517
|
-
- Removed `io.scopedAction` because of low user adoption
|
|
518
|
-
- Removed `io.notify` in favor of `io.notifyError` (droppin replacement)
|
|
519
|
-
- Removed support for `gc-stats` module
|
|
520
|
-
- Removed Heap profiling support when using the profiler addon (which wasn't possible at all)
|
|
521
|
-
- Removed deep-metrics support (the module that allowed to get metrics about websocket/mongo out of the box), we are working on a better solution.
|
|
522
|
-
- Removed `io.transpose`
|
|
523
|
-
- Removed `io.probe()` to init metrics
|
|
524
|
-
- **Changed the configuration structure**
|
|
525
|
-
|
|
526
|
-
High chance that if you used a custom configuration for `io.init`, you need to change it to reflect the new configuration.
|
|
527
|
-
Apart from that and the `io.notify` removal, it shouldn't break the way you instanciated metrics.
|
|
528
|
-
If you find something else that breaks please report it to us (tech@keymetrics.io).
|
|
529
|
-
|
|
530
|
-
### 3.x to 4.x
|
|
531
|
-
|
|
532
|
-
The only difference with the 4.x version is the new tracing system put in place, so the only changs are related to it:
|
|
533
|
-
|
|
534
|
-
- **Dropped the support for node 4** (you can still use the 3.x if you use node 4 but you will not have access to the distributed tracing)
|
|
535
|
-
- **Changed the tracing configuration** (see options above)
|
|
536
|
-
|
|
537
|
-
## Development
|
|
538
|
-
|
|
539
|
-
To auto rebuild on file change:
|
|
540
|
-
|
|
541
|
-
```bash
|
|
542
|
-
$ npm install
|
|
543
|
-
$ npm run watch
|
|
544
|
-
```
|
|
545
|
-
|
|
546
|
-
To test only one file:
|
|
547
|
-
|
|
548
|
-
```bash
|
|
549
|
-
$ npm run unit <typescript-file-to-test.ts>
|
|
550
|
-
```
|
|
551
|
-
|
|
552
|
-
Run transpilation + test + coverage:
|
|
553
|
-
|
|
554
|
-
```bash
|
|
555
|
-
$ npm run test
|
|
556
|
-
```
|
|
557
|
-
|
|
558
|
-
Run transpilation + test only:
|
|
559
|
-
|
|
560
|
-
```bash
|
|
561
|
-
$ npm run unit <test>
|
|
562
|
-
```
|
|
563
|
-
|
|
564
|
-
## Notes
|
|
565
|
-
|
|
566
|
-
Curently this package isn't compatible with `amqp` if you use the `network` metrics. We recommend to disable the metrics with the following configuration in this case :
|
|
567
|
-
|
|
568
|
-
```javascript
|
|
569
|
-
io.init({
|
|
570
|
-
metrics: {
|
|
571
|
-
network: false
|
|
572
|
-
}
|
|
573
|
-
})
|
|
574
|
-
```
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const constants_1 = require("../constants");
|
|
4
|
-
exports.defaultConfig = {
|
|
5
|
-
logLevel: 1,
|
|
6
|
-
maximumLabelValueSize: 150,
|
|
7
|
-
plugins: {},
|
|
8
|
-
bufferSize: constants_1.Constants.DEFAULT_BUFFER_SIZE,
|
|
9
|
-
bufferTimeout: constants_1.Constants.DEFAULT_BUFFER_TIMEOUT,
|
|
10
|
-
samplingRate: 1
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1jb25maWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2Vuc3VzL2NvbmZpZy9kZWZhdWx0LWNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQWdCQSw0Q0FBd0M7QUFTM0IsUUFBQSxhQUFhLEdBQUc7SUFDM0IsUUFBUSxFQUFFLENBQUM7SUFDWCxxQkFBcUIsRUFBRSxHQUFHO0lBQzFCLE9BQU8sRUFBRSxFQUFFO0lBQ1gsVUFBVSxFQUFFLHFCQUFTLENBQUMsbUJBQW1CO0lBQ3pDLGFBQWEsRUFBRSxxQkFBUyxDQUFDLHNCQUFzQjtJQUMvQyxZQUFZLEVBQUUsQ0FBQztDQUNoQixDQUFBIn0=
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const constants: {
|
|
2
|
-
MINIMUM_TRACE_DURATION: number;
|
|
3
|
-
DEFAULT_BUFFER_SIZE: number;
|
|
4
|
-
DEFAULT_BUFFER_TIMEOUT: number;
|
|
5
|
-
DEFAULT_INSTRUMENTATION_MODULES: never[];
|
|
6
|
-
OPENCENSUS_SCOPE: string;
|
|
7
|
-
DEFAULT_PLUGIN_PACKAGE_NAME_PREFIX: string;
|
|
8
|
-
};
|
|
9
|
-
export { constants as Constants };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const constants = {
|
|
4
|
-
MINIMUM_TRACE_DURATION: process.env.NODE_ENV === 'test' ? 0 : 1000 * 1000,
|
|
5
|
-
DEFAULT_BUFFER_SIZE: 0,
|
|
6
|
-
DEFAULT_BUFFER_TIMEOUT: 1000,
|
|
7
|
-
DEFAULT_INSTRUMENTATION_MODULES: [],
|
|
8
|
-
OPENCENSUS_SCOPE: '@opencensus',
|
|
9
|
-
DEFAULT_PLUGIN_PACKAGE_NAME_PREFIX: 'instrumentation'
|
|
10
|
-
};
|
|
11
|
-
exports.Constants = constants;
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uc3RhbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NlbnN1cy9jb25zdGFudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFtQkEsTUFBTSxTQUFTLEdBQUc7SUFFaEIsc0JBQXNCLEVBQUUsT0FBTyxDQUFDLEdBQUcsQ0FBQyxRQUFRLEtBQUssTUFBTSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDLElBQUksR0FBRyxJQUFJO0lBRXpFLG1CQUFtQixFQUFFLENBQUM7SUFFdEIsc0JBQXNCLEVBQUUsSUFBSTtJQUU1QiwrQkFBK0IsRUFBRSxFQUFFO0lBRW5DLGdCQUFnQixFQUFFLGFBQWE7SUFFL0Isa0NBQWtDLEVBQUUsaUJBQWlCO0NBQ3RELENBQUE7QUFFcUIsOEJBQVMifQ==
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TracingConfig } from 'src/features/tracing';
|
|
2
|
-
import { Exporter, ExporterBuffer, ExporterConfig, RootSpan } from '@opencensus/core';
|
|
3
|
-
export interface ZipkinExporterOptions extends ExporterConfig {
|
|
4
|
-
serviceName: string;
|
|
5
|
-
}
|
|
6
|
-
export declare class CustomCensusExporter implements Exporter {
|
|
7
|
-
private config;
|
|
8
|
-
private transport;
|
|
9
|
-
buffer: ExporterBuffer;
|
|
10
|
-
constructor(config: TracingConfig);
|
|
11
|
-
onEndSpan(root: RootSpan): void;
|
|
12
|
-
onStartSpan(root: RootSpan): void;
|
|
13
|
-
private sendTraces;
|
|
14
|
-
private mountSpanList;
|
|
15
|
-
private translateSpan;
|
|
16
|
-
publish(rootSpans: RootSpan[]): Promise<any>;
|
|
17
|
-
private getSpanKind;
|
|
18
|
-
}
|