brass-runtime 1.18.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/dist/agent/cli/main.cjs +30 -30
- package/dist/agent/cli/main.js +2 -2
- package/dist/agent/cli/main.mjs +2 -2
- package/dist/agent/index.cjs +3 -3
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.js +2 -2
- package/dist/agent/index.mjs +2 -2
- package/dist/{chunk-PSEU65ND.js → chunk-22HZQG5F.js} +6 -6
- package/dist/{chunk-SSQJKDN3.cjs → chunk-2JHJ4YHS.cjs} +227 -117
- package/dist/{chunk-IFRBVMWJ.cjs → chunk-2OW6IFY2.cjs} +19 -19
- package/dist/{chunk-YTX2JYYP.cjs → chunk-5LC7V2OZ.cjs} +18 -18
- package/dist/{chunk-7TXQJFZX.cjs → chunk-5RZ7YITF.cjs} +13 -13
- package/dist/{chunk-OT2TESZU.mjs → chunk-6V2AWT4R.mjs} +1 -1
- package/dist/{chunk-BG5RNEA2.js → chunk-7DU7IQHK.js} +3 -3
- package/dist/{chunk-QCOLAHU3.mjs → chunk-7GBJYOX7.mjs} +5 -5
- package/dist/{chunk-ITG6I7ZS.js → chunk-7VQLEN37.js} +1 -1
- package/dist/{chunk-QZ6QFJNM.mjs → chunk-B5FKOLTB.mjs} +3 -3
- package/dist/{chunk-RREBJX2S.mjs → chunk-BC6Q6BCO.mjs} +1 -1
- package/dist/{chunk-KRYP6CAE.mjs → chunk-COOW7BJX.mjs} +2 -2
- package/dist/{chunk-ELLF55ER.mjs → chunk-EEN5OTCR.mjs} +1 -1
- package/dist/{chunk-3PFZGP23.cjs → chunk-EICAJDNX.cjs} +13 -13
- package/dist/{chunk-5XADBMSU.cjs → chunk-ELIECDYN.cjs} +5 -5
- package/dist/{chunk-2QNREG6K.mjs → chunk-H626ZTDZ.mjs} +211 -101
- package/dist/{chunk-JH4GI3DW.js → chunk-IPSMXUWA.js} +1 -1
- package/dist/{chunk-2SLT3X6G.cjs → chunk-J6DUHITE.cjs} +6 -6
- package/dist/{chunk-OI4ESUMC.mjs → chunk-JWIEMBE6.mjs} +6 -6
- package/dist/{chunk-N6QNSTWD.cjs → chunk-KNTJ7FQB.cjs} +5 -5
- package/dist/{chunk-W6WR37HN.js → chunk-LSYQ3C2M.js} +2 -2
- package/dist/{chunk-AADFFVYS.js → chunk-OW5VHAOE.js} +1 -1
- package/dist/{chunk-G5JTCFMI.mjs → chunk-RBHNOKH4.mjs} +2 -2
- package/dist/{chunk-IBRHSH5H.js → chunk-S4HXADU4.js} +1 -1
- package/dist/{chunk-XSAHV5HQ.js → chunk-TTSPIU3U.js} +211 -101
- package/dist/{chunk-S4HHFUYP.js → chunk-UAKAF32U.js} +2 -2
- package/dist/{chunk-R6WDSZA6.mjs → chunk-WCBNXPN6.mjs} +1 -1
- package/dist/{chunk-AJMKZXRB.cjs → chunk-WGE2FEZE.cjs} +2 -2
- package/dist/{chunk-LXBU5E77.cjs → chunk-WI7GZF3B.cjs} +16 -16
- package/dist/{chunk-H5GYX7RZ.js → chunk-WUDHOZIH.js} +113 -5
- package/dist/{chunk-KHACHFBQ.cjs → chunk-WVSZOPGQ.cjs} +54 -54
- package/dist/{chunk-VIFA4DPN.cjs → chunk-XPIMJQYS.cjs} +193 -85
- package/dist/{chunk-3PHU7FWS.js → chunk-YGR2IN4R.js} +5 -5
- package/dist/{chunk-ITZQ526U.mjs → chunk-YWLLH27R.mjs} +2 -2
- package/dist/{chunk-4YQHPIWJ.js → chunk-YZ5LQ32F.js} +2 -2
- package/dist/{chunk-Z3PSSXP3.mjs → chunk-Z3ZZMQUZ.mjs} +113 -5
- package/dist/core/index.cjs +13 -7
- package/dist/core/index.d.ts +6 -6
- package/dist/core/index.js +12 -6
- package/dist/core/index.mjs +12 -6
- package/dist/{defaultClient-DhpCQW9m.d.ts → defaultClient-Cid0JoUR.d.ts} +29 -4
- package/dist/{effect-CtUDl5M5.d.ts → effect-DnGUuhw6.d.ts} +22 -1
- package/dist/http/index.cjs +52 -48
- package/dist/http/index.d.ts +8 -8
- package/dist/http/index.js +10 -6
- package/dist/http/index.mjs +10 -6
- package/dist/http/testing.cjs +8 -8
- package/dist/http/testing.d.ts +4 -4
- package/dist/http/testing.js +4 -4
- package/dist/http/testing.mjs +4 -4
- package/dist/index.cjs +91 -85
- package/dist/index.d.ts +7 -7
- package/dist/index.js +13 -7
- package/dist/index.mjs +13 -7
- package/dist/{layer-BalPI6cN.d.ts → layer-D2LFcBVx.d.ts} +1 -1
- package/dist/observability/index.cjs +9 -9
- package/dist/observability/index.d.ts +7 -7
- package/dist/observability/index.js +8 -8
- package/dist/observability/index.mjs +8 -8
- package/dist/perf/cli.cjs +25 -25
- package/dist/perf/cli.js +10 -10
- package/dist/perf/cli.mjs +10 -10
- package/dist/perf/index.cjs +12 -12
- package/dist/perf/index.js +10 -10
- package/dist/perf/index.mjs +10 -10
- package/dist/{server-C1zVmqE6.d.ts → server-Bf1zNYZk.d.ts} +4 -4
- package/dist/{stream-Bb4FTejt.d.ts → stream-I7bkvF7a.d.ts} +1 -1
- package/dist/{tracer-DzfuE6um.d.ts → tracer-DF83nLn6.d.ts} +2 -2
- package/dist/{tracing-BABA5arE.d.ts → tracing-CWV4gT0u.d.ts} +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
runPromise,
|
|
39
39
|
supervise,
|
|
40
40
|
tagError
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7DU7IQHK.js";
|
|
42
42
|
import {
|
|
43
43
|
makeCircuitBreaker
|
|
44
44
|
} from "./chunk-YM3EDNYD.js";
|
|
@@ -54,11 +54,11 @@ import {
|
|
|
54
54
|
unsafeGetFiberRef,
|
|
55
55
|
unsafeSetFiberRef,
|
|
56
56
|
updateFiberRef
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-UAKAF32U.js";
|
|
58
58
|
import {
|
|
59
59
|
RuntimeService,
|
|
60
60
|
makeRuntimeLayer
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-LSYQ3C2M.js";
|
|
62
62
|
import {
|
|
63
63
|
EventBus,
|
|
64
64
|
InMemoryTracer,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
makeRuntimeEventRecord,
|
|
67
67
|
runtimeEventRecordContext,
|
|
68
68
|
runtimeHooksToEventHandler
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-OW5VHAOE.js";
|
|
70
70
|
import {
|
|
71
71
|
assertNever,
|
|
72
72
|
collectStream,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
unwrapScoped,
|
|
88
88
|
widenOpt,
|
|
89
89
|
zip
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-IPSMXUWA.js";
|
|
91
91
|
import {
|
|
92
92
|
collectAllPar,
|
|
93
93
|
race,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
whileInput,
|
|
183
183
|
whileOutput,
|
|
184
184
|
windowed
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-S4HXADU4.js";
|
|
186
186
|
import {
|
|
187
187
|
ABI_VERSION,
|
|
188
188
|
DefaultHostExecutor,
|
|
@@ -222,12 +222,15 @@ import {
|
|
|
222
222
|
liveClock,
|
|
223
223
|
makeBoundedRingBuffer,
|
|
224
224
|
makeFiberReadyQueue,
|
|
225
|
+
recordAbortablePromiseFinish,
|
|
226
|
+
recordAbortablePromiseStart,
|
|
225
227
|
resetAbortablePromiseStats,
|
|
226
228
|
resolveWasmModule,
|
|
227
229
|
runtimeCapabilities,
|
|
228
230
|
runtimeClockFromEnv,
|
|
229
231
|
runtimeForCaller,
|
|
230
232
|
sanitizeLaneKey,
|
|
233
|
+
setAbortablePromisePerLabelTracking,
|
|
231
234
|
setBenchmarkBudget,
|
|
232
235
|
toPromise,
|
|
233
236
|
toPromiseByCaller,
|
|
@@ -237,7 +240,7 @@ import {
|
|
|
237
240
|
withCurrentFiber,
|
|
238
241
|
withScope,
|
|
239
242
|
withScopeAsync
|
|
240
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-TTSPIU3U.js";
|
|
241
244
|
import {
|
|
242
245
|
Async,
|
|
243
246
|
Cause,
|
|
@@ -1744,6 +1747,8 @@ export {
|
|
|
1744
1747
|
race,
|
|
1745
1748
|
raceWith,
|
|
1746
1749
|
rangeStream,
|
|
1750
|
+
recordAbortablePromiseFinish,
|
|
1751
|
+
recordAbortablePromiseStart,
|
|
1747
1752
|
recurs,
|
|
1748
1753
|
registerShutdownHooks,
|
|
1749
1754
|
repeatWithSchedule,
|
|
@@ -1774,6 +1779,7 @@ export {
|
|
|
1774
1779
|
selectedEngineStats,
|
|
1775
1780
|
serializeFusedPipeline,
|
|
1776
1781
|
serviceTag,
|
|
1782
|
+
setAbortablePromisePerLabelTracking,
|
|
1777
1783
|
setBenchmarkBudget,
|
|
1778
1784
|
setFiberRef,
|
|
1779
1785
|
setFusionEnabled,
|
package/dist/index.mjs
CHANGED
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
runPromise,
|
|
39
39
|
supervise,
|
|
40
40
|
tagError
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-B5FKOLTB.mjs";
|
|
42
42
|
import {
|
|
43
43
|
makeCircuitBreaker
|
|
44
44
|
} from "./chunk-KTGDLBLD.mjs";
|
|
@@ -54,11 +54,11 @@ import {
|
|
|
54
54
|
unsafeGetFiberRef,
|
|
55
55
|
unsafeSetFiberRef,
|
|
56
56
|
updateFiberRef
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RBHNOKH4.mjs";
|
|
58
58
|
import {
|
|
59
59
|
RuntimeService,
|
|
60
60
|
makeRuntimeLayer
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-YWLLH27R.mjs";
|
|
62
62
|
import {
|
|
63
63
|
EventBus,
|
|
64
64
|
InMemoryTracer,
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
makeRuntimeEventRecord,
|
|
67
67
|
runtimeEventRecordContext,
|
|
68
68
|
runtimeHooksToEventHandler
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-6V2AWT4R.mjs";
|
|
70
70
|
import {
|
|
71
71
|
assertNever,
|
|
72
72
|
collectStream,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
unwrapScoped,
|
|
88
88
|
widenOpt,
|
|
89
89
|
zip
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-BC6Q6BCO.mjs";
|
|
91
91
|
import {
|
|
92
92
|
collectAllPar,
|
|
93
93
|
race,
|
|
@@ -182,7 +182,7 @@ import {
|
|
|
182
182
|
whileInput,
|
|
183
183
|
whileOutput,
|
|
184
184
|
windowed
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-EEN5OTCR.mjs";
|
|
186
186
|
import {
|
|
187
187
|
ABI_VERSION,
|
|
188
188
|
DefaultHostExecutor,
|
|
@@ -222,12 +222,15 @@ import {
|
|
|
222
222
|
liveClock,
|
|
223
223
|
makeBoundedRingBuffer,
|
|
224
224
|
makeFiberReadyQueue,
|
|
225
|
+
recordAbortablePromiseFinish,
|
|
226
|
+
recordAbortablePromiseStart,
|
|
225
227
|
resetAbortablePromiseStats,
|
|
226
228
|
resolveWasmModule,
|
|
227
229
|
runtimeCapabilities,
|
|
228
230
|
runtimeClockFromEnv,
|
|
229
231
|
runtimeForCaller,
|
|
230
232
|
sanitizeLaneKey,
|
|
233
|
+
setAbortablePromisePerLabelTracking,
|
|
231
234
|
setBenchmarkBudget,
|
|
232
235
|
toPromise,
|
|
233
236
|
toPromiseByCaller,
|
|
@@ -237,7 +240,7 @@ import {
|
|
|
237
240
|
withCurrentFiber,
|
|
238
241
|
withScope,
|
|
239
242
|
withScopeAsync
|
|
240
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-H626ZTDZ.mjs";
|
|
241
244
|
import {
|
|
242
245
|
Async,
|
|
243
246
|
Cause,
|
|
@@ -1744,6 +1747,8 @@ export {
|
|
|
1744
1747
|
race,
|
|
1745
1748
|
raceWith,
|
|
1746
1749
|
rangeStream,
|
|
1750
|
+
recordAbortablePromiseFinish,
|
|
1751
|
+
recordAbortablePromiseStart,
|
|
1747
1752
|
recurs,
|
|
1748
1753
|
registerShutdownHooks,
|
|
1749
1754
|
repeatWithSchedule,
|
|
@@ -1774,6 +1779,7 @@ export {
|
|
|
1774
1779
|
selectedEngineStats,
|
|
1775
1780
|
serializeFusedPipeline,
|
|
1776
1781
|
serviceTag,
|
|
1782
|
+
setAbortablePromisePerLabelTracking,
|
|
1777
1783
|
setBenchmarkBudget,
|
|
1778
1784
|
setFiberRef,
|
|
1779
1785
|
setFusionEnabled,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Async, R as RuntimeHooks, e as RuntimeEmitContext } from './effect-
|
|
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 = {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
21
|
-
require('../chunk-
|
|
20
|
+
var _chunkWVSZOPGQcjs = require('../chunk-WVSZOPGQ.cjs');
|
|
21
|
+
require('../chunk-ELIECDYN.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -82,14 +82,14 @@ require('../chunk-5XADBMSU.cjs');
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
var
|
|
86
|
-
require('../chunk-
|
|
87
|
-
require('../chunk-
|
|
85
|
+
var _chunkWI7GZF3Bcjs = require('../chunk-WI7GZF3B.cjs');
|
|
86
|
+
require('../chunk-WGE2FEZE.cjs');
|
|
87
|
+
require('../chunk-XPIMJQYS.cjs');
|
|
88
88
|
require('../chunk-L6VB5N7Q.cjs');
|
|
89
|
-
require('../chunk-
|
|
89
|
+
require('../chunk-EICAJDNX.cjs');
|
|
90
90
|
require('../chunk-SA6HUJVI.cjs');
|
|
91
|
-
require('../chunk-
|
|
92
|
-
require('../chunk-
|
|
91
|
+
require('../chunk-5RZ7YITF.cjs');
|
|
92
|
+
require('../chunk-2JHJ4YHS.cjs');
|
|
93
93
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
94
94
|
require('../chunk-UUMKZJRJ.cjs');
|
|
95
95
|
require('../chunk-OBGZSXTJ.cjs');
|
|
@@ -174,4 +174,4 @@ require('../chunk-OBGZSXTJ.cjs');
|
|
|
174
174
|
|
|
175
175
|
|
|
176
176
|
|
|
177
|
-
exports.HTTP_OBSERVABILITY_CONTRACT =
|
|
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;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { L as LogLevel, S as SpanAttributes, O as Observability, T as TraceContextCarrier, R as RequestObservabilityContextInput, a as RequestObservabilityContext, b as ObservabilityOptions, c as ObservabilityRuntimeEnv } from '../server-
|
|
2
|
-
export { C as CardinalityConfig, d as CardinalityLimiterOptions, E as ExportBatchResult, e as ExportPipeline, f as ExportPipelineFlushOptions, g as ExportPipelineFlushResult, h as ExportPipelineOptions, i as ExportPipelineStats, j as ExportPipelineTuning, k as ExportRetryOptions, l as ExportSignal, H as HealthCheck, m as HealthCheckResult, n as HealthHttpResponse, o as HealthStatus, p as HttpServerObservabilityLogOptions, q as HttpServerObservabilityOptions, r as HttpServerObservabilitySpanOptions, s as HttpServerOutcome, I as InjectTraceContextOptions, M as MakeOtlpOptionsInput, t as OTLP_JSON_CONTENT_TYPE, u as ObservabilityExporters, v as ObservabilityFlushError, w as ObservabilityFlushResult, x as ObservabilityLogExportResult, y as ObservabilityOtlpOptions, z as ObservabilityOtlpSignal, A as ObservabilityRedactor, B as ObservabilityRequestEnvInput, D as ObservabilityTraceExportResult, F as ObservedHttpServerResult, G as OtlpAttributeValue, J as OtlpExportOptions, K as OtlpFetch, N as OtlpHttpExportResult, P as OtlpHttpExporterOptions, Q as OtlpHttpResponse, U as PROMETHEUS_CONTENT_TYPE, V as PrometheusMetricsExporter, W as PrometheusMetricsOptions, X as RedactionConfig, Y as RedactionOptions, Z as RequestObservabilityRuntimeOptions, _ as ResolvedTraceSampling, $ as RuntimeHealthOptions, a0 as RuntimeHealthReport, a1 as RuntimeMetricsSinkOptions, a2 as SpanLink, a3 as SpanOptions, a4 as SpanSource, a5 as StructuredLogRecord, a6 as StructuredLogSinkOptions, a7 as StructuredLogSource, a8 as TraceContextHeaderValue, a9 as TraceSamplingConfig, aa as TraceSamplingOptions, ab as TraceSamplingRule, ac as alwaysOffSampler, ad as alwaysOnSampler, ae as currentBaggage, af as currentSpanLink, ag as defaultStructuredLogWriter, ah as exemplarFromTraceContext, ai as exportWithRetry, aj as extractBaggage, ak as extractTraceContext, al as formatBaggage, am as formatPrometheusMetrics, an as formatStructuredLog, ao as formatTraceparent, ap as healthToHttpResponse, aq as injectBaggage, ar as injectTraceContext, as as logEffect, at as makeCardinalityLimitedMetrics, au as makeExportPipeline, av as makeObservability, aw as makeObservabilityRedactor, ax as makeOtlpHttpLogExporter, ay as makeOtlpHttpMetricsExporter, az as makeOtlpHttpSpanExporter, aA as makeOtlpOptions, aB as makePrometheusMetricsExporter, aC as makeRequestObservabilityContext, aD as makeRuntimeHealth, aE as makeRuntimeMetricsSink, aF as makeStructuredLogSink, aG as makeTraceSampler, aH as metricsSnapshotToOtlp, aI as normalizeHttpRoute, aJ as normalizeSpanId, aK as normalizeTraceId, aL as observeHttpServerRequest, aM as otlpAnyValue, aN as parseBaggage, aO as parseTraceparent, aP as postOtlpJson, aQ as ratioSampler, aR as readiness, aS as resolveRequestBaggage, aT as resolveRequestTraceSeed, aU as resolveTraceSampling, aV as runObservedHttpServerEffect, aW as runtimeHealth, aX as sanitizeHttpTarget, aY as shouldSampleWith, aZ as snapshotRuntimeHealth, a_ as spanEvent, a$ as spanLink, b0 as spansToOtlp, b1 as structuredLogsToOtlp, b2 as toOtlpAttributes, b3 as unixNanoFromMs, b4 as withBaggage, b5 as withLogContext, b6 as withSpan, b7 as withTimeout } from '../server-
|
|
3
|
-
import { R as RuntimeHooks, a as RuntimeOptions, b as Runtime } from '../effect-
|
|
4
|
-
import { M as MetricsRegistry } from '../tracer-
|
|
5
|
-
import { H as HttpRequest, d as HttpMiddleware, e as DefaultHttpClientConfig, D as DefaultHttpClient } from '../defaultClient-
|
|
6
|
-
import { a as LayerContext, S as ServiceTag, L as Layer } from '../layer-
|
|
7
|
-
import '../stream-
|
|
1
|
+
import { L as LogLevel, S as SpanAttributes, O as Observability, T as TraceContextCarrier, R as RequestObservabilityContextInput, a as RequestObservabilityContext, b as ObservabilityOptions, c as ObservabilityRuntimeEnv } from '../server-Bf1zNYZk.js';
|
|
2
|
+
export { C as CardinalityConfig, d as CardinalityLimiterOptions, E as ExportBatchResult, e as ExportPipeline, f as ExportPipelineFlushOptions, g as ExportPipelineFlushResult, h as ExportPipelineOptions, i as ExportPipelineStats, j as ExportPipelineTuning, k as ExportRetryOptions, l as ExportSignal, H as HealthCheck, m as HealthCheckResult, n as HealthHttpResponse, o as HealthStatus, p as HttpServerObservabilityLogOptions, q as HttpServerObservabilityOptions, r as HttpServerObservabilitySpanOptions, s as HttpServerOutcome, I as InjectTraceContextOptions, M as MakeOtlpOptionsInput, t as OTLP_JSON_CONTENT_TYPE, u as ObservabilityExporters, v as ObservabilityFlushError, w as ObservabilityFlushResult, x as ObservabilityLogExportResult, y as ObservabilityOtlpOptions, z as ObservabilityOtlpSignal, A as ObservabilityRedactor, B as ObservabilityRequestEnvInput, D as ObservabilityTraceExportResult, F as ObservedHttpServerResult, G as OtlpAttributeValue, J as OtlpExportOptions, K as OtlpFetch, N as OtlpHttpExportResult, P as OtlpHttpExporterOptions, Q as OtlpHttpResponse, U as PROMETHEUS_CONTENT_TYPE, V as PrometheusMetricsExporter, W as PrometheusMetricsOptions, X as RedactionConfig, Y as RedactionOptions, Z as RequestObservabilityRuntimeOptions, _ as ResolvedTraceSampling, $ as RuntimeHealthOptions, a0 as RuntimeHealthReport, a1 as RuntimeMetricsSinkOptions, a2 as SpanLink, a3 as SpanOptions, a4 as SpanSource, a5 as StructuredLogRecord, a6 as StructuredLogSinkOptions, a7 as StructuredLogSource, a8 as TraceContextHeaderValue, a9 as TraceSamplingConfig, aa as TraceSamplingOptions, ab as TraceSamplingRule, ac as alwaysOffSampler, ad as alwaysOnSampler, ae as currentBaggage, af as currentSpanLink, ag as defaultStructuredLogWriter, ah as exemplarFromTraceContext, ai as exportWithRetry, aj as extractBaggage, ak as extractTraceContext, al as formatBaggage, am as formatPrometheusMetrics, an as formatStructuredLog, ao as formatTraceparent, ap as healthToHttpResponse, aq as injectBaggage, ar as injectTraceContext, as as logEffect, at as makeCardinalityLimitedMetrics, au as makeExportPipeline, av as makeObservability, aw as makeObservabilityRedactor, ax as makeOtlpHttpLogExporter, ay as makeOtlpHttpMetricsExporter, az as makeOtlpHttpSpanExporter, aA as makeOtlpOptions, aB as makePrometheusMetricsExporter, aC as makeRequestObservabilityContext, aD as makeRuntimeHealth, aE as makeRuntimeMetricsSink, aF as makeStructuredLogSink, aG as makeTraceSampler, aH as metricsSnapshotToOtlp, aI as normalizeHttpRoute, aJ as normalizeSpanId, aK as normalizeTraceId, aL as observeHttpServerRequest, aM as otlpAnyValue, aN as parseBaggage, aO as parseTraceparent, aP as postOtlpJson, aQ as ratioSampler, aR as readiness, aS as resolveRequestBaggage, aT as resolveRequestTraceSeed, aU as resolveTraceSampling, aV as runObservedHttpServerEffect, aW as runtimeHealth, aX as sanitizeHttpTarget, aY as shouldSampleWith, aZ as snapshotRuntimeHealth, a_ as spanEvent, a$ as spanLink, b0 as spansToOtlp, b1 as structuredLogsToOtlp, b2 as toOtlpAttributes, b3 as unixNanoFromMs, b4 as withBaggage, b5 as withLogContext, b6 as withSpan, b7 as withTimeout } from '../server-Bf1zNYZk.js';
|
|
3
|
+
import { R as RuntimeHooks, a as RuntimeOptions, b as Runtime } from '../effect-DnGUuhw6.js';
|
|
4
|
+
import { M as MetricsRegistry } from '../tracer-DF83nLn6.js';
|
|
5
|
+
import { H as HttpRequest, d as HttpMiddleware, e as DefaultHttpClientConfig, D as DefaultHttpClient } from '../defaultClient-Cid0JoUR.js';
|
|
6
|
+
import { a as LayerContext, S as ServiceTag, L as Layer } from '../layer-D2LFcBVx.js';
|
|
7
|
+
import '../stream-I7bkvF7a.js';
|
|
8
8
|
import '../schema/index.js';
|
|
9
9
|
|
|
10
10
|
type HttpOutcome = "success" | "error" | "abort" | "bad_url" | "fetch_error" | "timeout" | "pool_rejected" | "pool_timeout" | "pool_closed" | "batch_split_error";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
withFetchRequestObservability,
|
|
18
18
|
withHttpObservability,
|
|
19
19
|
withNodeRequestObservability
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-YGR2IN4R.js";
|
|
21
|
+
import "../chunk-LSYQ3C2M.js";
|
|
22
22
|
import {
|
|
23
23
|
OTLP_JSON_CONTENT_TYPE,
|
|
24
24
|
PROMETHEUS_CONTENT_TYPE,
|
|
@@ -82,14 +82,14 @@ import {
|
|
|
82
82
|
withLogContext,
|
|
83
83
|
withSpan,
|
|
84
84
|
withTimeout
|
|
85
|
-
} from "../chunk-
|
|
86
|
-
import "../chunk-
|
|
87
|
-
import "../chunk-
|
|
85
|
+
} from "../chunk-YZ5LQ32F.js";
|
|
86
|
+
import "../chunk-OW5VHAOE.js";
|
|
87
|
+
import "../chunk-WUDHOZIH.js";
|
|
88
88
|
import "../chunk-TRM4JUZQ.js";
|
|
89
|
-
import "../chunk-
|
|
89
|
+
import "../chunk-IPSMXUWA.js";
|
|
90
90
|
import "../chunk-UCUBNWM2.js";
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-S4HXADU4.js";
|
|
92
|
+
import "../chunk-TTSPIU3U.js";
|
|
93
93
|
import "../chunk-UB4B6OFY.js";
|
|
94
94
|
import "../chunk-HCJ4S3YB.js";
|
|
95
95
|
import "../chunk-3RG5ZIWI.js";
|
|
@@ -17,8 +17,8 @@ import {
|
|
|
17
17
|
withFetchRequestObservability,
|
|
18
18
|
withHttpObservability,
|
|
19
19
|
withNodeRequestObservability
|
|
20
|
-
} from "../chunk-
|
|
21
|
-
import "../chunk-
|
|
20
|
+
} from "../chunk-7GBJYOX7.mjs";
|
|
21
|
+
import "../chunk-YWLLH27R.mjs";
|
|
22
22
|
import {
|
|
23
23
|
OTLP_JSON_CONTENT_TYPE,
|
|
24
24
|
PROMETHEUS_CONTENT_TYPE,
|
|
@@ -82,14 +82,14 @@ import {
|
|
|
82
82
|
withLogContext,
|
|
83
83
|
withSpan,
|
|
84
84
|
withTimeout
|
|
85
|
-
} from "../chunk-
|
|
86
|
-
import "../chunk-
|
|
87
|
-
import "../chunk-
|
|
85
|
+
} from "../chunk-COOW7BJX.mjs";
|
|
86
|
+
import "../chunk-6V2AWT4R.mjs";
|
|
87
|
+
import "../chunk-Z3ZZMQUZ.mjs";
|
|
88
88
|
import "../chunk-MOO4L7F4.mjs";
|
|
89
|
-
import "../chunk-
|
|
89
|
+
import "../chunk-BC6Q6BCO.mjs";
|
|
90
90
|
import "../chunk-B5JD23U7.mjs";
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-EEN5OTCR.mjs";
|
|
92
|
+
import "../chunk-H626ZTDZ.mjs";
|
|
93
93
|
import "../chunk-36I3M4UC.mjs";
|
|
94
94
|
import "../chunk-6MLAZPBL.mjs";
|
|
95
95
|
import "../chunk-Y6FXYEAI.mjs";
|
package/dist/perf/cli.cjs
CHANGED
|
@@ -15,18 +15,18 @@
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
19
|
-
require('../chunk-
|
|
20
|
-
require('../chunk-
|
|
21
|
-
require('../chunk-
|
|
22
|
-
require('../chunk-
|
|
23
|
-
require('../chunk-
|
|
24
|
-
require('../chunk-
|
|
18
|
+
var _chunk5LC7V2OZcjs = require('../chunk-5LC7V2OZ.cjs');
|
|
19
|
+
require('../chunk-KNTJ7FQB.cjs');
|
|
20
|
+
require('../chunk-WVSZOPGQ.cjs');
|
|
21
|
+
require('../chunk-ELIECDYN.cjs');
|
|
22
|
+
require('../chunk-WI7GZF3B.cjs');
|
|
23
|
+
require('../chunk-WGE2FEZE.cjs');
|
|
24
|
+
require('../chunk-XPIMJQYS.cjs');
|
|
25
25
|
require('../chunk-L6VB5N7Q.cjs');
|
|
26
|
-
require('../chunk-
|
|
26
|
+
require('../chunk-EICAJDNX.cjs');
|
|
27
27
|
require('../chunk-SA6HUJVI.cjs');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
require('../chunk-
|
|
28
|
+
require('../chunk-5RZ7YITF.cjs');
|
|
29
|
+
require('../chunk-2JHJ4YHS.cjs');
|
|
30
30
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
31
31
|
require('../chunk-UUMKZJRJ.cjs');
|
|
32
32
|
require('../chunk-OBGZSXTJ.cjs');
|
|
@@ -35,22 +35,22 @@ require('../chunk-OBGZSXTJ.cjs');
|
|
|
35
35
|
async function main(argv) {
|
|
36
36
|
const cli = parseArgs(argv);
|
|
37
37
|
if (cli.profile === "runtime-ab") {
|
|
38
|
-
const report2 = await
|
|
39
|
-
await printReport(cli, report2,
|
|
38
|
+
const report2 = await _chunk5LC7V2OZcjs.profileRuntimeAb.call(void 0, cli.runtimeAb);
|
|
39
|
+
await printReport(cli, report2, _chunk5LC7V2OZcjs.formatRuntimeAbReport.call(void 0, report2));
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
if (cli.profile === "runtime-soak") {
|
|
43
|
-
const report2 = await
|
|
44
|
-
await printReport(cli, report2,
|
|
43
|
+
const report2 = await _chunk5LC7V2OZcjs.profileRuntimeSoak.call(void 0, cli.runtimeSoak);
|
|
44
|
+
await printReport(cli, report2, _chunk5LC7V2OZcjs.formatRuntimeSoakReport.call(void 0, report2));
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
if (cli.profile === "http-memory") {
|
|
48
|
-
const report2 = await
|
|
49
|
-
await printReport(cli, report2,
|
|
48
|
+
const report2 = await _chunk5LC7V2OZcjs.profileHttpMemoryLab.call(void 0, cli.httpMemory);
|
|
49
|
+
await printReport(cli, report2, _chunk5LC7V2OZcjs.formatHttpMemoryLabReport.call(void 0, report2));
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
const report = await
|
|
53
|
-
await printReport(cli, report,
|
|
52
|
+
const report = await _chunk5LC7V2OZcjs.runBrassPerformanceProfile.call(void 0, cli.options);
|
|
53
|
+
await printReport(cli, report, _chunk5LC7V2OZcjs.formatPerformanceReport.call(void 0, report));
|
|
54
54
|
}
|
|
55
55
|
function parseArgs(argv) {
|
|
56
56
|
let json = envBool("BRASS_PERF_JSON", false);
|
|
@@ -293,14 +293,14 @@ async function maybeHandleHistory(cli, report) {
|
|
|
293
293
|
cliProfile: cli.profile
|
|
294
294
|
}
|
|
295
295
|
};
|
|
296
|
-
const entry =
|
|
297
|
-
const historyPath = config.recordHistory ? await
|
|
298
|
-
const savedBaseline = config.saveBaseline ? await
|
|
299
|
-
const loadedBaseline = config.compareBaseline ? await
|
|
296
|
+
const entry = _chunk5LC7V2OZcjs.createPerfHistoryEntry.call(void 0, cli.profile, report, storeOptions);
|
|
297
|
+
const historyPath = config.recordHistory ? await _chunk5LC7V2OZcjs.writePerfHistoryEntry.call(void 0, entry, storeOptions) : void 0;
|
|
298
|
+
const savedBaseline = config.saveBaseline ? await _chunk5LC7V2OZcjs.savePerfBaseline.call(void 0, config.saveBaseline, entry, storeOptions) : void 0;
|
|
299
|
+
const loadedBaseline = config.compareBaseline ? await _chunk5LC7V2OZcjs.loadPerfBaseline.call(void 0, config.compareBaseline, storeOptions) : void 0;
|
|
300
300
|
if (config.compareBaseline && !loadedBaseline) {
|
|
301
301
|
throw new Error(`Perf baseline '${config.compareBaseline}' was not found`);
|
|
302
302
|
}
|
|
303
|
-
const comparison = loadedBaseline ?
|
|
303
|
+
const comparison = loadedBaseline ? _chunk5LC7V2OZcjs.comparePerfToBaseline.call(void 0, entry, loadedBaseline, config.thresholds) : void 0;
|
|
304
304
|
return Object.freeze({
|
|
305
305
|
entry,
|
|
306
306
|
...historyPath !== void 0 ? { historyPath } : {},
|
|
@@ -315,7 +315,7 @@ function formatCliHistory(history) {
|
|
|
315
315
|
if (history.savedBaselinePath) lines.push(`- baseline saved: ${history.savedBaselinePath}`);
|
|
316
316
|
if (history.comparison) {
|
|
317
317
|
lines.push("");
|
|
318
|
-
lines.push(
|
|
318
|
+
lines.push(_chunk5LC7V2OZcjs.formatPerfBaselineComparison.call(void 0, history.comparison));
|
|
319
319
|
}
|
|
320
320
|
return lines.join("\n");
|
|
321
321
|
}
|
|
@@ -333,7 +333,7 @@ function parseRuntimeVariant(value) {
|
|
|
333
333
|
throw new Error(`Invalid runtime variant: ${value}`);
|
|
334
334
|
}
|
|
335
335
|
function parseVariants(value) {
|
|
336
|
-
const allowed = new Set(
|
|
336
|
+
const allowed = new Set(_chunk5LC7V2OZcjs.HTTP_PROFILE_VARIANTS);
|
|
337
337
|
return Object.freeze(value.split(",").map((item) => item.trim()).filter(Boolean).map((item) => {
|
|
338
338
|
if (!allowed.has(item)) {
|
|
339
339
|
throw new Error(`Invalid HTTP profile variant: ${item}`);
|
package/dist/perf/cli.js
CHANGED
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
runBrassPerformanceProfile,
|
|
16
16
|
savePerfBaseline,
|
|
17
17
|
writePerfHistoryEntry
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-22HZQG5F.js";
|
|
19
|
+
import "../chunk-UAKAF32U.js";
|
|
20
|
+
import "../chunk-YGR2IN4R.js";
|
|
21
|
+
import "../chunk-LSYQ3C2M.js";
|
|
22
|
+
import "../chunk-YZ5LQ32F.js";
|
|
23
|
+
import "../chunk-OW5VHAOE.js";
|
|
24
|
+
import "../chunk-WUDHOZIH.js";
|
|
25
25
|
import "../chunk-TRM4JUZQ.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-IPSMXUWA.js";
|
|
27
27
|
import "../chunk-UCUBNWM2.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-S4HXADU4.js";
|
|
29
|
+
import "../chunk-TTSPIU3U.js";
|
|
30
30
|
import "../chunk-UB4B6OFY.js";
|
|
31
31
|
import "../chunk-HCJ4S3YB.js";
|
|
32
32
|
import "../chunk-3RG5ZIWI.js";
|
package/dist/perf/cli.mjs
CHANGED
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
runBrassPerformanceProfile,
|
|
16
16
|
savePerfBaseline,
|
|
17
17
|
writePerfHistoryEntry
|
|
18
|
-
} from "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
18
|
+
} from "../chunk-JWIEMBE6.mjs";
|
|
19
|
+
import "../chunk-RBHNOKH4.mjs";
|
|
20
|
+
import "../chunk-7GBJYOX7.mjs";
|
|
21
|
+
import "../chunk-YWLLH27R.mjs";
|
|
22
|
+
import "../chunk-COOW7BJX.mjs";
|
|
23
|
+
import "../chunk-6V2AWT4R.mjs";
|
|
24
|
+
import "../chunk-Z3ZZMQUZ.mjs";
|
|
25
25
|
import "../chunk-MOO4L7F4.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-BC6Q6BCO.mjs";
|
|
27
27
|
import "../chunk-B5JD23U7.mjs";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-EEN5OTCR.mjs";
|
|
29
|
+
import "../chunk-H626ZTDZ.mjs";
|
|
30
30
|
import "../chunk-36I3M4UC.mjs";
|
|
31
31
|
import "../chunk-6MLAZPBL.mjs";
|
|
32
32
|
import "../chunk-Y6FXYEAI.mjs";
|
package/dist/perf/index.cjs
CHANGED
|
@@ -30,25 +30,25 @@
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
var
|
|
34
|
-
require('../chunk-
|
|
35
|
-
require('../chunk-
|
|
36
|
-
require('../chunk-
|
|
37
|
-
require('../chunk-
|
|
38
|
-
require('../chunk-
|
|
39
|
-
require('../chunk-
|
|
33
|
+
var _chunk5LC7V2OZcjs = require('../chunk-5LC7V2OZ.cjs');
|
|
34
|
+
require('../chunk-KNTJ7FQB.cjs');
|
|
35
|
+
require('../chunk-WVSZOPGQ.cjs');
|
|
36
|
+
require('../chunk-ELIECDYN.cjs');
|
|
37
|
+
require('../chunk-WI7GZF3B.cjs');
|
|
38
|
+
require('../chunk-WGE2FEZE.cjs');
|
|
39
|
+
require('../chunk-XPIMJQYS.cjs');
|
|
40
40
|
require('../chunk-L6VB5N7Q.cjs');
|
|
41
|
-
require('../chunk-
|
|
41
|
+
require('../chunk-EICAJDNX.cjs');
|
|
42
42
|
require('../chunk-SA6HUJVI.cjs');
|
|
43
|
-
require('../chunk-
|
|
44
|
-
require('../chunk-
|
|
43
|
+
require('../chunk-5RZ7YITF.cjs');
|
|
44
|
+
require('../chunk-2JHJ4YHS.cjs');
|
|
45
45
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
46
46
|
require('../chunk-UUMKZJRJ.cjs');
|
|
47
47
|
require('../chunk-OBGZSXTJ.cjs');
|
|
48
48
|
|
|
49
49
|
// src/perf/budget.ts
|
|
50
50
|
async function runRuntimePerfBudget(options = {}) {
|
|
51
|
-
const ab = await
|
|
51
|
+
const ab = await _chunk5LC7V2OZcjs.profileRuntimeAb.call(void 0, {
|
|
52
52
|
...options,
|
|
53
53
|
thresholds: {
|
|
54
54
|
maxRegressionPercent: _nullishCoalesce(_optionalChain([options, 'access', _ => _.thresholds, 'optionalAccess', _2 => _2.maxRegressionPercent]), () => ( 50)),
|
|
@@ -136,4 +136,4 @@ function positiveNumber(value, fallback) {
|
|
|
136
136
|
|
|
137
137
|
|
|
138
138
|
|
|
139
|
-
exports.HTTP_PROFILE_VARIANTS =
|
|
139
|
+
exports.HTTP_PROFILE_VARIANTS = _chunk5LC7V2OZcjs.HTTP_PROFILE_VARIANTS; exports.captureMemorySnapshot = _chunk5LC7V2OZcjs.captureMemorySnapshot; exports.comparePerfToBaseline = _chunk5LC7V2OZcjs.comparePerfToBaseline; exports.compareRuntimeProfiles = _chunk5LC7V2OZcjs.compareRuntimeProfiles; exports.createPerfHistoryEntry = _chunk5LC7V2OZcjs.createPerfHistoryEntry; exports.defaultPerfHistoryDirectory = _chunk5LC7V2OZcjs.defaultPerfHistoryDirectory; exports.diagnoseRuntimeProfile = _chunk5LC7V2OZcjs.diagnoseRuntimeProfile; exports.diffMemorySnapshots = _chunk5LC7V2OZcjs.diffMemorySnapshots; exports.extractPerfMetrics = _chunk5LC7V2OZcjs.extractPerfMetrics; exports.forceGc = _chunk5LC7V2OZcjs.forceGc; exports.formatHttpMemoryLabReport = _chunk5LC7V2OZcjs.formatHttpMemoryLabReport; exports.formatPerfBaselineComparison = _chunk5LC7V2OZcjs.formatPerfBaselineComparison; exports.formatPerformanceReport = _chunk5LC7V2OZcjs.formatPerformanceReport; exports.formatRuntimeAbReport = _chunk5LC7V2OZcjs.formatRuntimeAbReport; exports.formatRuntimePerfBudgetReport = formatRuntimePerfBudgetReport; exports.formatRuntimeSoakReport = _chunk5LC7V2OZcjs.formatRuntimeSoakReport; exports.hasGc = _chunk5LC7V2OZcjs.hasGc; exports.loadPerfBaseline = _chunk5LC7V2OZcjs.loadPerfBaseline; exports.makePerfRecorder = _chunk5LC7V2OZcjs.makePerfRecorder; exports.profileHttpLayers = _chunk5LC7V2OZcjs.profileHttpLayers; exports.profileHttpMemoryLab = _chunk5LC7V2OZcjs.profileHttpMemoryLab; exports.profileMemoryRetention = _chunk5LC7V2OZcjs.profileMemoryRetention; exports.profileRuntimeAb = _chunk5LC7V2OZcjs.profileRuntimeAb; exports.profileRuntimePrimitives = _chunk5LC7V2OZcjs.profileRuntimePrimitives; exports.profileRuntimeSoak = _chunk5LC7V2OZcjs.profileRuntimeSoak; exports.readPerfHistory = _chunk5LC7V2OZcjs.readPerfHistory; exports.recommendPerformance = _chunk5LC7V2OZcjs.recommendPerformance; exports.recordPerfHistoryRun = _chunk5LC7V2OZcjs.recordPerfHistoryRun; exports.runBrassPerformanceProfile = _chunk5LC7V2OZcjs.runBrassPerformanceProfile; exports.runRuntimePerfBudget = runRuntimePerfBudget; exports.savePerfBaseline = _chunk5LC7V2OZcjs.savePerfBaseline; exports.summarizePerfEvents = _chunk5LC7V2OZcjs.summarizePerfEvents; exports.writePerfHistoryEntry = _chunk5LC7V2OZcjs.writePerfHistoryEntry;
|
package/dist/perf/index.js
CHANGED
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
savePerfBaseline,
|
|
31
31
|
summarizePerfEvents,
|
|
32
32
|
writePerfHistoryEntry
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-22HZQG5F.js";
|
|
34
|
+
import "../chunk-UAKAF32U.js";
|
|
35
|
+
import "../chunk-YGR2IN4R.js";
|
|
36
|
+
import "../chunk-LSYQ3C2M.js";
|
|
37
|
+
import "../chunk-YZ5LQ32F.js";
|
|
38
|
+
import "../chunk-OW5VHAOE.js";
|
|
39
|
+
import "../chunk-WUDHOZIH.js";
|
|
40
40
|
import "../chunk-TRM4JUZQ.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-IPSMXUWA.js";
|
|
42
42
|
import "../chunk-UCUBNWM2.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-S4HXADU4.js";
|
|
44
|
+
import "../chunk-TTSPIU3U.js";
|
|
45
45
|
import "../chunk-UB4B6OFY.js";
|
|
46
46
|
import "../chunk-HCJ4S3YB.js";
|
|
47
47
|
import "../chunk-3RG5ZIWI.js";
|
package/dist/perf/index.mjs
CHANGED
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
savePerfBaseline,
|
|
31
31
|
summarizePerfEvents,
|
|
32
32
|
writePerfHistoryEntry
|
|
33
|
-
} from "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
-
import "../chunk-
|
|
38
|
-
import "../chunk-
|
|
39
|
-
import "../chunk-
|
|
33
|
+
} from "../chunk-JWIEMBE6.mjs";
|
|
34
|
+
import "../chunk-RBHNOKH4.mjs";
|
|
35
|
+
import "../chunk-7GBJYOX7.mjs";
|
|
36
|
+
import "../chunk-YWLLH27R.mjs";
|
|
37
|
+
import "../chunk-COOW7BJX.mjs";
|
|
38
|
+
import "../chunk-6V2AWT4R.mjs";
|
|
39
|
+
import "../chunk-Z3ZZMQUZ.mjs";
|
|
40
40
|
import "../chunk-MOO4L7F4.mjs";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-BC6Q6BCO.mjs";
|
|
42
42
|
import "../chunk-B5JD23U7.mjs";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-EEN5OTCR.mjs";
|
|
44
|
+
import "../chunk-H626ZTDZ.mjs";
|
|
45
45
|
import "../chunk-36I3M4UC.mjs";
|
|
46
46
|
import "../chunk-6MLAZPBL.mjs";
|
|
47
47
|
import "../chunk-Y6FXYEAI.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as MetricExemplar, b as MetricSnapshot, M as MetricsRegistry, T as TraceSampler, c as TraceSamplingInput, E as EventBus, B as BrassEnv, I as InMemoryTracer, d as Tracer, R as RuntimeSpan, e as InMemoryTracerOptions } from './tracer-
|
|
2
|
-
import { T as TraceContext, R as RuntimeHooks, A as Async, J as JSONValue, B as Baggage, b as Runtime, h as RuntimeRegistry, a as RuntimeOptions } from './effect-
|
|
3
|
-
import { C as CircuitBreakerStats } from './layer-
|
|
4
|
-
import { A as AdaptiveLimiterStats } from './defaultClient-
|
|
1
|
+
import { a as MetricExemplar, b as MetricSnapshot, M as MetricsRegistry, T as TraceSampler, c as TraceSamplingInput, E as EventBus, B as BrassEnv, I as InMemoryTracer, d as Tracer, R as RuntimeSpan, e as InMemoryTracerOptions } from './tracer-DF83nLn6.js';
|
|
2
|
+
import { T as TraceContext, R as RuntimeHooks, A as Async, J as JSONValue, B as Baggage, b as Runtime, h as RuntimeRegistry, a as RuntimeOptions } from './effect-DnGUuhw6.js';
|
|
3
|
+
import { C as CircuitBreakerStats } from './layer-D2LFcBVx.js';
|
|
4
|
+
import { A as AdaptiveLimiterStats } from './defaultClient-Cid0JoUR.js';
|
|
5
5
|
|
|
6
6
|
declare const PROMETHEUS_CONTENT_TYPE = "text/plain; version=0.0.4; charset=utf-8";
|
|
7
7
|
declare const OTLP_JSON_CONTENT_TYPE = "application/json";
|