@autter/runtime-node 1.7.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 +103 -1
- package/dist/{chunk-HKVFURYT.cjs → chunk-AN45KLWD.cjs} +11 -11
- package/dist/{chunk-GYTQLITW.cjs → chunk-BHYHORUD.cjs} +58 -3
- package/dist/{chunk-KA4AOZX2.js → chunk-HHKQ3UCH.js} +571 -31
- package/dist/{chunk-QUC6OUE7.js → chunk-JSGGUWRD.js} +1 -1
- package/dist/{chunk-RV4MJNM2.cjs → chunk-YWTIKZSI.cjs} +631 -91
- package/dist/{chunk-LG52CW3V.js → chunk-ZKM76SDP.js} +58 -3
- package/dist/cli.cjs +8 -8
- package/dist/cli.js +2 -2
- package/dist/index.cjs +447 -210
- package/dist/index.d.cts +98 -3
- package/dist/index.d.ts +98 -3
- package/dist/index.js +253 -16
- package/dist/{sinks-CPGDyfU8.d.ts → sinks-CLtQFPnn.d.cts} +59 -3
- package/dist/{sinks-CPGDyfU8.d.cts → sinks-CLtQFPnn.d.ts} +59 -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
|
@@ -156,6 +156,57 @@ var compat_manifest_default = {
|
|
|
156
156
|
ingester: "1.8.0",
|
|
157
157
|
migrations: ["0020-occurrence-frame-resolution"],
|
|
158
158
|
sdks: {}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
id: "ingest_suppression",
|
|
162
|
+
title: "Suppression rules: drop or sample matching errors at ingest",
|
|
163
|
+
ingester: "1.9.0",
|
|
164
|
+
migrations: [],
|
|
165
|
+
sdks: {}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
id: "loop_collapse",
|
|
169
|
+
title: "Loop collapse: a looping error stored as one sample a minute with an exact count",
|
|
170
|
+
ingester: "1.9.0",
|
|
171
|
+
migrations: ["0021-occurrence-collapsed-count"],
|
|
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" }
|
|
159
210
|
}
|
|
160
211
|
]
|
|
161
212
|
};
|
|
@@ -501,7 +552,7 @@ import { request as httpsRequest } from "https";
|
|
|
501
552
|
// package.json
|
|
502
553
|
var package_default = {
|
|
503
554
|
name: "@autter/runtime-node",
|
|
504
|
-
version: "1.
|
|
555
|
+
version: "1.9.0",
|
|
505
556
|
description: "Autter Runtime for Node.js: request wide events, coded errors, operation logging, same-origin browser relay and a curated OpenTelemetry server tracker",
|
|
506
557
|
license: "MIT",
|
|
507
558
|
type: "module",
|
|
@@ -546,16 +597,20 @@ var package_default = {
|
|
|
546
597
|
"@opentelemetry/sdk-metrics": "^1.30.1",
|
|
547
598
|
"@opentelemetry/sdk-node": "^0.57.1",
|
|
548
599
|
"@opentelemetry/sdk-trace-base": "^1.30.1",
|
|
549
|
-
"@opentelemetry/semantic-conventions": "^1.28.0"
|
|
600
|
+
"@opentelemetry/semantic-conventions": "^1.28.0",
|
|
601
|
+
"require-in-the-middle": "^7.5.2"
|
|
550
602
|
},
|
|
551
603
|
devDependencies: {
|
|
552
604
|
"@autter/runtime-core": "0.0.0",
|
|
553
605
|
"@types/node": "^22.10.0",
|
|
606
|
+
bunyan: "^1.8.15",
|
|
554
607
|
express: "^4.21.2",
|
|
555
608
|
fastify: "^5.12.5",
|
|
556
609
|
koa: "^3.2.1",
|
|
610
|
+
pino: "^10.4.0",
|
|
557
611
|
tsup: "^8.3.5",
|
|
558
|
-
typescript: "^5.7.0"
|
|
612
|
+
typescript: "^5.7.0",
|
|
613
|
+
winston: "^3.19.0"
|
|
559
614
|
},
|
|
560
615
|
engines: {
|
|
561
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