@autter/runtime-node 1.8.0 → 1.9.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 +69 -1
- package/dist/{chunk-7H3FCV4P.cjs → chunk-AN45KLWD.cjs} +11 -11
- package/dist/{chunk-MOZOUEMA.cjs → chunk-BHYHORUD.cjs} +44 -3
- package/dist/{chunk-QKY2OQSO.js → chunk-HHKQ3UCH.js} +533 -31
- package/dist/{chunk-UC3QH4PC.js → chunk-JSGGUWRD.js} +1 -1
- package/dist/{chunk-37W7YYXO.cjs → chunk-YWTIKZSI.cjs} +596 -94
- package/dist/{chunk-B5ZMOCEM.js → chunk-ZKM76SDP.js} +44 -3
- package/dist/cli.cjs +8 -8
- package/dist/cli.js +2 -2
- package/dist/index.cjs +424 -209
- package/dist/index.d.cts +75 -3
- package/dist/index.d.ts +75 -3
- package/dist/index.js +231 -16
- package/dist/{sinks-CIdlmYwy.d.cts → sinks-CLtQFPnn.d.cts} +39 -3
- package/dist/{sinks-CIdlmYwy.d.ts → sinks-CLtQFPnn.d.ts} +39 -3
- package/dist/testing.cjs +8 -8
- package/dist/testing.d.cts +2 -2
- package/dist/testing.d.ts +2 -2
- package/dist/testing.js +2 -2
- package/package.json +7 -3
|
@@ -170,6 +170,43 @@ var compat_manifest_default = {
|
|
|
170
170
|
ingester: "1.9.0",
|
|
171
171
|
migrations: ["0021-occurrence-collapsed-count"],
|
|
172
172
|
sdks: {}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
id: "edge_request_counts",
|
|
176
|
+
title: "Edge requests counted from their request summaries",
|
|
177
|
+
ingester: "1.10.0",
|
|
178
|
+
migrations: [],
|
|
179
|
+
route: "/v1/logs",
|
|
180
|
+
sdks: { "@autter/runtime-edge": "1.3.0" }
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
id: "caught_errors",
|
|
184
|
+
title: "Caught errors and deliberate fallbacks recorded as handled occurrences",
|
|
185
|
+
ingester: "1.11.0",
|
|
186
|
+
migrations: [],
|
|
187
|
+
sdks: { "@autter/runtime-node": "1.9.0", "@autter/runtime-edge": "1.4.0", "@autter/runtime-next": "1.9.0", "@autter/runtime-browser": "1.8.0" }
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
id: "route_percentiles",
|
|
191
|
+
title: "Per-route p95 and p99 latency in the 1-minute rollups",
|
|
192
|
+
ingester: "1.11.0",
|
|
193
|
+
migrations: ["0022-route-latency-1m"],
|
|
194
|
+
sdks: {}
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
id: "server_source_maps",
|
|
198
|
+
title: "Server bundles symbolicated, with source context lines",
|
|
199
|
+
ingester: "1.11.0",
|
|
200
|
+
migrations: [],
|
|
201
|
+
route: "/v1/sourcemaps",
|
|
202
|
+
sdks: { "@autter/runtime-cli": "1.3.0", "@autter/runtime-node": "1.9.0", "@autter/runtime-edge": "1.4.0", "@autter/runtime-next": "1.9.0" }
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
id: "cause_fingerprint",
|
|
206
|
+
title: "Wrapped errors grouped with their root cause (cause-v1)",
|
|
207
|
+
ingester: "1.11.0",
|
|
208
|
+
migrations: [],
|
|
209
|
+
sdks: { "@autter/runtime-node": "1.9.0", "@autter/runtime-edge": "1.4.0", "@autter/runtime-next": "1.9.0" }
|
|
173
210
|
}
|
|
174
211
|
]
|
|
175
212
|
};
|
|
@@ -515,7 +552,7 @@ import { request as httpsRequest } from "https";
|
|
|
515
552
|
// package.json
|
|
516
553
|
var package_default = {
|
|
517
554
|
name: "@autter/runtime-node",
|
|
518
|
-
version: "1.
|
|
555
|
+
version: "1.9.0",
|
|
519
556
|
description: "Autter Runtime for Node.js: request wide events, coded errors, operation logging, same-origin browser relay and a curated OpenTelemetry server tracker",
|
|
520
557
|
license: "MIT",
|
|
521
558
|
type: "module",
|
|
@@ -560,16 +597,20 @@ var package_default = {
|
|
|
560
597
|
"@opentelemetry/sdk-metrics": "^1.30.1",
|
|
561
598
|
"@opentelemetry/sdk-node": "^0.57.1",
|
|
562
599
|
"@opentelemetry/sdk-trace-base": "^1.30.1",
|
|
563
|
-
"@opentelemetry/semantic-conventions": "^1.28.0"
|
|
600
|
+
"@opentelemetry/semantic-conventions": "^1.28.0",
|
|
601
|
+
"require-in-the-middle": "^7.5.2"
|
|
564
602
|
},
|
|
565
603
|
devDependencies: {
|
|
566
604
|
"@autter/runtime-core": "0.0.0",
|
|
567
605
|
"@types/node": "^22.10.0",
|
|
606
|
+
bunyan: "^1.8.15",
|
|
568
607
|
express: "^4.21.2",
|
|
569
608
|
fastify: "^5.12.5",
|
|
570
609
|
koa: "^3.2.1",
|
|
610
|
+
pino: "^10.4.0",
|
|
571
611
|
tsup: "^8.3.5",
|
|
572
|
-
typescript: "^5.7.0"
|
|
612
|
+
typescript: "^5.7.0",
|
|
613
|
+
winston: "^3.19.0"
|
|
573
614
|
},
|
|
574
615
|
engines: {
|
|
575
616
|
node: ">=20"
|
package/dist/cli.cjs
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
8
|
-
require('./chunk-
|
|
7
|
+
var _chunkAN45KLWDcjs = require('./chunk-AN45KLWD.cjs');
|
|
8
|
+
require('./chunk-BHYHORUD.cjs');
|
|
9
9
|
|
|
10
10
|
// src/cli.ts
|
|
11
11
|
var _child_process = require('child_process');
|
|
@@ -31,22 +31,22 @@ async function main(argv) {
|
|
|
31
31
|
return 64;
|
|
32
32
|
}
|
|
33
33
|
if (command !== "doctor") {
|
|
34
|
-
console.log(
|
|
34
|
+
console.log(_chunkAN45KLWDcjs.DOCTOR_USAGE);
|
|
35
35
|
return command === void 0 || command === "--help" || command === "-h" ? 0 : 64;
|
|
36
36
|
}
|
|
37
|
-
const parsed =
|
|
37
|
+
const parsed = _chunkAN45KLWDcjs.parseDoctorArgs.call(void 0, rest);
|
|
38
38
|
if ("help" in parsed) {
|
|
39
|
-
console.log(
|
|
39
|
+
console.log(_chunkAN45KLWDcjs.DOCTOR_USAGE);
|
|
40
40
|
return 0;
|
|
41
41
|
}
|
|
42
42
|
if ("error" in parsed) {
|
|
43
43
|
console.error(`${parsed.error}
|
|
44
44
|
|
|
45
|
-
${
|
|
45
|
+
${_chunkAN45KLWDcjs.DOCTOR_USAGE}`);
|
|
46
46
|
return 64;
|
|
47
47
|
}
|
|
48
|
-
const report = await
|
|
49
|
-
console.log(parsed.json ? JSON.stringify(report, null, 2) :
|
|
48
|
+
const report = await _chunkAN45KLWDcjs.runDoctor.call(void 0, parsed);
|
|
49
|
+
console.log(parsed.json ? JSON.stringify(report, null, 2) : _chunkAN45KLWDcjs.formatDoctorReport.call(void 0, report));
|
|
50
50
|
return report.exitCode;
|
|
51
51
|
}
|
|
52
52
|
main(process.argv.slice(2)).then(
|
package/dist/cli.js
CHANGED