@osfactory/otel-hook 0.13.2 → 0.14.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 +57 -0
- package/dist/{adapter-DyCb7y1N.d.ts → adapter-But5fFCk.d.ts} +9 -2
- package/dist/cli.js +628 -73
- package/dist/cli.js.map +1 -1
- package/dist/config.d.ts +30 -4
- package/dist/config.js +161 -9
- package/dist/config.js.map +1 -1
- package/dist/{destinations-C4sSKjDO.d.ts → destinations-2KrcRslo.d.ts} +92 -2
- package/dist/{export-destinations-BjRXDots.d.ts → export-destinations-8tNkIC8a.d.ts} +110 -10
- package/dist/{filesystem-store-B3CpiIRl.d.ts → filesystem-store-Z8XgDtFj.d.ts} +1 -1
- package/dist/{hook-CKLpgrYP.d.ts → hook-D7XABd4f.d.ts} +19 -5
- package/dist/index.d.ts +14 -14
- package/dist/index.js +626 -72
- package/dist/index.js.map +1 -1
- package/dist/install.d.ts +4 -4
- package/dist/install.js.map +1 -1
- package/dist/integration.d.ts +9 -9
- package/dist/integration.js +555 -65
- package/dist/integration.js.map +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/lifecycle.js +1 -1
- package/dist/lifecycle.js.map +1 -1
- package/dist/{memory-B3r6sZtC.d.ts → memory-gipZUiXP.d.ts} +1 -1
- package/dist/{payload-DLK7QaBB.d.ts → payload-DWdx9yk3.d.ts} +1 -1
- package/dist/{ports-DhpSDIkp.d.ts → ports-qZTwK-z2.d.ts} +22 -2
- package/dist/privacy.d.ts +2 -2
- package/dist/privacy.js +42 -1
- package/dist/privacy.js.map +1 -1
- package/dist/providers.d.ts +9 -9
- package/dist/providers.js +22 -5
- package/dist/providers.js.map +1 -1
- package/dist/{registry-DM-4YvIA.d.ts → registry-D9rmMYxw.d.ts} +2 -2
- package/dist/runtime.d.ts +24 -9
- package/dist/runtime.js +282 -30
- package/dist/runtime.js.map +1 -1
- package/dist/{schema-CD61uW99.d.ts → schema-oRsbo7WO.d.ts} +45 -0
- package/dist/{service-CbI9CObT.d.ts → service-DySC7KQM.d.ts} +6 -1
- package/dist/state.d.ts +3 -3
- package/dist/state.js.map +1 -1
- package/dist/telemetry.d.ts +6 -5
- package/dist/telemetry.js +304 -17
- package/dist/telemetry.js.map +1 -1
- package/dist/testing.d.ts +8 -8
- package/dist/testing.js +185 -10
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
|
@@ -111,6 +111,21 @@ declare const exporterPolicySchema: z.ZodObject<{
|
|
|
111
111
|
logs: "logs";
|
|
112
112
|
metrics: "metrics";
|
|
113
113
|
}>>>>;
|
|
114
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
115
|
+
repositories: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
116
|
+
signals: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
117
|
+
traces: "traces";
|
|
118
|
+
logs: "logs";
|
|
119
|
+
metrics: "metrics";
|
|
120
|
+
}>>>>;
|
|
121
|
+
contentMode: z.ZodOptional<z.ZodEnum<{
|
|
122
|
+
raw: "raw";
|
|
123
|
+
omit: "omit";
|
|
124
|
+
mask: "mask";
|
|
125
|
+
redact: "redact";
|
|
126
|
+
}>>;
|
|
127
|
+
includeSessionId: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
}, z.core.$strict>>>>;
|
|
114
129
|
}, z.core.$strict>>>>;
|
|
115
130
|
spool: z.ZodOptional<z.ZodObject<{
|
|
116
131
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -239,6 +254,21 @@ declare const otelHookConfigSchema: z.ZodObject<{
|
|
|
239
254
|
logs: "logs";
|
|
240
255
|
metrics: "metrics";
|
|
241
256
|
}>>>>;
|
|
257
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
258
|
+
repositories: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
259
|
+
signals: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
260
|
+
traces: "traces";
|
|
261
|
+
logs: "logs";
|
|
262
|
+
metrics: "metrics";
|
|
263
|
+
}>>>>;
|
|
264
|
+
contentMode: z.ZodOptional<z.ZodEnum<{
|
|
265
|
+
raw: "raw";
|
|
266
|
+
omit: "omit";
|
|
267
|
+
mask: "mask";
|
|
268
|
+
redact: "redact";
|
|
269
|
+
}>>;
|
|
270
|
+
includeSessionId: z.ZodOptional<z.ZodBoolean>;
|
|
271
|
+
}, z.core.$strict>>>>;
|
|
242
272
|
}, z.core.$strict>>>>;
|
|
243
273
|
spool: z.ZodOptional<z.ZodObject<{
|
|
244
274
|
maxBytes: z.ZodOptional<z.ZodNumber>;
|
|
@@ -338,6 +368,21 @@ declare const otelHookConfigPatchSchema: z.ZodObject<{
|
|
|
338
368
|
logs: "logs";
|
|
339
369
|
metrics: "metrics";
|
|
340
370
|
}>>>>;
|
|
371
|
+
scopes: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
372
|
+
repositories: z.ZodUnion<readonly [z.ZodLiteral<"*">, z.ZodReadonly<z.ZodArray<z.ZodString>>]>;
|
|
373
|
+
signals: z.ZodOptional<z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
374
|
+
traces: "traces";
|
|
375
|
+
logs: "logs";
|
|
376
|
+
metrics: "metrics";
|
|
377
|
+
}>>>>;
|
|
378
|
+
contentMode: z.ZodOptional<z.ZodEnum<{
|
|
379
|
+
raw: "raw";
|
|
380
|
+
omit: "omit";
|
|
381
|
+
mask: "mask";
|
|
382
|
+
redact: "redact";
|
|
383
|
+
}>>;
|
|
384
|
+
includeSessionId: z.ZodOptional<z.ZodBoolean>;
|
|
385
|
+
}, z.core.$strict>>>>;
|
|
341
386
|
}, z.core.$strict>>>>>;
|
|
342
387
|
exportBudgetMillis: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
343
388
|
endpointDownMillis: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as ContentKind, d as ContentRole, b as ContentFact } from './content-M9xIKG7h.js';
|
|
2
2
|
import { b as Attributes, a as AttributeValue } from './primitives-CJ8-rn-f.js';
|
|
3
|
-
import { f as PrivacyPolicy } from './policy-CimmCfRp.js';
|
|
3
|
+
import { f as PrivacyPolicy, a as ContentMode } from './policy-CimmCfRp.js';
|
|
4
4
|
|
|
5
5
|
type SanitizedValue = string | number | boolean | null | readonly SanitizedValue[] | {
|
|
6
6
|
readonly [key: string]: SanitizedValue;
|
|
@@ -68,6 +68,11 @@ interface PrivacyService {
|
|
|
68
68
|
readonly text: string;
|
|
69
69
|
readonly truncated: boolean;
|
|
70
70
|
};
|
|
71
|
+
/**
|
|
72
|
+
* The same fact disclosed at most at `mode` (a per-destination restriction).
|
|
73
|
+
* Never raises disclosure: a fact already at or below `mode` is returned as is.
|
|
74
|
+
*/
|
|
75
|
+
restrictContent(fact: ContentFact, mode: ContentMode): ContentFact;
|
|
71
76
|
}
|
|
72
77
|
declare const createPrivacyService: (policyInput: PrivacyPolicy) => PrivacyService;
|
|
73
78
|
|
package/dist/state.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { S as StoreNamespace } from './keys-Dej5bN3L.js';
|
|
2
|
-
import { L as LockingStateStore } from './filesystem-store-
|
|
3
|
-
export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-
|
|
4
|
-
import { C as Clock } from './ports-
|
|
2
|
+
import { L as LockingStateStore } from './filesystem-store-Z8XgDtFj.js';
|
|
3
|
+
export { F as FilesystemStateStore, a as FilesystemStateStoreOptions, S as StateStoreDependencies, c as createFilesystemStateStore, i as isLockingStateStore, w as withOptionalSessionLock } from './filesystem-store-Z8XgDtFj.js';
|
|
4
|
+
import { C as Clock } from './ports-qZTwK-z2.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import './errors.js';
|
|
7
7
|
import './primitives-CJ8-rn-f.js';
|