@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,188 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018, OpenCensus Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Metric } from '../metrics/export/types';
|
|
17
|
-
/** Tags are maps of names -> values */
|
|
18
|
-
export interface Tags {
|
|
19
|
-
[key: string]: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Describes the type of the individual values/measurements recorded by an
|
|
23
|
-
* application. It includes information such as the type of measurement, the
|
|
24
|
-
* units of measurement and descriptive names for the data. This provides the
|
|
25
|
-
* fundamental type used for recording data.
|
|
26
|
-
*/
|
|
27
|
-
export interface Measure {
|
|
28
|
-
/**
|
|
29
|
-
* A string by which the measure will be referred to, e.g.
|
|
30
|
-
* "rpc_server_latency". Names MUST be unique within the library.
|
|
31
|
-
*/
|
|
32
|
-
readonly name: string;
|
|
33
|
-
/** Describes the measure, e.g. "RPC latency in seconds". */
|
|
34
|
-
readonly description?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Describes the unit used for the Measure. Follows the format described by
|
|
37
|
-
* http://unitsofmeasure.org/ucum.html.
|
|
38
|
-
*/
|
|
39
|
-
readonly unit: MeasureUnit;
|
|
40
|
-
/** The type used for this Measure. */
|
|
41
|
-
readonly type: MeasureType;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Describes the unit used for the Measure. Should follows the format described
|
|
45
|
-
* by http://unitsofmeasure.org/ucum.html.
|
|
46
|
-
*/
|
|
47
|
-
export declare enum MeasureUnit {
|
|
48
|
-
UNIT = "1",
|
|
49
|
-
BYTE = "by",
|
|
50
|
-
KBYTE = "kb",
|
|
51
|
-
SEC = "s",
|
|
52
|
-
MS = "ms",
|
|
53
|
-
NS = "ns",
|
|
54
|
-
}
|
|
55
|
-
/** Describes the types of a Measure. It can be Int64 or a Double type. */
|
|
56
|
-
export declare enum MeasureType {
|
|
57
|
-
INT64 = "INT64",
|
|
58
|
-
DOUBLE = "DOUBLE",
|
|
59
|
-
}
|
|
60
|
-
/** Describes a data point to be collected for a Measure. */
|
|
61
|
-
export interface Measurement {
|
|
62
|
-
/** The measure to which the value is applied */
|
|
63
|
-
readonly measure: Measure;
|
|
64
|
-
/**
|
|
65
|
-
* The recorded value. If the measure has type INT64, value must be an integer
|
|
66
|
-
* up to Number.MAX_SAFE_INTERGER.
|
|
67
|
-
*/
|
|
68
|
-
readonly value: number;
|
|
69
|
-
/** The tags to which the value is applied */
|
|
70
|
-
readonly tags: Tags;
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Defines how individual measurements are broken down by tags and aggregated.
|
|
74
|
-
*/
|
|
75
|
-
export interface View {
|
|
76
|
-
/**
|
|
77
|
-
* A string by which the View will be referred to, e.g. "rpc_latency". Names
|
|
78
|
-
* MUST be unique within the library.
|
|
79
|
-
*/
|
|
80
|
-
readonly name: string;
|
|
81
|
-
/** Describes the view, e.g. "RPC latency distribution" */
|
|
82
|
-
readonly description: string;
|
|
83
|
-
/** The Measure to which this view is applied. */
|
|
84
|
-
readonly measure: Measure;
|
|
85
|
-
/**
|
|
86
|
-
* An Aggregation describes how data collected is aggregated.
|
|
87
|
-
* There are four aggregation types: count, sum, lastValue and distirbution.
|
|
88
|
-
*/
|
|
89
|
-
readonly aggregation: AggregationType;
|
|
90
|
-
/** The start time for this view */
|
|
91
|
-
readonly startTime: number;
|
|
92
|
-
/**
|
|
93
|
-
* The end time for this view - represents the last time a value was recorded
|
|
94
|
-
*/
|
|
95
|
-
endTime: number;
|
|
96
|
-
/** true if the view was registered */
|
|
97
|
-
registered: boolean;
|
|
98
|
-
/**
|
|
99
|
-
* Records a measurement in the proper view's row. This method is used by
|
|
100
|
-
* Stats. User should prefer using Stats.record() instead.
|
|
101
|
-
*
|
|
102
|
-
* Measurements with measurement type INT64 will have its value truncated.
|
|
103
|
-
* @param measurement The measurement to record
|
|
104
|
-
*/
|
|
105
|
-
recordMeasurement(measurement: Measurement): void;
|
|
106
|
-
/**
|
|
107
|
-
* Returns a snapshot of an AggregationData for that tags/labels values.
|
|
108
|
-
* @param tags The desired data's tags
|
|
109
|
-
*/
|
|
110
|
-
getSnapshot(tags: Tags): AggregationData;
|
|
111
|
-
/** Gets the view's tag keys */
|
|
112
|
-
getColumns(): string[];
|
|
113
|
-
/** Gets view`s metric */
|
|
114
|
-
getMetric(): Metric;
|
|
115
|
-
}
|
|
116
|
-
/**
|
|
117
|
-
* Informs the type of the aggregation. It can be: count, sum, lastValue or
|
|
118
|
-
* distribution.
|
|
119
|
-
*/
|
|
120
|
-
export declare enum AggregationType {
|
|
121
|
-
COUNT = 0,
|
|
122
|
-
SUM = 1,
|
|
123
|
-
LAST_VALUE = 2,
|
|
124
|
-
DISTRIBUTION = 3,
|
|
125
|
-
}
|
|
126
|
-
/** Defines how data is collected and aggregated */
|
|
127
|
-
export interface AggregationMetadata {
|
|
128
|
-
/** The aggregation type of the aggregation data */
|
|
129
|
-
readonly type: AggregationType;
|
|
130
|
-
/** The tags/labels that this AggregationData collects and aggregates */
|
|
131
|
-
readonly tags: Tags;
|
|
132
|
-
/** The latest timestamp a new data point was recorded */
|
|
133
|
-
timestamp: number;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Data collected and aggregated with this AggregationData will be summed
|
|
137
|
-
* up.
|
|
138
|
-
*/
|
|
139
|
-
export interface SumData extends AggregationMetadata {
|
|
140
|
-
type: AggregationType.SUM;
|
|
141
|
-
/** The current accumulated value */
|
|
142
|
-
value: number;
|
|
143
|
-
}
|
|
144
|
-
/**
|
|
145
|
-
* This AggregationData counts the number of measurements recorded.
|
|
146
|
-
*/
|
|
147
|
-
export interface CountData extends AggregationMetadata {
|
|
148
|
-
type: AggregationType.COUNT;
|
|
149
|
-
/** The current counted value */
|
|
150
|
-
value: number;
|
|
151
|
-
}
|
|
152
|
-
/**
|
|
153
|
-
* This AggregationData represents the last recorded value. This is useful
|
|
154
|
-
* when giving support to Gauges.
|
|
155
|
-
*/
|
|
156
|
-
export interface LastValueData extends AggregationMetadata {
|
|
157
|
-
type: AggregationType.LAST_VALUE;
|
|
158
|
-
/** The last recorded value */
|
|
159
|
-
value: number;
|
|
160
|
-
}
|
|
161
|
-
/** This AggregationData contains a histogram of the collected values. */
|
|
162
|
-
export interface DistributionData extends AggregationMetadata {
|
|
163
|
-
type: AggregationType.DISTRIBUTION;
|
|
164
|
-
/** The first timestamp a datapoint was added */
|
|
165
|
-
readonly startTime: number;
|
|
166
|
-
/** Get the total count of all recorded values in the histogram */
|
|
167
|
-
count: number;
|
|
168
|
-
/** Sum of all recorded values in the histogram */
|
|
169
|
-
sum: number;
|
|
170
|
-
/** Get the computed mean value of all recorded values in the histogram */
|
|
171
|
-
mean: number;
|
|
172
|
-
/**
|
|
173
|
-
* Get the computed standard deviation of all recorded values in the
|
|
174
|
-
* histogram
|
|
175
|
-
*/
|
|
176
|
-
stdDeviation: number;
|
|
177
|
-
/**
|
|
178
|
-
* Get the computed sum of squared deviations of all recorded values in the
|
|
179
|
-
* histogram.
|
|
180
|
-
*/
|
|
181
|
-
sumOfSquaredDeviation: number;
|
|
182
|
-
/** Bucket distribution of the histogram */
|
|
183
|
-
buckets: Bucket[];
|
|
184
|
-
/** Buckets count */
|
|
185
|
-
bucketCounts?: number[];
|
|
186
|
-
}
|
|
187
|
-
export declare type Bucket = number;
|
|
188
|
-
export declare type AggregationData = SumData | CountData | LastValueData | DistributionData;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright 2018, OpenCensus Authors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
/**
|
|
19
|
-
* Describes the unit used for the Measure. Should follows the format described
|
|
20
|
-
* by http://unitsofmeasure.org/ucum.html.
|
|
21
|
-
*/
|
|
22
|
-
var MeasureUnit;
|
|
23
|
-
(function (MeasureUnit) {
|
|
24
|
-
MeasureUnit["UNIT"] = "1";
|
|
25
|
-
MeasureUnit["BYTE"] = "by";
|
|
26
|
-
MeasureUnit["KBYTE"] = "kb";
|
|
27
|
-
MeasureUnit["SEC"] = "s";
|
|
28
|
-
MeasureUnit["MS"] = "ms";
|
|
29
|
-
MeasureUnit["NS"] = "ns"; // nanosecond
|
|
30
|
-
})(MeasureUnit = exports.MeasureUnit || (exports.MeasureUnit = {}));
|
|
31
|
-
/** Describes the types of a Measure. It can be Int64 or a Double type. */
|
|
32
|
-
var MeasureType;
|
|
33
|
-
(function (MeasureType) {
|
|
34
|
-
MeasureType["INT64"] = "INT64";
|
|
35
|
-
MeasureType["DOUBLE"] = "DOUBLE";
|
|
36
|
-
})(MeasureType = exports.MeasureType || (exports.MeasureType = {}));
|
|
37
|
-
/**
|
|
38
|
-
* Informs the type of the aggregation. It can be: count, sum, lastValue or
|
|
39
|
-
* distribution.
|
|
40
|
-
*/
|
|
41
|
-
var AggregationType;
|
|
42
|
-
(function (AggregationType) {
|
|
43
|
-
AggregationType[AggregationType["COUNT"] = 0] = "COUNT";
|
|
44
|
-
AggregationType[AggregationType["SUM"] = 1] = "SUM";
|
|
45
|
-
AggregationType[AggregationType["LAST_VALUE"] = 2] = "LAST_VALUE";
|
|
46
|
-
AggregationType[AggregationType["DISTRIBUTION"] = 3] = "DISTRIBUTION";
|
|
47
|
-
})(AggregationType = exports.AggregationType || (exports.AggregationType = {}));
|
|
48
|
-
//# sourceMappingURL=types.js.map
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018, OpenCensus Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import * as defaultLogger from '../common/console-logger';
|
|
17
|
-
import { Metric } from '../metrics/export/types';
|
|
18
|
-
import { AggregationData, AggregationType, Measure, Measurement, Tags, View } from './types';
|
|
19
|
-
export declare class BaseView implements View {
|
|
20
|
-
/**
|
|
21
|
-
* A string by which the View will be referred to, e.g. "rpc_latency". Names
|
|
22
|
-
* MUST be unique within the library.
|
|
23
|
-
*/
|
|
24
|
-
readonly name: string;
|
|
25
|
-
/** Describes the view, e.g. "RPC latency distribution" */
|
|
26
|
-
readonly description: string;
|
|
27
|
-
/** The Measure to which this view is applied. */
|
|
28
|
-
readonly measure: Measure;
|
|
29
|
-
/**
|
|
30
|
-
* A map of stringified tags representing columns labels or tag keys, concept
|
|
31
|
-
* similar to dimensions on multidimensional modeling, to AggregationData.
|
|
32
|
-
* If no Tags are provided, then, all data is recorded in a single
|
|
33
|
-
* aggregation.
|
|
34
|
-
*/
|
|
35
|
-
private rows;
|
|
36
|
-
/**
|
|
37
|
-
* A list of tag keys that represents the possible column labels
|
|
38
|
-
*/
|
|
39
|
-
private columns;
|
|
40
|
-
/**
|
|
41
|
-
* An Aggregation describes how data collected is aggregated.
|
|
42
|
-
* There are four aggregation types: count, sum, lastValue and distirbution.
|
|
43
|
-
*/
|
|
44
|
-
readonly aggregation: AggregationType;
|
|
45
|
-
/** The start time for this view */
|
|
46
|
-
readonly startTime: number;
|
|
47
|
-
/** The bucket boundaries in a Distribution Aggregation */
|
|
48
|
-
private bucketBoundaries;
|
|
49
|
-
/**
|
|
50
|
-
* Cache a MetricDescriptor to avoid converting View to MetricDescriptor
|
|
51
|
-
* in the future.
|
|
52
|
-
*/
|
|
53
|
-
private metricDescriptor;
|
|
54
|
-
/**
|
|
55
|
-
* The end time for this view - represents the last time a value was recorded
|
|
56
|
-
*/
|
|
57
|
-
endTime: number;
|
|
58
|
-
/** true if the view was registered */
|
|
59
|
-
registered: boolean;
|
|
60
|
-
/** An object to log information to */
|
|
61
|
-
private logger;
|
|
62
|
-
/**
|
|
63
|
-
* Creates a new View instance. This constructor is used by Stats. User should
|
|
64
|
-
* prefer using Stats.createView() instead.
|
|
65
|
-
* @param name The view name
|
|
66
|
-
* @param measure The view measure
|
|
67
|
-
* @param aggregation The view aggregation type
|
|
68
|
-
* @param tagsKeys The Tags' keys that view will have
|
|
69
|
-
* @param description The view description
|
|
70
|
-
* @param bucketBoundaries The view bucket boundaries for a distribution
|
|
71
|
-
* aggregation type
|
|
72
|
-
* @param logger
|
|
73
|
-
*/
|
|
74
|
-
constructor(name: string, measure: Measure, aggregation: AggregationType, tagsKeys: string[], description: string, bucketBoundaries?: number[], logger?: typeof defaultLogger);
|
|
75
|
-
/** Gets the view's tag keys */
|
|
76
|
-
getColumns(): string[];
|
|
77
|
-
/**
|
|
78
|
-
* Records a measurement in the proper view's row. This method is used by
|
|
79
|
-
* Stats. User should prefer using Stats.record() instead.
|
|
80
|
-
*
|
|
81
|
-
* Measurements with measurement type INT64 will have its value truncated.
|
|
82
|
-
* @param measurement The measurement to record
|
|
83
|
-
*/
|
|
84
|
-
recordMeasurement(measurement: Measurement): void;
|
|
85
|
-
/**
|
|
86
|
-
* Encodes a Tags object into a key sorted string.
|
|
87
|
-
* @param tags The tags to encode
|
|
88
|
-
*/
|
|
89
|
-
private encodeTags(tags);
|
|
90
|
-
/**
|
|
91
|
-
* Checks if tag keys and values have only printable characters.
|
|
92
|
-
* @param tags The tags to be checked
|
|
93
|
-
*/
|
|
94
|
-
private invalidTags(tags);
|
|
95
|
-
/**
|
|
96
|
-
* Creates an empty aggregation data for a given tags.
|
|
97
|
-
* @param tags The tags for that aggregation data
|
|
98
|
-
*/
|
|
99
|
-
private createAggregationData(tags);
|
|
100
|
-
/**
|
|
101
|
-
* Gets view`s metric
|
|
102
|
-
* @returns {Metric}
|
|
103
|
-
*/
|
|
104
|
-
getMetric(): Metric;
|
|
105
|
-
/**
|
|
106
|
-
* Converts snapshot to point
|
|
107
|
-
* @param timestamp The timestamp
|
|
108
|
-
* @param data The aggregated data
|
|
109
|
-
* @returns {Point}
|
|
110
|
-
*/
|
|
111
|
-
private toPoint(timestamp, data);
|
|
112
|
-
/**
|
|
113
|
-
* Returns a snapshot of an AggregationData for that tags/labels values.
|
|
114
|
-
* @param tags The desired data's tags
|
|
115
|
-
* @returns {AggregationData}
|
|
116
|
-
*/
|
|
117
|
-
getSnapshot(tags: Tags): AggregationData;
|
|
118
|
-
}
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright 2018, OpenCensus Authors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
const defaultLogger = require("../common/console-logger");
|
|
19
|
-
const types_1 = require("../metrics/export/types");
|
|
20
|
-
const bucket_boundaries_1 = require("./bucket-boundaries");
|
|
21
|
-
const metric_utils_1 = require("./metric-utils");
|
|
22
|
-
const recorder_1 = require("./recorder");
|
|
23
|
-
const types_2 = require("./types");
|
|
24
|
-
const RECORD_SEPARATOR = String.fromCharCode(30);
|
|
25
|
-
const UNIT_SEPARATOR = String.fromCharCode(31);
|
|
26
|
-
// String that has only printable characters
|
|
27
|
-
const invalidString = /[^\u0020-\u007e]/;
|
|
28
|
-
class BaseView {
|
|
29
|
-
/**
|
|
30
|
-
* Creates a new View instance. This constructor is used by Stats. User should
|
|
31
|
-
* prefer using Stats.createView() instead.
|
|
32
|
-
* @param name The view name
|
|
33
|
-
* @param measure The view measure
|
|
34
|
-
* @param aggregation The view aggregation type
|
|
35
|
-
* @param tagsKeys The Tags' keys that view will have
|
|
36
|
-
* @param description The view description
|
|
37
|
-
* @param bucketBoundaries The view bucket boundaries for a distribution
|
|
38
|
-
* aggregation type
|
|
39
|
-
* @param logger
|
|
40
|
-
*/
|
|
41
|
-
constructor(name, measure, aggregation, tagsKeys, description, bucketBoundaries, logger = defaultLogger) {
|
|
42
|
-
/**
|
|
43
|
-
* A map of stringified tags representing columns labels or tag keys, concept
|
|
44
|
-
* similar to dimensions on multidimensional modeling, to AggregationData.
|
|
45
|
-
* If no Tags are provided, then, all data is recorded in a single
|
|
46
|
-
* aggregation.
|
|
47
|
-
*/
|
|
48
|
-
this.rows = {};
|
|
49
|
-
/** true if the view was registered */
|
|
50
|
-
this.registered = false;
|
|
51
|
-
if (aggregation === types_2.AggregationType.DISTRIBUTION && !bucketBoundaries) {
|
|
52
|
-
throw new Error('No bucketBoundaries specified');
|
|
53
|
-
}
|
|
54
|
-
this.logger = logger.logger();
|
|
55
|
-
this.name = name;
|
|
56
|
-
this.description = description;
|
|
57
|
-
this.measure = measure;
|
|
58
|
-
this.columns = tagsKeys;
|
|
59
|
-
this.aggregation = aggregation;
|
|
60
|
-
this.startTime = Date.now();
|
|
61
|
-
this.bucketBoundaries = new bucket_boundaries_1.BucketBoundaries(bucketBoundaries);
|
|
62
|
-
this.metricDescriptor = metric_utils_1.MetricUtils.viewToMetricDescriptor(this);
|
|
63
|
-
}
|
|
64
|
-
/** Gets the view's tag keys */
|
|
65
|
-
getColumns() {
|
|
66
|
-
return this.columns;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Records a measurement in the proper view's row. This method is used by
|
|
70
|
-
* Stats. User should prefer using Stats.record() instead.
|
|
71
|
-
*
|
|
72
|
-
* Measurements with measurement type INT64 will have its value truncated.
|
|
73
|
-
* @param measurement The measurement to record
|
|
74
|
-
*/
|
|
75
|
-
recordMeasurement(measurement) {
|
|
76
|
-
// Checks if measurement has valid tags
|
|
77
|
-
if (this.invalidTags(measurement.tags)) {
|
|
78
|
-
return;
|
|
79
|
-
}
|
|
80
|
-
// Checks if measurement has all tags in views
|
|
81
|
-
for (const tagKey of this.columns) {
|
|
82
|
-
if (!Object.keys(measurement.tags).some((key) => key === tagKey)) {
|
|
83
|
-
return;
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
const encodedTags = this.encodeTags(measurement.tags);
|
|
87
|
-
if (!this.rows[encodedTags]) {
|
|
88
|
-
this.rows[encodedTags] = this.createAggregationData(measurement.tags);
|
|
89
|
-
}
|
|
90
|
-
recorder_1.Recorder.addMeasurement(this.rows[encodedTags], measurement);
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Encodes a Tags object into a key sorted string.
|
|
94
|
-
* @param tags The tags to encode
|
|
95
|
-
*/
|
|
96
|
-
encodeTags(tags) {
|
|
97
|
-
return Object.keys(tags)
|
|
98
|
-
.sort()
|
|
99
|
-
.map(tagKey => {
|
|
100
|
-
return tagKey + UNIT_SEPARATOR + tags[tagKey];
|
|
101
|
-
})
|
|
102
|
-
.join(RECORD_SEPARATOR);
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Checks if tag keys and values have only printable characters.
|
|
106
|
-
* @param tags The tags to be checked
|
|
107
|
-
*/
|
|
108
|
-
invalidTags(tags) {
|
|
109
|
-
return Object.keys(tags).some(tagKey => {
|
|
110
|
-
return invalidString.test(tagKey) || invalidString.test(tags[tagKey]);
|
|
111
|
-
});
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Creates an empty aggregation data for a given tags.
|
|
115
|
-
* @param tags The tags for that aggregation data
|
|
116
|
-
*/
|
|
117
|
-
createAggregationData(tags) {
|
|
118
|
-
const aggregationMetadata = { tags, timestamp: Date.now() };
|
|
119
|
-
const { buckets, bucketCounts } = this.bucketBoundaries;
|
|
120
|
-
const bucketsCopy = Object.assign([], buckets);
|
|
121
|
-
const bucketCountsCopy = Object.assign([], bucketCounts);
|
|
122
|
-
switch (this.aggregation) {
|
|
123
|
-
case types_2.AggregationType.DISTRIBUTION:
|
|
124
|
-
return Object.assign({}, aggregationMetadata, { type: types_2.AggregationType.DISTRIBUTION, startTime: this.startTime, count: 0, sum: 0, mean: null, stdDeviation: null, sumOfSquaredDeviation: null, buckets: bucketsCopy, bucketCounts: bucketCountsCopy });
|
|
125
|
-
case types_2.AggregationType.SUM:
|
|
126
|
-
return Object.assign({}, aggregationMetadata, { type: types_2.AggregationType.SUM, value: 0 });
|
|
127
|
-
case types_2.AggregationType.COUNT:
|
|
128
|
-
return Object.assign({}, aggregationMetadata, { type: types_2.AggregationType.COUNT, value: 0 });
|
|
129
|
-
default:
|
|
130
|
-
return Object.assign({}, aggregationMetadata, { type: types_2.AggregationType.LAST_VALUE, value: undefined });
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Gets view`s metric
|
|
135
|
-
* @returns {Metric}
|
|
136
|
-
*/
|
|
137
|
-
getMetric() {
|
|
138
|
-
const { type } = this.metricDescriptor;
|
|
139
|
-
let startTimestamp;
|
|
140
|
-
// The moment when this point was recorded.
|
|
141
|
-
const [currentSeconds, currentNanos] = process.hrtime();
|
|
142
|
-
const now = { seconds: currentSeconds, nanos: currentNanos };
|
|
143
|
-
switch (type) {
|
|
144
|
-
case types_1.MetricDescriptorType.GAUGE_INT64:
|
|
145
|
-
case types_1.MetricDescriptorType.GAUGE_DOUBLE:
|
|
146
|
-
startTimestamp = null;
|
|
147
|
-
break;
|
|
148
|
-
default:
|
|
149
|
-
const [seconds, nanos] = process.hrtime();
|
|
150
|
-
// TODO (mayurkale): This should be set when create Cumulative view.
|
|
151
|
-
startTimestamp = { seconds, nanos };
|
|
152
|
-
}
|
|
153
|
-
const timeseries = [];
|
|
154
|
-
Object.keys(this.rows).forEach(key => {
|
|
155
|
-
const { tags } = this.rows[key];
|
|
156
|
-
const labelValues = metric_utils_1.MetricUtils.tagsToLabelValues(tags);
|
|
157
|
-
const point = this.toPoint(now, this.getSnapshot(tags));
|
|
158
|
-
if (startTimestamp) {
|
|
159
|
-
timeseries.push({ startTimestamp, labelValues, points: [point] });
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
timeseries.push({ labelValues, points: [point] });
|
|
163
|
-
}
|
|
164
|
-
});
|
|
165
|
-
return { descriptor: this.metricDescriptor, timeseries };
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Converts snapshot to point
|
|
169
|
-
* @param timestamp The timestamp
|
|
170
|
-
* @param data The aggregated data
|
|
171
|
-
* @returns {Point}
|
|
172
|
-
*/
|
|
173
|
-
toPoint(timestamp, data) {
|
|
174
|
-
let value;
|
|
175
|
-
if (data.type === types_2.AggregationType.DISTRIBUTION) {
|
|
176
|
-
// TODO: Add examplar transition
|
|
177
|
-
const { count, sum, sumOfSquaredDeviation } = data;
|
|
178
|
-
value = {
|
|
179
|
-
count,
|
|
180
|
-
sum,
|
|
181
|
-
sumOfSquaredDeviation,
|
|
182
|
-
bucketOptions: { explicit: { bounds: data.buckets } },
|
|
183
|
-
buckets: data.bucketCounts
|
|
184
|
-
};
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
value = data.value;
|
|
188
|
-
}
|
|
189
|
-
return { timestamp, value };
|
|
190
|
-
}
|
|
191
|
-
/**
|
|
192
|
-
* Returns a snapshot of an AggregationData for that tags/labels values.
|
|
193
|
-
* @param tags The desired data's tags
|
|
194
|
-
* @returns {AggregationData}
|
|
195
|
-
*/
|
|
196
|
-
getSnapshot(tags) {
|
|
197
|
-
return this.rows[this.encodeTags(tags)];
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
exports.BaseView = BaseView;
|
|
201
|
-
//# sourceMappingURL=view.js.map
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright 2018, OpenCensus Authors
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
-
* See the License for the specific language governing permissions and
|
|
14
|
-
* limitations under the License.
|
|
15
|
-
*/
|
|
16
|
-
import { Logger } from '../../common/types';
|
|
17
|
-
import { Exporter } from '../../exporters/types';
|
|
18
|
-
import { PluginNames } from '../instrumentation/types';
|
|
19
|
-
import { Propagation } from '../propagation/types';
|
|
20
|
-
/** Interface configuration for a buffer. */
|
|
21
|
-
export interface BufferConfig {
|
|
22
|
-
/** Maximum size of a buffer. */
|
|
23
|
-
bufferSize?: number;
|
|
24
|
-
/** Max time for a buffer can wait before being sent */
|
|
25
|
-
bufferTimeout?: number;
|
|
26
|
-
/** A logger object */
|
|
27
|
-
logger?: Logger;
|
|
28
|
-
}
|
|
29
|
-
/** Defines tracer configuration parameters */
|
|
30
|
-
export interface TracerConfig {
|
|
31
|
-
/** Determines the sampling rate. Ranges from 0.0 to 1.0 */
|
|
32
|
-
samplingRate?: number;
|
|
33
|
-
/** Determines the ignored (or blacklisted) URLs */
|
|
34
|
-
ignoreUrls?: Array<string | RegExp>;
|
|
35
|
-
/** A logger object */
|
|
36
|
-
logger?: Logger;
|
|
37
|
-
/** A propagation instance */
|
|
38
|
-
propagation?: Propagation;
|
|
39
|
-
}
|
|
40
|
-
/** Available configuration options. */
|
|
41
|
-
export interface TracingConfig {
|
|
42
|
-
/** level of logger - 0:disable, 1: error, 2: warn, 3: info, 4: debug */
|
|
43
|
-
logLevel?: number;
|
|
44
|
-
/**
|
|
45
|
-
* The maximum number of characters reported on a label value.
|
|
46
|
-
*/
|
|
47
|
-
maximumLabelValueSize?: number;
|
|
48
|
-
/**
|
|
49
|
-
* A list of trace instrumentations plugins to load.
|
|
50
|
-
* Each key is the name of the module to trace, and its
|
|
51
|
-
* value is the name of the package which has the plugin
|
|
52
|
-
* implementation.
|
|
53
|
-
* Ex.:
|
|
54
|
-
* plugins: {
|
|
55
|
-
* 'http': '@opencensus/opencensus-instrumentation-http',
|
|
56
|
-
* 'mongodb-core': '@opencensus/opencensus-instrumentation-mongodb-core',
|
|
57
|
-
* ...
|
|
58
|
-
* }
|
|
59
|
-
* Any user-provided value will be added to the default list.
|
|
60
|
-
* It will override any default plugin for the same key.
|
|
61
|
-
*/
|
|
62
|
-
plugins?: PluginNames;
|
|
63
|
-
/** An exporter object */
|
|
64
|
-
exporter?: Exporter;
|
|
65
|
-
/** An instance of a logger */
|
|
66
|
-
logger?: Logger;
|
|
67
|
-
}
|
|
68
|
-
export declare type Config = TracingConfig & TracerConfig & BufferConfig;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Copyright 2018, OpenCensus Authors
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
//# sourceMappingURL=types.js.map
|