autotel 7.9.0 → 7.10.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/README.md +14 -0
- package/dist/analysis.cjs +1 -1
- package/dist/analysis.d.cts +6 -7
- package/dist/analysis.d.ts +6 -7
- package/dist/analysis.js +1 -1
- package/dist/attributes.d.cts +1 -1
- package/dist/attributes.d.ts +1 -1
- package/dist/auto.cjs +1 -1
- package/dist/auto.js +1 -1
- package/dist/business-baggage.d.cts +12 -13
- package/dist/business-baggage.d.ts +12 -13
- package/dist/{canonical-log-line-processor-Bwrt_L4c.d.ts → canonical-log-line-processor-DDGzm-wi.d.ts} +1 -1
- package/dist/{canonical-log-line-processor-C0Z_N4oL.d.cts → canonical-log-line-processor-DLeAQjgb.d.cts} +1 -1
- package/dist/channel-BobQKsZd.js +64 -0
- package/dist/channel-D0eaVqn3.cjs +81 -0
- package/dist/config.d.cts +7 -7
- package/dist/config.d.ts +7 -7
- package/dist/correlation-id.cjs +1 -1
- package/dist/correlation-id.d.cts +9 -10
- package/dist/correlation-id.d.ts +9 -10
- package/dist/correlation-id.js +1 -1
- package/dist/db.d.cts +18 -19
- package/dist/db.d.ts +18 -19
- package/dist/decorators.cjs +1 -1
- package/dist/decorators.d.cts +7 -7
- package/dist/decorators.d.ts +7 -7
- package/dist/decorators.js +1 -1
- package/dist/diagnostics.cjs +10 -70
- package/dist/diagnostics.d.cts +6 -6
- package/dist/diagnostics.d.ts +6 -6
- package/dist/diagnostics.js +1 -61
- package/dist/drain-pipeline.d.cts +4 -5
- package/dist/drain-pipeline.d.ts +4 -5
- package/dist/enrichers.d.cts +7 -8
- package/dist/enrichers.d.ts +7 -8
- package/dist/event.cjs +1 -1
- package/dist/event.d.cts +6 -6
- package/dist/event.d.ts +6 -6
- package/dist/event.js +1 -1
- package/dist/evidence.d.cts +13 -14
- package/dist/evidence.d.ts +13 -14
- package/dist/exception-fingerprint.d.cts +10 -11
- package/dist/exception-fingerprint.d.ts +10 -11
- package/dist/exporters.d.cts +2 -2
- package/dist/exporters.d.ts +2 -2
- package/dist/feature-flags.d.cts +23 -24
- package/dist/feature-flags.d.ts +23 -24
- package/dist/{filtering-span-processor-vkewzbqB.d.ts → filtering-span-processor-BDGe1myy.d.ts} +1 -1
- package/dist/{filtering-span-processor-BpDagWNa.d.cts → filtering-span-processor-BYvLMiNz.d.cts} +1 -1
- package/dist/filtering-span-processor.cjs +3 -3
- package/dist/filtering-span-processor.d.cts +1 -1
- package/dist/filtering-span-processor.d.ts +1 -1
- package/dist/filtering-span-processor.js +3 -3
- package/dist/{functional-SeRUabkE.d.ts → functional-CbcInXMJ.d.ts} +1 -1
- package/dist/{functional-DxHvvWc_.cjs → functional-CjZT7Jur.cjs} +3 -3
- package/dist/{functional-6QPJDqUW.js → functional-DHn-xGtR.js} +3 -3
- package/dist/{functional-DPZTpGh6.d.cts → functional-j8Joyrwd.d.cts} +1 -1
- package/dist/functional.cjs +1 -1
- package/dist/functional.d.cts +1 -1
- package/dist/functional.d.ts +1 -1
- package/dist/functional.js +1 -1
- package/dist/http.cjs +1 -1
- package/dist/http.d.cts +6 -7
- package/dist/http.d.ts +6 -7
- package/dist/http.js +1 -1
- package/dist/{index-B9aRLp6c.d.ts → index-DAH41w0W.d.ts} +4 -4
- package/dist/{index-8bFU4kmd.d.cts → index-DVPsz3DK.d.cts} +4 -4
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +38 -38
- package/dist/index.d.ts +38 -38
- package/dist/index.js +4 -4
- package/dist/{init-COfMwKbc.d.cts → init-BtYaU5n9.d.cts} +18 -4
- package/dist/{init-CnoRlJqS.d.ts → init-DUIFqRRS.d.ts} +18 -4
- package/dist/{init-C-qfxo_u.js → init-rVPOUqng.js} +98 -8
- package/dist/{init-W_klPrYk.cjs → init-zb68UvOW.cjs} +97 -6
- package/dist/instrumentation.cjs +1 -1
- package/dist/instrumentation.d.cts +4 -5
- package/dist/instrumentation.d.ts +4 -5
- package/dist/instrumentation.js +1 -1
- package/dist/{logger-S1Fgl0g3.d.cts → logger-C9UT1aZ_.d.cts} +4 -4
- package/dist/{logger-S1Fgl0g3.d.ts → logger-C9UT1aZ_.d.ts} +4 -4
- package/dist/logger.d.cts +1 -1
- package/dist/logger.d.ts +1 -1
- package/dist/messaging-adapters.d.cts +10 -11
- package/dist/messaging-adapters.d.ts +10 -11
- package/dist/messaging-testing.d.cts +19 -20
- package/dist/messaging-testing.d.ts +19 -20
- package/dist/messaging.cjs +2 -2
- package/dist/messaging.d.cts +23 -24
- package/dist/messaging.d.ts +23 -24
- package/dist/messaging.js +2 -2
- package/dist/metric-helpers.d.cts +6 -7
- package/dist/metric-helpers.d.ts +6 -7
- package/dist/metric.d.cts +7 -7
- package/dist/metric.d.ts +7 -7
- package/dist/parse-error.d.cts +3 -4
- package/dist/parse-error.d.ts +3 -4
- package/dist/policy.cjs +0 -0
- package/dist/policy.js +0 -0
- package/dist/processors.d.cts +1 -1
- package/dist/processors.d.ts +1 -1
- package/dist/{sampling-CZi7OM9u.d.ts → sampling-B_8orhSB.d.ts} +1 -1
- package/dist/{sampling-DENUjT_8.d.cts → sampling-Dud4XU2m.d.cts} +1 -1
- package/dist/sampling.cjs +1 -1
- package/dist/sampling.d.cts +1 -1
- package/dist/sampling.d.ts +1 -1
- package/dist/sampling.js +1 -1
- package/dist/security-schema.d.cts +30 -31
- package/dist/security-schema.d.ts +30 -31
- package/dist/semantic-conventions-yG0X2AsN.d.cts +31 -0
- package/dist/semantic-conventions-yG0X2AsN.d.ts +31 -0
- package/dist/semantic-conventions.d.cts +1 -1
- package/dist/semantic-conventions.d.ts +1 -1
- package/dist/semantic-helpers.cjs +1 -1
- package/dist/semantic-helpers.d.cts +10 -11
- package/dist/semantic-helpers.d.ts +10 -11
- package/dist/semantic-helpers.js +1 -1
- package/dist/slo.d.cts +12 -13
- package/dist/slo.d.ts +12 -13
- package/dist/tail-sampling-processor.cjs +1 -1
- package/dist/tail-sampling-processor.d.cts +2 -3
- package/dist/tail-sampling-processor.d.ts +2 -3
- package/dist/tail-sampling-processor.js +1 -1
- package/dist/test-span-collector.d.cts +4 -5
- package/dist/test-span-collector.d.ts +4 -5
- package/dist/testing.d.cts +18 -18
- package/dist/testing.d.ts +18 -18
- package/dist/trace-helpers.d.cts +15 -16
- package/dist/trace-helpers.d.ts +15 -16
- package/dist/tracer-provider.cjs +21 -1
- package/dist/tracer-provider.d.cts +16 -6
- package/dist/tracer-provider.d.ts +16 -6
- package/dist/tracer-provider.js +22 -3
- package/dist/validate.cjs +8 -7
- package/dist/validate.d.cts +12 -12
- package/dist/validate.d.ts +12 -12
- package/dist/validate.js +8 -7
- package/dist/validation-attributes.d.cts +14 -15
- package/dist/validation-attributes.d.ts +14 -15
- package/dist/webhook.cjs +1 -1
- package/dist/webhook.d.cts +11 -12
- package/dist/webhook.d.ts +11 -12
- package/dist/webhook.js +1 -1
- package/dist/workflow-distributed.cjs +1 -1
- package/dist/workflow-distributed.d.cts +26 -27
- package/dist/workflow-distributed.d.ts +26 -27
- package/dist/workflow-distributed.js +1 -1
- package/dist/workflow.cjs +1 -1
- package/dist/workflow.d.cts +11 -12
- package/dist/workflow.d.ts +11 -12
- package/dist/workflow.js +1 -1
- package/dist/yaml-config.cjs +1 -1
- package/dist/yaml-config.d.cts +9 -10
- package/dist/yaml-config.d.ts +9 -10
- package/dist/yaml-config.js +1 -1
- package/package.json +15 -21
- package/dist/semantic-conventions-FhSxv-bK.d.cts +0 -31
- package/dist/semantic-conventions-FhSxv-bK.d.ts +0 -31
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "autotel",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.10.0",
|
|
4
4
|
"description": "Write Once, Observe Anywhere",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -574,7 +574,7 @@
|
|
|
574
574
|
"@opentelemetry/sdk-node": "^0.222.0",
|
|
575
575
|
"@opentelemetry/sdk-trace-base": "^2.11.0",
|
|
576
576
|
"@opentelemetry/semantic-conventions": "^1.43.0",
|
|
577
|
-
"import-in-the-middle": "^3.
|
|
577
|
+
"import-in-the-middle": "^3.5.1"
|
|
578
578
|
},
|
|
579
579
|
"peerDependencies": {
|
|
580
580
|
"@opentelemetry/auto-instrumentations-node": "^0.80.0",
|
|
@@ -591,7 +591,7 @@
|
|
|
591
591
|
"@traceloop/node-server-sdk": "^0.27.0",
|
|
592
592
|
"pino": "^10.3.1",
|
|
593
593
|
"pino-pretty": "^13.1.3",
|
|
594
|
-
"yaml": "^2.9.
|
|
594
|
+
"yaml": "^2.9.1"
|
|
595
595
|
},
|
|
596
596
|
"peerDependenciesMeta": {
|
|
597
597
|
"@opentelemetry/auto-instrumentations-node": {
|
|
@@ -654,28 +654,22 @@
|
|
|
654
654
|
"@opentelemetry/resource-detector-container": "^0.8.13",
|
|
655
655
|
"@opentelemetry/resource-detector-gcp": "^0.57.0",
|
|
656
656
|
"@opentelemetry/sdk-trace-node": "^2.11.0",
|
|
657
|
-
"@swc/core": "^1.
|
|
657
|
+
"@swc/core": "^1.16.2",
|
|
658
658
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
659
659
|
"@total-typescript/tsconfig": "^1.0.4",
|
|
660
|
-
"@types/
|
|
661
|
-
"@types/node": "^26.1.2",
|
|
662
|
-
"@typescript-eslint/eslint-plugin": "^8.65.0",
|
|
663
|
-
"@typescript-eslint/parser": "^8.65.0",
|
|
664
|
-
"eslint-config-prettier": "^10.1.8",
|
|
665
|
-
"eslint-plugin-unicorn": "^64.0.0",
|
|
660
|
+
"@types/node": "^26.6.3",
|
|
666
661
|
"pino": "^10.3.1",
|
|
667
|
-
"prettier": "^3.9.
|
|
662
|
+
"prettier": "^3.9.9",
|
|
668
663
|
"rimraf": "^6.1.3",
|
|
669
|
-
"tsdown": "^0.
|
|
670
|
-
"tsx": "^4.23.
|
|
671
|
-
"typescript": "^
|
|
672
|
-
"
|
|
673
|
-
"unplugin-swc": "^1.5.9",
|
|
664
|
+
"tsdown": "^0.23.0",
|
|
665
|
+
"tsx": "^4.23.15",
|
|
666
|
+
"typescript": "^7.0.2",
|
|
667
|
+
"unplugin-swc": "^2.0.0",
|
|
674
668
|
"vite-tsconfig-paths": "^6.1.1",
|
|
675
|
-
"vitest": "^
|
|
676
|
-
"vitest-mock-extended": "^5.1.
|
|
669
|
+
"vitest": "^5.0.2",
|
|
670
|
+
"vitest-mock-extended": "^5.1.1",
|
|
677
671
|
"winston": "^3.19.0",
|
|
678
|
-
"yaml": "^2.9.
|
|
672
|
+
"yaml": "^2.9.1"
|
|
679
673
|
},
|
|
680
674
|
"repository": {
|
|
681
675
|
"type": "git",
|
|
@@ -689,8 +683,8 @@
|
|
|
689
683
|
"build": "tsdown",
|
|
690
684
|
"ci": "npm run build && npm run check-format && npm run check-exports && npm run lint && npm run test",
|
|
691
685
|
"dev": "tsdown --watch",
|
|
692
|
-
"lint": "
|
|
693
|
-
"lint:fix": "
|
|
686
|
+
"lint": "oxlint -c oxlint.json --disable-nested-config src",
|
|
687
|
+
"lint:fix": "pnpm lint --fix",
|
|
694
688
|
"format:check": "prettier --check src/**/*.ts",
|
|
695
689
|
"type-check": "tsc --noEmit",
|
|
696
690
|
"test": "vitest run --config vitest.unit.config.ts",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region src/attributes/registry.d.ts
|
|
2
|
-
declare const HTTPAttributes: {
|
|
3
|
-
readonly connectionState: "http.connection.state";
|
|
4
|
-
readonly requestMethod: "http.request.method";
|
|
5
|
-
readonly requestMethodOriginal: "http.request.method_original";
|
|
6
|
-
readonly requestResendCount: "http.request.resend_count";
|
|
7
|
-
readonly requestSize: "http.request.size";
|
|
8
|
-
readonly requestBodySize: "http.request.body.size";
|
|
9
|
-
readonly responseSize: "http.response.size";
|
|
10
|
-
readonly responseBodySize: "http.response.body.size";
|
|
11
|
-
readonly responseStatusCode: "http.response.status_code";
|
|
12
|
-
readonly route: "http.route";
|
|
13
|
-
};
|
|
14
|
-
declare const ServiceAttributes: {
|
|
15
|
-
readonly name: "service.name";
|
|
16
|
-
readonly instance: "service.instance.id";
|
|
17
|
-
readonly version: "service.version";
|
|
18
|
-
};
|
|
19
|
-
declare const URLAttributes: {
|
|
20
|
-
readonly scheme: "url.scheme";
|
|
21
|
-
readonly full: "url.full";
|
|
22
|
-
readonly path: "url.path";
|
|
23
|
-
readonly query: "url.query";
|
|
24
|
-
readonly fragment: "url.fragment";
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/semantic-conventions.d.ts
|
|
28
|
-
declare function httpRequestHeaderAttribute(name: string): string;
|
|
29
|
-
declare function httpResponseHeaderAttribute(name: string): string;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { URLAttributes as a, ServiceAttributes as i, httpResponseHeaderAttribute as n, HTTPAttributes as r, httpRequestHeaderAttribute as t };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
//#region src/attributes/registry.d.ts
|
|
2
|
-
declare const HTTPAttributes: {
|
|
3
|
-
readonly connectionState: "http.connection.state";
|
|
4
|
-
readonly requestMethod: "http.request.method";
|
|
5
|
-
readonly requestMethodOriginal: "http.request.method_original";
|
|
6
|
-
readonly requestResendCount: "http.request.resend_count";
|
|
7
|
-
readonly requestSize: "http.request.size";
|
|
8
|
-
readonly requestBodySize: "http.request.body.size";
|
|
9
|
-
readonly responseSize: "http.response.size";
|
|
10
|
-
readonly responseBodySize: "http.response.body.size";
|
|
11
|
-
readonly responseStatusCode: "http.response.status_code";
|
|
12
|
-
readonly route: "http.route";
|
|
13
|
-
};
|
|
14
|
-
declare const ServiceAttributes: {
|
|
15
|
-
readonly name: "service.name";
|
|
16
|
-
readonly instance: "service.instance.id";
|
|
17
|
-
readonly version: "service.version";
|
|
18
|
-
};
|
|
19
|
-
declare const URLAttributes: {
|
|
20
|
-
readonly scheme: "url.scheme";
|
|
21
|
-
readonly full: "url.full";
|
|
22
|
-
readonly path: "url.path";
|
|
23
|
-
readonly query: "url.query";
|
|
24
|
-
readonly fragment: "url.fragment";
|
|
25
|
-
};
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region src/semantic-conventions.d.ts
|
|
28
|
-
declare function httpRequestHeaderAttribute(name: string): string;
|
|
29
|
-
declare function httpResponseHeaderAttribute(name: string): string;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { URLAttributes as a, ServiceAttributes as i, httpResponseHeaderAttribute as n, HTTPAttributes as r, httpRequestHeaderAttribute as t };
|