brass-runtime 1.17.0 → 1.18.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 +36 -3
- package/dist/agent/cli/main.cjs +31 -32
- package/dist/agent/cli/main.js +3 -4
- package/dist/agent/cli/main.mjs +3 -4
- package/dist/agent/index.cjs +4 -5
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +3 -4
- package/dist/agent/index.mjs +3 -4
- package/dist/{chunk-7X3K5RMS.js → chunk-22HZQG5F.js} +9 -11
- package/dist/{chunk-GLE2WY7Z.cjs → chunk-2JHJ4YHS.cjs} +417 -124
- package/dist/{chunk-Q2I37RP3.cjs → chunk-2OW6IFY2.cjs} +44 -323
- package/dist/{chunk-7ZPEZ57L.cjs → chunk-5LC7V2OZ.cjs} +18 -20
- package/dist/{chunk-AGR5B2BC.cjs → chunk-5RZ7YITF.cjs} +564 -12
- package/dist/{chunk-DNFJLJMW.mjs → chunk-6MLAZPBL.mjs} +48 -24
- package/dist/{chunk-EJ6BPYVR.mjs → chunk-6V2AWT4R.mjs} +1 -1
- package/dist/{chunk-3AYM6WPJ.js → chunk-7DU7IQHK.js} +20 -299
- package/dist/{chunk-SK7UZRNI.mjs → chunk-7GBJYOX7.mjs} +528 -23
- package/dist/chunk-7TKI527D.cjs +123 -0
- package/dist/{chunk-52OB2ROS.js → chunk-7VQLEN37.js} +2 -4
- package/dist/{chunk-KH4SYAOS.mjs → chunk-B5FKOLTB.mjs} +20 -299
- package/dist/{chunk-FHQGHPMO.mjs → chunk-BC6Q6BCO.mjs} +2 -4
- package/dist/{chunk-4P2HHGAX.mjs → chunk-COOW7BJX.mjs} +32 -11
- package/dist/{chunk-2HQTDLHF.mjs → chunk-EEN5OTCR.mjs} +555 -3
- package/dist/{chunk-KZJQ723N.cjs → chunk-EICAJDNX.cjs} +13 -15
- package/dist/chunk-ELIECDYN.cjs +33 -0
- package/dist/{chunk-GYM3LLGS.mjs → chunk-H626ZTDZ.mjs} +399 -106
- package/dist/{chunk-C3MDXTRZ.js → chunk-HCJ4S3YB.js} +48 -24
- package/dist/{chunk-7JIJOVCT.js → chunk-IPSMXUWA.js} +2 -4
- package/dist/{chunk-4ROBZFL6.cjs → chunk-J6DUHITE.cjs} +6 -8
- package/dist/{chunk-6RY2FFN4.mjs → chunk-JWIEMBE6.mjs} +9 -11
- package/dist/{chunk-PD4EJTQC.cjs → chunk-KNTJ7FQB.cjs} +5 -5
- package/dist/chunk-KTGDLBLD.mjs +123 -0
- package/dist/chunk-LSYQ3C2M.js +33 -0
- package/dist/{chunk-RKGKFN2A.js → chunk-OW5VHAOE.js} +1 -1
- package/dist/{chunk-EOC4UHBS.mjs → chunk-RBHNOKH4.mjs} +2 -2
- package/dist/{chunk-6IXXWIUM.js → chunk-S4HXADU4.js} +555 -3
- package/dist/{chunk-FH2X7BVP.js → chunk-TTSPIU3U.js} +399 -106
- package/dist/{chunk-5QC7LRZ3.js → chunk-UAKAF32U.js} +2 -2
- package/dist/{chunk-CZIVE6NT.cjs → chunk-UUMKZJRJ.cjs} +48 -24
- package/dist/{chunk-MBEJI5HF.mjs → chunk-WCBNXPN6.mjs} +2 -4
- package/dist/{chunk-52PPNNI4.cjs → chunk-WGE2FEZE.cjs} +2 -2
- package/dist/{chunk-WBGRHGBP.cjs → chunk-WI7GZF3B.cjs} +114 -93
- package/dist/chunk-WUDHOZIH.js +6234 -0
- package/dist/{chunk-F6XWZQY4.cjs → chunk-WVSZOPGQ.cjs} +583 -78
- package/dist/chunk-XPIMJQYS.cjs +6234 -0
- package/dist/{chunk-VWIPB6I5.js → chunk-YGR2IN4R.js} +528 -23
- package/dist/chunk-YM3EDNYD.js +123 -0
- package/dist/chunk-YWLLH27R.mjs +33 -0
- package/dist/{chunk-BKK77SBA.js → chunk-YZ5LQ32F.js} +32 -11
- package/dist/chunk-Z3ZZMQUZ.mjs +6234 -0
- package/dist/core/index.cjs +37 -9
- package/dist/core/index.d.ts +19 -152
- package/dist/core/index.js +86 -58
- package/dist/core/index.mjs +86 -58
- package/dist/defaultClient-Cid0JoUR.d.ts +1648 -0
- package/dist/{effect-DIUHZ9IN.d.ts → effect-DnGUuhw6.d.ts} +22 -1
- package/dist/http/index.cjs +206 -59
- package/dist/http/index.d.ts +55 -819
- package/dist/http/index.js +220 -73
- package/dist/http/index.mjs +220 -73
- package/dist/http/testing.cjs +31 -10
- package/dist/http/testing.d.ts +16 -5
- package/dist/http/testing.js +29 -8
- package/dist/http/testing.mjs +29 -8
- package/dist/index.cjs +116 -88
- package/dist/index.d.ts +9 -8
- package/dist/index.js +87 -59
- package/dist/index.mjs +87 -59
- package/dist/{schedule-CK3Ml_7p.d.ts → layer-D2LFcBVx.d.ts} +176 -2
- package/dist/observability/index.cjs +20 -7
- package/dist/observability/index.d.ts +32 -8
- package/dist/observability/index.js +19 -6
- package/dist/observability/index.mjs +19 -6
- package/dist/perf/cli.cjs +26 -28
- package/dist/perf/cli.js +11 -13
- package/dist/perf/cli.mjs +11 -13
- package/dist/perf/index.cjs +13 -15
- package/dist/perf/index.js +11 -13
- package/dist/perf/index.mjs +11 -13
- package/dist/schema/index.cjs +2 -2
- package/dist/schema/index.js +1 -1
- package/dist/schema/index.mjs +1 -1
- package/dist/{server-D6JZ15_e.d.ts → server-Bf1zNYZk.d.ts} +5 -5
- package/dist/{stream-B4oK9JFP.d.ts → stream-I7bkvF7a.d.ts} +1 -1
- package/dist/{tracer-Hwt1cl7h.d.ts → tracer-DF83nLn6.d.ts} +2 -2
- package/dist/{tracing-DqbTKGcf.d.ts → tracing-CWV4gT0u.d.ts} +1 -1
- package/docs/README.md +2 -0
- package/docs/ai/PUBLIC_API.md +28 -7
- package/docs/articles/brass-runtime-http-observability.md +467 -0
- package/docs/frameworks/angular.md +51 -0
- package/docs/frameworks/express.md +58 -0
- package/docs/frameworks/fastify.md +49 -0
- package/docs/frameworks/nestjs.md +53 -0
- package/docs/frameworks/nextjs.md +55 -0
- package/docs/frameworks/react.md +44 -0
- package/docs/frameworks/vanilla.md +56 -0
- package/docs/guides/layers.md +130 -0
- package/docs/http-recipes.md +31 -1
- package/docs/http.md +50 -1
- package/docs/observability.md +132 -0
- package/docs/performance-profiler.md +6 -2
- package/docs/recipes/layers.md +46 -2
- package/docs/recipes/testing.md +25 -0
- package/package.json +6 -2
- package/dist/chunk-3LOYJFRR.cjs +0 -300
- package/dist/chunk-3Y2RIUMM.js +0 -300
- package/dist/chunk-5EC274J5.cjs +0 -2874
- package/dist/chunk-5VRJNBLZ.mjs +0 -2874
- package/dist/chunk-62AZW6UT.cjs +0 -313
- package/dist/chunk-74ZTY6CP.js +0 -2871
- package/dist/chunk-7CMJS3QE.mjs +0 -2871
- package/dist/chunk-A2OM6NEH.mjs +0 -194
- package/dist/chunk-B33ICAKP.js +0 -313
- package/dist/chunk-JF5WGYJJ.cjs +0 -194
- package/dist/chunk-KN32XNTH.mjs +0 -313
- package/dist/chunk-KQLYONSE.cjs +0 -2871
- package/dist/chunk-L2SYFEBS.js +0 -194
- package/dist/chunk-MIIYDLGM.js +0 -2874
- package/dist/chunk-PWC3RBQE.mjs +0 -300
- package/dist/client-CZHU674n.d.ts +0 -820
package/dist/index.mjs
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Layer,
|
|
3
|
-
LayerContext,
|
|
4
2
|
LinkedQueue,
|
|
5
|
-
MissingLayerServiceError,
|
|
6
3
|
RuntimeRegistry,
|
|
7
4
|
Supervisor,
|
|
8
5
|
TestClock,
|
|
@@ -11,72 +8,40 @@ import {
|
|
|
11
8
|
assertFails,
|
|
12
9
|
assertFailsWith,
|
|
13
10
|
assertSucceeds,
|
|
14
|
-
buildLayer,
|
|
15
11
|
catchTag,
|
|
16
12
|
catchTags,
|
|
17
|
-
compose,
|
|
18
13
|
consoleJsonLogger,
|
|
19
14
|
defaultTracer,
|
|
20
|
-
|
|
21
|
-
defineService,
|
|
15
|
+
defineConfigLayer,
|
|
22
16
|
delayedEffect,
|
|
23
17
|
derivedRef,
|
|
24
18
|
dumpAllFibers,
|
|
25
19
|
flakyEffect,
|
|
26
|
-
formatLayerError,
|
|
27
|
-
getService,
|
|
28
20
|
gracefulShutdown,
|
|
29
21
|
joinSupervised,
|
|
30
|
-
layer,
|
|
31
|
-
layerEffect,
|
|
32
|
-
layerFail,
|
|
33
|
-
layerFrom,
|
|
34
|
-
layerFromContext,
|
|
35
|
-
layerSucceed,
|
|
36
|
-
layerValue,
|
|
37
22
|
linkAbortController,
|
|
38
23
|
makeCancelToken,
|
|
39
|
-
|
|
24
|
+
makeConfigLayer,
|
|
40
25
|
makeRef,
|
|
41
26
|
makeRuntime,
|
|
42
27
|
makeSemaphore,
|
|
43
|
-
makeServiceTag,
|
|
44
28
|
makeSupervisor,
|
|
45
29
|
makeTestRuntime,
|
|
46
30
|
makeTracer,
|
|
47
31
|
makeWorkerPool,
|
|
48
32
|
mapError as mapError2,
|
|
49
|
-
mapLayer,
|
|
50
|
-
merge,
|
|
51
33
|
neverEffect,
|
|
52
34
|
orElse,
|
|
53
|
-
provide,
|
|
54
|
-
provideContext,
|
|
55
|
-
provideLayer,
|
|
56
|
-
provideLayerContext,
|
|
57
35
|
registerShutdownHooks,
|
|
58
36
|
runEffect,
|
|
59
37
|
runExit,
|
|
60
38
|
runPromise,
|
|
61
|
-
serviceTag,
|
|
62
39
|
supervise,
|
|
63
40
|
tagError
|
|
64
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B5FKOLTB.mjs";
|
|
65
42
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
ensuring,
|
|
69
|
-
makeCircuitBreaker,
|
|
70
|
-
makeResource,
|
|
71
|
-
managed,
|
|
72
|
-
managedAll,
|
|
73
|
-
resource,
|
|
74
|
-
resourceAll,
|
|
75
|
-
resourceFromManaged,
|
|
76
|
-
resourceSucceed,
|
|
77
|
-
useManaged,
|
|
78
|
-
useResource
|
|
79
|
-
} from "./chunk-KN32XNTH.mjs";
|
|
43
|
+
makeCircuitBreaker
|
|
44
|
+
} from "./chunk-KTGDLBLD.mjs";
|
|
80
45
|
import {
|
|
81
46
|
fiberRefSnapshot,
|
|
82
47
|
getFiberRef,
|
|
@@ -89,7 +54,19 @@ import {
|
|
|
89
54
|
unsafeGetFiberRef,
|
|
90
55
|
unsafeSetFiberRef,
|
|
91
56
|
updateFiberRef
|
|
92
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RBHNOKH4.mjs";
|
|
58
|
+
import {
|
|
59
|
+
RuntimeService,
|
|
60
|
+
makeRuntimeLayer
|
|
61
|
+
} from "./chunk-YWLLH27R.mjs";
|
|
62
|
+
import {
|
|
63
|
+
EventBus,
|
|
64
|
+
InMemoryTracer,
|
|
65
|
+
makeMetrics,
|
|
66
|
+
makeRuntimeEventRecord,
|
|
67
|
+
runtimeEventRecordContext,
|
|
68
|
+
runtimeHooksToEventHandler
|
|
69
|
+
} from "./chunk-6V2AWT4R.mjs";
|
|
93
70
|
import {
|
|
94
71
|
assertNever,
|
|
95
72
|
collectStream,
|
|
@@ -110,7 +87,7 @@ import {
|
|
|
110
87
|
unwrapScoped,
|
|
111
88
|
widenOpt,
|
|
112
89
|
zip
|
|
113
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-BC6Q6BCO.mjs";
|
|
114
91
|
import {
|
|
115
92
|
collectAllPar,
|
|
116
93
|
race,
|
|
@@ -118,30 +95,69 @@ import {
|
|
|
118
95
|
zipPar
|
|
119
96
|
} from "./chunk-B5JD23U7.mjs";
|
|
120
97
|
import {
|
|
98
|
+
Layer,
|
|
99
|
+
LayerContext,
|
|
100
|
+
MissingLayerServiceError,
|
|
101
|
+
Resource,
|
|
121
102
|
Schedule,
|
|
122
103
|
andThen,
|
|
104
|
+
bracket,
|
|
105
|
+
buildLayer,
|
|
106
|
+
compose,
|
|
107
|
+
composeAll,
|
|
123
108
|
contramap,
|
|
109
|
+
defineLayer,
|
|
110
|
+
defineService,
|
|
124
111
|
elapsed,
|
|
112
|
+
ensuring,
|
|
125
113
|
exponential,
|
|
126
114
|
fibonacci,
|
|
127
115
|
fixed,
|
|
128
116
|
forever,
|
|
117
|
+
formatLayerError,
|
|
118
|
+
getService,
|
|
119
|
+
getServices,
|
|
129
120
|
intersect,
|
|
130
121
|
jitter,
|
|
131
122
|
jittered,
|
|
132
123
|
jitteredSchedule,
|
|
124
|
+
layer,
|
|
125
|
+
layerEffect,
|
|
126
|
+
layerFail,
|
|
127
|
+
layerFrom,
|
|
128
|
+
layerFromContext,
|
|
129
|
+
layerSucceed,
|
|
130
|
+
layerValue,
|
|
133
131
|
linear,
|
|
132
|
+
makeLayerScope,
|
|
133
|
+
makeResource,
|
|
134
134
|
makeScheduleDriver,
|
|
135
|
+
makeServiceTag,
|
|
136
|
+
makeTestLayer,
|
|
137
|
+
makeTestLayers,
|
|
138
|
+
managed,
|
|
139
|
+
managedAll,
|
|
135
140
|
map as map2,
|
|
141
|
+
mapLayer,
|
|
136
142
|
maxDelay,
|
|
137
143
|
maxElapsed,
|
|
144
|
+
merge,
|
|
145
|
+
mergeAll,
|
|
138
146
|
named,
|
|
139
147
|
never,
|
|
140
148
|
once,
|
|
141
149
|
poll,
|
|
150
|
+
provide,
|
|
151
|
+
provideContext,
|
|
152
|
+
provideLayer,
|
|
153
|
+
provideLayerContext,
|
|
142
154
|
recurs,
|
|
143
155
|
repeat,
|
|
144
156
|
repeatWithSchedule,
|
|
157
|
+
resource,
|
|
158
|
+
resourceAll,
|
|
159
|
+
resourceFromManaged,
|
|
160
|
+
resourceSucceed,
|
|
145
161
|
retry,
|
|
146
162
|
retry2,
|
|
147
163
|
retryN,
|
|
@@ -149,6 +165,7 @@ import {
|
|
|
149
165
|
retryWithSchedule,
|
|
150
166
|
runSchedule,
|
|
151
167
|
scheduleDriver,
|
|
168
|
+
serviceTag,
|
|
152
169
|
sleep,
|
|
153
170
|
spaced,
|
|
154
171
|
take,
|
|
@@ -158,23 +175,14 @@ import {
|
|
|
158
175
|
untilInput,
|
|
159
176
|
untilOutput,
|
|
160
177
|
upTo,
|
|
178
|
+
useManaged,
|
|
179
|
+
useResource,
|
|
180
|
+
useService,
|
|
181
|
+
useServices,
|
|
161
182
|
whileInput,
|
|
162
183
|
whileOutput,
|
|
163
184
|
windowed
|
|
164
|
-
} from "./chunk-
|
|
165
|
-
import {
|
|
166
|
-
Scope,
|
|
167
|
-
withScope,
|
|
168
|
-
withScopeAsync
|
|
169
|
-
} from "./chunk-A2OM6NEH.mjs";
|
|
170
|
-
import {
|
|
171
|
-
EventBus,
|
|
172
|
-
InMemoryTracer,
|
|
173
|
-
makeMetrics,
|
|
174
|
-
makeRuntimeEventRecord,
|
|
175
|
-
runtimeEventRecordContext,
|
|
176
|
-
runtimeHooksToEventHandler
|
|
177
|
-
} from "./chunk-EJ6BPYVR.mjs";
|
|
185
|
+
} from "./chunk-EEN5OTCR.mjs";
|
|
178
186
|
import {
|
|
179
187
|
ABI_VERSION,
|
|
180
188
|
DefaultHostExecutor,
|
|
@@ -192,6 +200,7 @@ import {
|
|
|
192
200
|
Runtime,
|
|
193
201
|
RuntimeFiber,
|
|
194
202
|
Scheduler,
|
|
203
|
+
Scope,
|
|
195
204
|
WasmFiberEngine,
|
|
196
205
|
WasmFiberRegistryBridge,
|
|
197
206
|
WasmPackFiberBridge,
|
|
@@ -213,20 +222,25 @@ import {
|
|
|
213
222
|
liveClock,
|
|
214
223
|
makeBoundedRingBuffer,
|
|
215
224
|
makeFiberReadyQueue,
|
|
225
|
+
recordAbortablePromiseFinish,
|
|
226
|
+
recordAbortablePromiseStart,
|
|
216
227
|
resetAbortablePromiseStats,
|
|
217
228
|
resolveWasmModule,
|
|
218
229
|
runtimeCapabilities,
|
|
219
230
|
runtimeClockFromEnv,
|
|
220
231
|
runtimeForCaller,
|
|
221
232
|
sanitizeLaneKey,
|
|
233
|
+
setAbortablePromisePerLabelTracking,
|
|
222
234
|
setBenchmarkBudget,
|
|
223
235
|
toPromise,
|
|
224
236
|
toPromiseByCaller,
|
|
225
237
|
unsafeGetCurrentRuntime,
|
|
226
238
|
unsafeRunAsync,
|
|
227
239
|
unsafeRunFoldWithEnv,
|
|
228
|
-
withCurrentFiber
|
|
229
|
-
|
|
240
|
+
withCurrentFiber,
|
|
241
|
+
withScope,
|
|
242
|
+
withScopeAsync
|
|
243
|
+
} from "./chunk-H626ZTDZ.mjs";
|
|
230
244
|
import {
|
|
231
245
|
Async,
|
|
232
246
|
Cause,
|
|
@@ -265,7 +279,7 @@ import {
|
|
|
265
279
|
unit,
|
|
266
280
|
withAsyncPromise
|
|
267
281
|
} from "./chunk-36I3M4UC.mjs";
|
|
268
|
-
import "./chunk-
|
|
282
|
+
import "./chunk-6MLAZPBL.mjs";
|
|
269
283
|
import "./chunk-Y6FXYEAI.mjs";
|
|
270
284
|
|
|
271
285
|
// src/core/stream/queue.ts
|
|
@@ -1537,6 +1551,7 @@ export {
|
|
|
1537
1551
|
Runtime,
|
|
1538
1552
|
RuntimeFiber,
|
|
1539
1553
|
RuntimeRegistry,
|
|
1554
|
+
RuntimeService,
|
|
1540
1555
|
Schedule,
|
|
1541
1556
|
Scheduler,
|
|
1542
1557
|
Scope,
|
|
@@ -1584,6 +1599,7 @@ export {
|
|
|
1584
1599
|
collectAllPar,
|
|
1585
1600
|
collectStream,
|
|
1586
1601
|
compose2 as compose,
|
|
1602
|
+
composeAll,
|
|
1587
1603
|
compose as composeLayer,
|
|
1588
1604
|
concatStream,
|
|
1589
1605
|
consoleJsonLogger,
|
|
@@ -1594,6 +1610,7 @@ export {
|
|
|
1594
1610
|
decodeEvent,
|
|
1595
1611
|
decodeEventBatch,
|
|
1596
1612
|
defaultTracer,
|
|
1613
|
+
defineConfigLayer,
|
|
1597
1614
|
defineLayer,
|
|
1598
1615
|
defineService,
|
|
1599
1616
|
delayedEffect,
|
|
@@ -1635,6 +1652,7 @@ export {
|
|
|
1635
1652
|
getCurrentFiber,
|
|
1636
1653
|
getFiberRef,
|
|
1637
1654
|
getService,
|
|
1655
|
+
getServices,
|
|
1638
1656
|
getStats,
|
|
1639
1657
|
globalScheduler,
|
|
1640
1658
|
gracefulShutdown,
|
|
@@ -1668,6 +1686,7 @@ export {
|
|
|
1668
1686
|
makeBoundedRingBuffer,
|
|
1669
1687
|
makeCancelToken,
|
|
1670
1688
|
makeCircuitBreaker,
|
|
1689
|
+
makeConfigLayer,
|
|
1671
1690
|
makeFiberReadyQueue,
|
|
1672
1691
|
makeFiberRef,
|
|
1673
1692
|
makeHub,
|
|
@@ -1677,12 +1696,15 @@ export {
|
|
|
1677
1696
|
makeResource,
|
|
1678
1697
|
makeRuntime,
|
|
1679
1698
|
makeRuntimeEventRecord,
|
|
1699
|
+
makeRuntimeLayer,
|
|
1680
1700
|
makeRuntimeRecorder,
|
|
1681
1701
|
makeScheduleDriver,
|
|
1682
1702
|
makeSemaphore,
|
|
1683
1703
|
makeServiceTag,
|
|
1684
1704
|
makeStreamChunker,
|
|
1685
1705
|
makeSupervisor,
|
|
1706
|
+
makeTestLayer,
|
|
1707
|
+
makeTestLayers,
|
|
1686
1708
|
makeTestRuntime,
|
|
1687
1709
|
makeTracer,
|
|
1688
1710
|
makeWorkerPool,
|
|
@@ -1705,6 +1727,7 @@ export {
|
|
|
1705
1727
|
maxDelay,
|
|
1706
1728
|
maxElapsed,
|
|
1707
1729
|
merge2 as merge,
|
|
1730
|
+
mergeAll,
|
|
1708
1731
|
merge as mergeLayer,
|
|
1709
1732
|
mergeStream,
|
|
1710
1733
|
modifyFiberRef,
|
|
@@ -1724,6 +1747,8 @@ export {
|
|
|
1724
1747
|
race,
|
|
1725
1748
|
raceWith,
|
|
1726
1749
|
rangeStream,
|
|
1750
|
+
recordAbortablePromiseFinish,
|
|
1751
|
+
recordAbortablePromiseStart,
|
|
1727
1752
|
recurs,
|
|
1728
1753
|
registerShutdownHooks,
|
|
1729
1754
|
repeatWithSchedule,
|
|
@@ -1754,6 +1779,7 @@ export {
|
|
|
1754
1779
|
selectedEngineStats,
|
|
1755
1780
|
serializeFusedPipeline,
|
|
1756
1781
|
serviceTag,
|
|
1782
|
+
setAbortablePromisePerLabelTracking,
|
|
1757
1783
|
setBenchmarkBudget,
|
|
1758
1784
|
setFiberRef,
|
|
1759
1785
|
setFusionEnabled,
|
|
@@ -1792,6 +1818,8 @@ export {
|
|
|
1792
1818
|
updateFiberRef,
|
|
1793
1819
|
useManaged,
|
|
1794
1820
|
useResource,
|
|
1821
|
+
useService,
|
|
1822
|
+
useServices,
|
|
1795
1823
|
via,
|
|
1796
1824
|
whileInput,
|
|
1797
1825
|
whileOutput,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Async, R as RuntimeHooks,
|
|
1
|
+
import { A as Async, R as RuntimeHooks, e as RuntimeEmitContext } from './effect-DnGUuhw6.js';
|
|
2
2
|
|
|
3
3
|
type CircuitBreakerState = "closed" | "open" | "half-open";
|
|
4
4
|
type CircuitBreakerError = {
|
|
@@ -256,4 +256,178 @@ declare const Schedule: Readonly<{
|
|
|
256
256
|
poll: typeof repeatWithSchedule;
|
|
257
257
|
}>;
|
|
258
258
|
|
|
259
|
-
|
|
259
|
+
type ServiceTag<A> = {
|
|
260
|
+
readonly _tag: "ServiceTag";
|
|
261
|
+
readonly key: symbol;
|
|
262
|
+
readonly name: string;
|
|
263
|
+
};
|
|
264
|
+
declare class MissingLayerServiceError extends Error {
|
|
265
|
+
readonly _tag: "MissingLayerService";
|
|
266
|
+
readonly serviceName: string;
|
|
267
|
+
constructor(serviceName: string);
|
|
268
|
+
}
|
|
269
|
+
declare function formatLayerError(error: unknown): string;
|
|
270
|
+
declare function makeServiceTag<A>(name: string): ServiceTag<A>;
|
|
271
|
+
declare const serviceTag: typeof makeServiceTag;
|
|
272
|
+
declare const defineService: typeof makeServiceTag;
|
|
273
|
+
declare class LayerContext<Services = unknown> {
|
|
274
|
+
private readonly services;
|
|
275
|
+
constructor(entries?: Iterable<readonly [ServiceTag<any>, unknown]> | Map<symbol, unknown>);
|
|
276
|
+
static empty(): LayerContext<unknown>;
|
|
277
|
+
get<A>(tag: ServiceTag<A>): A | undefined;
|
|
278
|
+
unsafeGet<A>(tag: ServiceTag<A>): A;
|
|
279
|
+
has(tag: ServiceTag<unknown>): boolean;
|
|
280
|
+
add<A>(tag: ServiceTag<A>, service: A): LayerContext<Services & A>;
|
|
281
|
+
merge<Other>(other: LayerContext<Other>): LayerContext<Services & Other>;
|
|
282
|
+
size(): number;
|
|
283
|
+
}
|
|
284
|
+
type LayerScope = {
|
|
285
|
+
readonly get: <RIn, E, ROut>(layer: Layer<RIn, E, ROut>, deps?: RIn) => Async<unknown, E, ROut>;
|
|
286
|
+
readonly close: () => Async<unknown, never, void>;
|
|
287
|
+
readonly size: () => number;
|
|
288
|
+
};
|
|
289
|
+
type BuiltLayer<ROut> = {
|
|
290
|
+
readonly service: ROut;
|
|
291
|
+
readonly scope: LayerScope;
|
|
292
|
+
readonly close: () => Async<unknown, never, void>;
|
|
293
|
+
readonly use: <E, A>(body: (service: ROut) => Async<unknown, E, A>) => Async<unknown, E, A>;
|
|
294
|
+
};
|
|
295
|
+
type AnyLayer = Layer<any, any, any>;
|
|
296
|
+
type LayerInputOf<L> = L extends Layer<infer RIn, any, any> ? RIn : never;
|
|
297
|
+
type LayerErrorOf<L> = L extends Layer<any, infer E, any> ? E : never;
|
|
298
|
+
type LayerOutputOf<L> = L extends Layer<any, any, infer ROut> ? ROut : never;
|
|
299
|
+
type UnionToIntersection<U> = (U extends unknown ? (value: U) => void : never) extends (value: infer I) => void ? I : never;
|
|
300
|
+
type LastOf<T extends readonly unknown[]> = T extends readonly [...unknown[], infer Last] ? Last : never;
|
|
301
|
+
type ServiceTagMap = Record<string, ServiceTag<any>>;
|
|
302
|
+
type ServicesOf<Tags extends ServiceTagMap> = {
|
|
303
|
+
readonly [K in keyof Tags]: Tags[K] extends ServiceTag<infer A> ? A : never;
|
|
304
|
+
};
|
|
305
|
+
declare function makeLayerScope(): LayerScope;
|
|
306
|
+
/**
|
|
307
|
+
* Creates a Layer from an acquire/release pair.
|
|
308
|
+
*
|
|
309
|
+
* ```ts
|
|
310
|
+
* const DbLayer = layer(
|
|
311
|
+
* () => createPool({ max: 10 }),
|
|
312
|
+
* (pool) => pool.close()
|
|
313
|
+
* );
|
|
314
|
+
* ```
|
|
315
|
+
*/
|
|
316
|
+
declare function layer<ROut, E = never>(acquire: () => Async<unknown, E, ROut>, release?: (service: ROut) => Async<unknown, never, void>): Layer<unknown, E, ROut>;
|
|
317
|
+
declare function layerValue<A>(tag: ServiceTag<A>, value: A): Layer<LayerContext, never, LayerContext>;
|
|
318
|
+
declare const makeTestLayer: typeof layerValue;
|
|
319
|
+
type TestLayerProvider<A = unknown> = readonly [ServiceTag<A>, A];
|
|
320
|
+
declare function makeTestLayers(...providers: readonly TestLayerProvider[]): Layer<LayerContext, never, LayerContext>;
|
|
321
|
+
declare function layerEffect<E, A>(tag: ServiceTag<A>, acquire: (deps: LayerContext) => Async<unknown, E, A>, release?: (service: A) => Async<unknown, never, void>): Layer<LayerContext, E, LayerContext>;
|
|
322
|
+
declare const layerFromContext: typeof layerEffect;
|
|
323
|
+
declare const defineLayer: typeof layerEffect;
|
|
324
|
+
declare function getService<A>(tag: ServiceTag<A>): Async<LayerContext, MissingLayerServiceError, A>;
|
|
325
|
+
declare function getServices<Tags extends ServiceTagMap>(tags: Tags): Async<LayerContext, MissingLayerServiceError, ServicesOf<Tags>>;
|
|
326
|
+
declare function useService<A, E, B>(tag: ServiceTag<A>, use: (service: A) => Async<unknown, E, B>): (context: LayerContext) => Async<unknown, MissingLayerServiceError | E, B>;
|
|
327
|
+
declare function useServices<Tags extends ServiceTagMap, E, A>(tags: Tags, use: (services: ServicesOf<Tags>) => Async<unknown, E, A>): (context: LayerContext) => Async<unknown, MissingLayerServiceError | E, A>;
|
|
328
|
+
/**
|
|
329
|
+
* Creates a Layer that depends on another service.
|
|
330
|
+
*
|
|
331
|
+
* ```ts
|
|
332
|
+
* const RepoLayer = layerFrom<DbPool>()(
|
|
333
|
+
* (pool) => createRepo(pool),
|
|
334
|
+
* (repo) => repo.close()
|
|
335
|
+
* );
|
|
336
|
+
* ```
|
|
337
|
+
*/
|
|
338
|
+
declare function layerFrom<RIn>(): <ROut, E = never>(acquire: (deps: RIn) => Async<unknown, E, ROut>, release?: (service: ROut) => Async<unknown, never, void>) => Layer<RIn, E, ROut>;
|
|
339
|
+
/**
|
|
340
|
+
* Creates a Layer from a pure value (no lifecycle).
|
|
341
|
+
*
|
|
342
|
+
* ```ts
|
|
343
|
+
* const ConfigLayer = layerSucceed({ port: 3000, host: "localhost" });
|
|
344
|
+
* ```
|
|
345
|
+
*/
|
|
346
|
+
declare function layerSucceed<ROut>(value: ROut): Layer<unknown, never, ROut>;
|
|
347
|
+
/**
|
|
348
|
+
* Creates a Layer that always fails.
|
|
349
|
+
*/
|
|
350
|
+
declare function layerFail<E>(error: E): Layer<unknown, E, never>;
|
|
351
|
+
/**
|
|
352
|
+
* Compose two layers: the output of `from` feeds into `to`.
|
|
353
|
+
*
|
|
354
|
+
* ```ts
|
|
355
|
+
* const AppLayer = compose(DbLayer, RepoLayer);
|
|
356
|
+
* // DbLayer produces DbPool → RepoLayer consumes DbPool → produces Repo
|
|
357
|
+
* ```
|
|
358
|
+
*/
|
|
359
|
+
declare function compose<R1, E1, Mid, E2, ROut>(from: Layer<R1, E1, Mid>, to: Layer<Mid, E2, ROut>): Layer<R1, E1 | E2, ROut>;
|
|
360
|
+
declare function composeAll<Layers extends readonly [AnyLayer, ...AnyLayer[]]>(...layers: Layers): Layer<LayerInputOf<Layers[0]>, LayerErrorOf<Layers[number]>, LayerOutputOf<LastOf<Layers>>>;
|
|
361
|
+
/**
|
|
362
|
+
* Merge two independent layers into one that produces both services.
|
|
363
|
+
*
|
|
364
|
+
* ```ts
|
|
365
|
+
* const AppLayer = merge(DbLayer, CacheLayer);
|
|
366
|
+
* // Produces { db: DbPool, cache: CacheClient }
|
|
367
|
+
* ```
|
|
368
|
+
*/
|
|
369
|
+
declare function merge<R1, E1, A, R2, E2, B>(left: Layer<R1, E1, A>, right: Layer<R2, E2, B>): Layer<R1 & R2, E1 | E2, A & B>;
|
|
370
|
+
declare function mergeAll<Layers extends readonly [AnyLayer, ...AnyLayer[]]>(...layers: Layers): Layer<UnionToIntersection<LayerInputOf<Layers[number]>>, LayerErrorOf<Layers[number]>, UnionToIntersection<LayerOutputOf<Layers[number]>>>;
|
|
371
|
+
/**
|
|
372
|
+
* Map the output of a layer.
|
|
373
|
+
*/
|
|
374
|
+
declare function mapLayer<RIn, E, A, B>(l: Layer<RIn, E, A>, f: (a: A) => B): Layer<RIn, E, B>;
|
|
375
|
+
declare function buildLayer<RIn, E, ROut>(l: Layer<RIn, E, ROut>, deps?: RIn): Async<unknown, E, BuiltLayer<ROut>>;
|
|
376
|
+
/**
|
|
377
|
+
* Builds a layer, runs an effect with the produced service, and releases.
|
|
378
|
+
*
|
|
379
|
+
* ```ts
|
|
380
|
+
* const result = await run(
|
|
381
|
+
* provideLayer(AppLayer, (services) => services.db.query("SELECT 1"))
|
|
382
|
+
* );
|
|
383
|
+
* ```
|
|
384
|
+
*/
|
|
385
|
+
declare function provideLayer<RIn, E, ROut, E2, A>(l: Layer<RIn, E, ROut>, use: (service: ROut) => Async<unknown, E2, A>, deps?: RIn): Async<unknown, E | E2, A>;
|
|
386
|
+
declare function provideLayerContext<E, E2, A>(l: Layer<LayerContext, E, LayerContext>, use: (context: LayerContext) => Async<unknown, E2, A>, deps?: LayerContext): Async<unknown, E | E2, A>;
|
|
387
|
+
declare const provide: typeof provideLayer;
|
|
388
|
+
declare const provideContext: typeof provideLayerContext;
|
|
389
|
+
/**
|
|
390
|
+
* A Layer describes how to build a service.
|
|
391
|
+
*
|
|
392
|
+
* - RIn: dependencies required to build this service
|
|
393
|
+
* - E: possible failure during construction
|
|
394
|
+
* - ROut: the service produced
|
|
395
|
+
*/
|
|
396
|
+
type Layer<RIn, E, ROut> = {
|
|
397
|
+
readonly _tag: "Layer";
|
|
398
|
+
readonly build: (deps: RIn) => Async<unknown, E, {
|
|
399
|
+
service: ROut;
|
|
400
|
+
release: () => Async<unknown, never, void>;
|
|
401
|
+
}>;
|
|
402
|
+
readonly buildScoped?: (deps: RIn, scope: LayerScope) => Async<unknown, E, ROut>;
|
|
403
|
+
};
|
|
404
|
+
declare const Layer: Readonly<{
|
|
405
|
+
make: typeof layer;
|
|
406
|
+
from: typeof layerFrom;
|
|
407
|
+
succeed: typeof layerSucceed;
|
|
408
|
+
fail: typeof layerFail;
|
|
409
|
+
value: typeof layerValue;
|
|
410
|
+
test: typeof layerValue;
|
|
411
|
+
tests: typeof makeTestLayers;
|
|
412
|
+
effect: typeof layerEffect;
|
|
413
|
+
define: typeof layerEffect;
|
|
414
|
+
fromContext: typeof layerEffect;
|
|
415
|
+
compose: typeof compose;
|
|
416
|
+
composeAll: typeof composeAll;
|
|
417
|
+
merge: typeof merge;
|
|
418
|
+
all: typeof mergeAll;
|
|
419
|
+
mergeAll: typeof mergeAll;
|
|
420
|
+
map: typeof mapLayer;
|
|
421
|
+
provide: typeof provideLayer;
|
|
422
|
+
provideContext: typeof provideLayerContext;
|
|
423
|
+
build: typeof buildLayer;
|
|
424
|
+
scope: typeof makeLayerScope;
|
|
425
|
+
context: typeof LayerContext.empty;
|
|
426
|
+
tag: typeof makeServiceTag;
|
|
427
|
+
service: typeof getService;
|
|
428
|
+
services: typeof getServices;
|
|
429
|
+
use: typeof useService;
|
|
430
|
+
useAll: typeof useServices;
|
|
431
|
+
}>;
|
|
432
|
+
|
|
433
|
+
export { layerSucceed as $, contramap as A, type BuiltLayer as B, type CircuitBreakerStats as C, defineLayer as D, defineService as E, elapsed as F, exponential as G, fibonacci as H, fixed as I, forever as J, formatLayerError as K, Layer as L, MissingLayerServiceError as M, getService as N, getServices as O, intersect as P, jitter as Q, type RuntimeClock as R, type ServiceTag as S, type TestLayerProvider as T, jittered as U, jitteredSchedule as V, layer as W, layerEffect as X, layerFail as Y, layerFrom as Z, layerFromContext as _, LayerContext as a, layerValue as a0, linear as a1, liveClock as a2, makeCircuitBreaker as a3, makeLayerScope as a4, makeScheduleDriver as a5, makeServiceTag as a6, makeTestLayer as a7, makeTestLayers as a8, mapLayer as a9, untilInput as aA, untilOutput as aB, upTo as aC, useService as aD, useServices as aE, whileInput as aF, whileOutput as aG, windowed as aH, map as aa, maxDelay as ab, maxElapsed as ac, mergeAll as ad, merge as ae, named as af, never as ag, once as ah, poll as ai, provide as aj, provideContext as ak, provideLayer as al, provideLayerContext as am, recurs as an, repeatWithSchedule as ao, repeat as ap, retryWithSchedule as aq, retry as ar, runSchedule as as, runtimeClockFromEnv as at, scheduleDriver as au, serviceTag as av, spaced as aw, take as ax, tapDecision as ay, union as az, type CircuitBreaker as b, type CircuitBreakerConfig as c, type CircuitBreakerError as d, type CircuitBreakerState as e, type LayerErrorOf as f, type LayerInputOf as g, type LayerOutputOf as h, type LayerScope as i, type RuntimeClockEnv as j, type RuntimeTimerId as k, Schedule as l, type ScheduleDecision as m, type ScheduleDriver as n, type ScheduleDriverDecision as o, type ScheduleDriverOptions as p, type ScheduleDriverSnapshot as q, type ScheduleObserver as r, type ScheduleObserverEvent as s, type ScheduleStepContext as t, type ServiceTagMap as u, type ServicesOf as v, andThen as w, buildLayer as x, composeAll as y, compose as z };
|
|
@@ -13,11 +13,12 @@
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var _chunkF6XWZQY4cjs = require('../chunk-F6XWZQY4.cjs');
|
|
17
16
|
|
|
18
17
|
|
|
19
18
|
|
|
20
19
|
|
|
20
|
+
var _chunkWVSZOPGQcjs = require('../chunk-WVSZOPGQ.cjs');
|
|
21
|
+
require('../chunk-ELIECDYN.cjs');
|
|
21
22
|
|
|
22
23
|
|
|
23
24
|
|
|
@@ -77,12 +78,20 @@ var _chunkF6XWZQY4cjs = require('../chunk-F6XWZQY4.cjs');
|
|
|
77
78
|
|
|
78
79
|
|
|
79
80
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
var _chunkWI7GZF3Bcjs = require('../chunk-WI7GZF3B.cjs');
|
|
86
|
+
require('../chunk-WGE2FEZE.cjs');
|
|
87
|
+
require('../chunk-XPIMJQYS.cjs');
|
|
88
|
+
require('../chunk-L6VB5N7Q.cjs');
|
|
89
|
+
require('../chunk-EICAJDNX.cjs');
|
|
90
|
+
require('../chunk-SA6HUJVI.cjs');
|
|
91
|
+
require('../chunk-5RZ7YITF.cjs');
|
|
92
|
+
require('../chunk-2JHJ4YHS.cjs');
|
|
84
93
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
85
|
-
require('../chunk-
|
|
94
|
+
require('../chunk-UUMKZJRJ.cjs');
|
|
86
95
|
require('../chunk-OBGZSXTJ.cjs');
|
|
87
96
|
|
|
88
97
|
|
|
@@ -161,4 +170,8 @@ require('../chunk-OBGZSXTJ.cjs');
|
|
|
161
170
|
|
|
162
171
|
|
|
163
172
|
|
|
164
|
-
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
exports.HTTP_OBSERVABILITY_CONTRACT = _chunkWVSZOPGQcjs.HTTP_OBSERVABILITY_CONTRACT; exports.OTLP_JSON_CONTENT_TYPE = _chunkWI7GZF3Bcjs.OTLP_JSON_CONTENT_TYPE; exports.ObservabilityService = _chunkWVSZOPGQcjs.ObservabilityService; exports.PROMETHEUS_CONTENT_TYPE = _chunkWI7GZF3Bcjs.PROMETHEUS_CONTENT_TYPE; exports.alwaysOffSampler = _chunkWI7GZF3Bcjs.alwaysOffSampler; exports.alwaysOnSampler = _chunkWI7GZF3Bcjs.alwaysOnSampler; exports.currentBaggage = _chunkWI7GZF3Bcjs.currentBaggage; exports.currentSpanLink = _chunkWI7GZF3Bcjs.currentSpanLink; exports.defaultStructuredLogWriter = _chunkWI7GZF3Bcjs.defaultStructuredLogWriter; exports.exemplarFromTraceContext = _chunkWI7GZF3Bcjs.exemplarFromTraceContext; exports.exportWithRetry = _chunkWI7GZF3Bcjs.exportWithRetry; exports.extractBaggage = _chunkWI7GZF3Bcjs.extractBaggage; exports.extractTraceContext = _chunkWI7GZF3Bcjs.extractTraceContext; exports.formatBaggage = _chunkWI7GZF3Bcjs.formatBaggage; exports.formatPrometheusMetrics = _chunkWI7GZF3Bcjs.formatPrometheusMetrics; exports.formatStructuredLog = _chunkWI7GZF3Bcjs.formatStructuredLog; exports.formatTraceparent = _chunkWI7GZF3Bcjs.formatTraceparent; exports.healthToHttpResponse = _chunkWI7GZF3Bcjs.healthToHttpResponse; exports.injectBaggage = _chunkWI7GZF3Bcjs.injectBaggage; exports.injectTraceContext = _chunkWI7GZF3Bcjs.injectTraceContext; exports.logEffect = _chunkWI7GZF3Bcjs.logEffect; exports.makeCardinalityLimitedMetrics = _chunkWI7GZF3Bcjs.makeCardinalityLimitedMetrics; exports.makeExportPipeline = _chunkWI7GZF3Bcjs.makeExportPipeline; exports.makeExpressRequestObservabilityContext = _chunkWVSZOPGQcjs.makeExpressRequestObservabilityContext; exports.makeFastifyRequestObservabilityContext = _chunkWVSZOPGQcjs.makeFastifyRequestObservabilityContext; exports.makeFetchRequestObservabilityContext = _chunkWVSZOPGQcjs.makeFetchRequestObservabilityContext; exports.makeHttpObservabilityMiddleware = _chunkWVSZOPGQcjs.makeHttpObservabilityMiddleware; exports.makeNodeRequestObservabilityContext = _chunkWVSZOPGQcjs.makeNodeRequestObservabilityContext; exports.makeNoopObservability = _chunkWVSZOPGQcjs.makeNoopObservability; exports.makeObservability = _chunkWI7GZF3Bcjs.makeObservability; exports.makeObservabilityFromEnv = _chunkWVSZOPGQcjs.makeObservabilityFromEnv; exports.makeObservabilityLayer = _chunkWVSZOPGQcjs.makeObservabilityLayer; exports.makeObservabilityPreset = _chunkWVSZOPGQcjs.makeObservabilityPreset; exports.makeObservabilityRedactor = _chunkWI7GZF3Bcjs.makeObservabilityRedactor; exports.makeObservedHttpClientLayer = _chunkWVSZOPGQcjs.makeObservedHttpClientLayer; exports.makeObservedRuntimeLayer = _chunkWVSZOPGQcjs.makeObservedRuntimeLayer; exports.makeOtlpHttpLogExporter = _chunkWI7GZF3Bcjs.makeOtlpHttpLogExporter; exports.makeOtlpHttpMetricsExporter = _chunkWI7GZF3Bcjs.makeOtlpHttpMetricsExporter; exports.makeOtlpHttpSpanExporter = _chunkWI7GZF3Bcjs.makeOtlpHttpSpanExporter; exports.makeOtlpOptions = _chunkWI7GZF3Bcjs.makeOtlpOptions; exports.makePrometheusMetricsExporter = _chunkWI7GZF3Bcjs.makePrometheusMetricsExporter; exports.makeRequestObservabilityContext = _chunkWI7GZF3Bcjs.makeRequestObservabilityContext; exports.makeRuntimeHealth = _chunkWI7GZF3Bcjs.makeRuntimeHealth; exports.makeRuntimeMetricsSink = _chunkWI7GZF3Bcjs.makeRuntimeMetricsSink; exports.makeStructuredLogSink = _chunkWI7GZF3Bcjs.makeStructuredLogSink; exports.makeTraceSampler = _chunkWI7GZF3Bcjs.makeTraceSampler; exports.metricsSnapshotToOtlp = _chunkWI7GZF3Bcjs.metricsSnapshotToOtlp; exports.normalizeHttpRoute = _chunkWI7GZF3Bcjs.normalizeHttpRoute; exports.normalizeSpanId = _chunkWI7GZF3Bcjs.normalizeSpanId; exports.normalizeTraceId = _chunkWI7GZF3Bcjs.normalizeTraceId; exports.observabilityOptionsForPreset = _chunkWVSZOPGQcjs.observabilityOptionsForPreset; exports.observabilityOptionsFromEnv = _chunkWVSZOPGQcjs.observabilityOptionsFromEnv; exports.observeHttpServerRequest = _chunkWI7GZF3Bcjs.observeHttpServerRequest; exports.otlpAnyValue = _chunkWI7GZF3Bcjs.otlpAnyValue; exports.parseBaggage = _chunkWI7GZF3Bcjs.parseBaggage; exports.parseTraceparent = _chunkWI7GZF3Bcjs.parseTraceparent; exports.postOtlpJson = _chunkWI7GZF3Bcjs.postOtlpJson; exports.ratioSampler = _chunkWI7GZF3Bcjs.ratioSampler; exports.readiness = _chunkWI7GZF3Bcjs.readiness; exports.resolveRequestBaggage = _chunkWI7GZF3Bcjs.resolveRequestBaggage; exports.resolveRequestTraceSeed = _chunkWI7GZF3Bcjs.resolveRequestTraceSeed; exports.resolveTraceSampling = _chunkWI7GZF3Bcjs.resolveTraceSampling; exports.runObservedHttpServerEffect = _chunkWI7GZF3Bcjs.runObservedHttpServerEffect; exports.runtimeHealth = _chunkWI7GZF3Bcjs.runtimeHealth; exports.sanitizeHttpTarget = _chunkWI7GZF3Bcjs.sanitizeHttpTarget; exports.shouldSampleWith = _chunkWI7GZF3Bcjs.shouldSampleWith; exports.snapshotRuntimeHealth = _chunkWI7GZF3Bcjs.snapshotRuntimeHealth; exports.spanEvent = _chunkWI7GZF3Bcjs.spanEvent; exports.spanLink = _chunkWI7GZF3Bcjs.spanLink; exports.spansToOtlp = _chunkWI7GZF3Bcjs.spansToOtlp; exports.structuredLogsToOtlp = _chunkWI7GZF3Bcjs.structuredLogsToOtlp; exports.toOtlpAttributes = _chunkWI7GZF3Bcjs.toOtlpAttributes; exports.unixNanoFromMs = _chunkWI7GZF3Bcjs.unixNanoFromMs; exports.withBaggage = _chunkWI7GZF3Bcjs.withBaggage; exports.withFetchRequestObservability = _chunkWVSZOPGQcjs.withFetchRequestObservability; exports.withHttpObservability = _chunkWVSZOPGQcjs.withHttpObservability; exports.withLogContext = _chunkWI7GZF3Bcjs.withLogContext; exports.withNodeRequestObservability = _chunkWVSZOPGQcjs.withNodeRequestObservability; exports.withSpan = _chunkWI7GZF3Bcjs.withSpan; exports.withTimeout = _chunkWI7GZF3Bcjs.withTimeout;
|