@autter/runtime-node 1.6.0 → 1.6.1
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 +43 -0
- package/dist/{chunk-ARN26OK6.cjs → chunk-4MVWIRBI.cjs} +89 -39
- package/dist/{chunk-FBKYOHU2.js → chunk-5KISVAVB.js} +41 -31
- package/dist/{chunk-UGNPCOIW.cjs → chunk-7OTD2YPT.cjs} +11 -11
- package/dist/{chunk-OY2HTUWY.js → chunk-HRDELHZP.js} +81 -31
- package/dist/{chunk-Y4T7SQMO.js → chunk-L5ENELB2.js} +1 -1
- package/dist/{chunk-UKYTXZOQ.cjs → chunk-UXTIMS3G.cjs} +65 -55
- package/dist/cli.cjs +8 -8
- package/dist/cli.js +2 -2
- package/dist/index.cjs +399 -290
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +215 -106
- package/dist/testing.cjs +8 -8
- package/dist/testing.js +2 -2
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -281,6 +281,18 @@ interface AutterServerOptions {
|
|
|
281
281
|
* Default true.
|
|
282
282
|
*/
|
|
283
283
|
redactAttributes?: boolean | RedactOptions;
|
|
284
|
+
/**
|
|
285
|
+
* Query strings never leave the process with their values. Every span
|
|
286
|
+
* (any instrumentation, Next.js's own included) is exported with
|
|
287
|
+
* `http.target`, `http.url` and `url.full` cut at the `?`, `url.query`
|
|
288
|
+
* reduced to its parameter names (`email=[redacted]&page=[redacted]`,
|
|
289
|
+
* added when only the URL had the query) and the query dropped from span
|
|
290
|
+
* names. List parameters whose values are safe to keep in `url.query`,
|
|
291
|
+
* such as pagination or sorting: `keepQueryParams: ["page", "sort"]`
|
|
292
|
+
* (exact names; kept values are still scrubbed by `redactAttributes`).
|
|
293
|
+
* Applies even with `redactAttributes: false`. Default `[]`.
|
|
294
|
+
*/
|
|
295
|
+
keepQueryParams?: string[];
|
|
284
296
|
/**
|
|
285
297
|
* Verbose lifecycle logging to stderr: "exported N spans", flushes and
|
|
286
298
|
* auto-flush activity — handy while wiring the SDK up. Also enabled by
|
package/dist/index.d.ts
CHANGED
|
@@ -281,6 +281,18 @@ interface AutterServerOptions {
|
|
|
281
281
|
* Default true.
|
|
282
282
|
*/
|
|
283
283
|
redactAttributes?: boolean | RedactOptions;
|
|
284
|
+
/**
|
|
285
|
+
* Query strings never leave the process with their values. Every span
|
|
286
|
+
* (any instrumentation, Next.js's own included) is exported with
|
|
287
|
+
* `http.target`, `http.url` and `url.full` cut at the `?`, `url.query`
|
|
288
|
+
* reduced to its parameter names (`email=[redacted]&page=[redacted]`,
|
|
289
|
+
* added when only the URL had the query) and the query dropped from span
|
|
290
|
+
* names. List parameters whose values are safe to keep in `url.query`,
|
|
291
|
+
* such as pagination or sorting: `keepQueryParams: ["page", "sort"]`
|
|
292
|
+
* (exact names; kept values are still scrubbed by `redactAttributes`).
|
|
293
|
+
* Applies even with `redactAttributes: false`. Default `[]`.
|
|
294
|
+
*/
|
|
295
|
+
keepQueryParams?: string[];
|
|
284
296
|
/**
|
|
285
297
|
* Verbose lifecycle logging to stderr: "exported N spans", flushes and
|
|
286
298
|
* auto-flush activity — handy while wiring the SDK up. Also enabled by
|