brass-runtime 1.19.0 → 1.19.2
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/CHANGELOG.md +34 -0
- 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-GOEO763K.cjs → chunk-2XXQ3NVT.cjs} +19 -19
- package/dist/{chunk-5RVHSBJ6.mjs → chunk-5X3MPWTR.mjs} +275 -39
- package/dist/{chunk-2R3RVNS2.js → chunk-6AGAZD32.js} +6 -6
- package/dist/{chunk-BLXBZ6RE.mjs → chunk-6BNZS2A4.mjs} +1 -1
- package/dist/{chunk-EXBGIC66.js → chunk-6W5DC3TX.js} +1 -1
- package/dist/{chunk-MUMBUXU6.mjs → chunk-BFNBU47C.mjs} +22 -6
- package/dist/{chunk-JWFOWPMB.js → chunk-BHX4MD35.js} +5 -5
- package/dist/{chunk-OO7BGCC3.cjs → chunk-CXWJII2N.cjs} +13 -13
- package/dist/{chunk-Z2YIDHRI.cjs → chunk-ENMKEX3N.cjs} +5 -5
- package/dist/{chunk-RZGB3DXR.js → chunk-HKLZJ5UK.js} +275 -39
- package/dist/{chunk-HW2CLRJ3.mjs → chunk-IA6BDGXW.mjs} +6 -6
- package/dist/{chunk-MA74OYCI.cjs → chunk-IHY2EJTT.cjs} +6 -6
- package/dist/{chunk-AQQQFNYD.mjs → chunk-IWAQQDYE.mjs} +1 -1
- package/dist/{chunk-C3CWI42G.js → chunk-J4F5KC3U.js} +1 -1
- package/dist/{chunk-ZDZNV6NA.cjs → chunk-JKHBEWQA.cjs} +23 -7
- package/dist/{chunk-5UBJT4RW.mjs → chunk-JM7WMSRR.mjs} +3 -3
- package/dist/{chunk-YQWZ7FZX.cjs → chunk-JQCQWO47.cjs} +5 -5
- package/dist/{chunk-B2VXVNIS.js → chunk-LI7WUVJN.js} +1 -1
- package/dist/{chunk-FC5N5QHJ.js → chunk-NWONRWBT.js} +2 -2
- package/dist/{chunk-H4ZRUQZL.js → chunk-PG6CHG34.js} +3 -3
- package/dist/{chunk-NQW3YUFN.cjs → chunk-QAHW7S3Q.cjs} +18 -18
- package/dist/{chunk-GXOIUBKE.js → chunk-RZQK32C6.js} +2 -2
- package/dist/{chunk-EKLEDIVJ.mjs → chunk-S6KSHYAT.mjs} +2 -2
- package/dist/{chunk-URVS2OE2.mjs → chunk-SCHM2MDA.mjs} +2 -2
- package/dist/{chunk-A6EG5WRL.js → chunk-TAPB4NN5.js} +2 -2
- package/dist/{chunk-APQBU7TM.js → chunk-TN2P7RNK.js} +22 -6
- package/dist/{chunk-QBVS3UYN.cjs → chunk-TWEHIAUE.cjs} +54 -54
- package/dist/{chunk-7FZUTJM3.cjs → chunk-UOKXJQAI.cjs} +380 -144
- package/dist/{chunk-FYWWU3Z7.cjs → chunk-VXNWVAIG.cjs} +2 -2
- package/dist/{chunk-KAPZHDO4.mjs → chunk-WA65XP2P.mjs} +1 -1
- package/dist/{chunk-4PKBNG2H.js → chunk-XO3TDAJE.js} +1 -1
- package/dist/{chunk-KDXNWGPB.mjs → chunk-XRRC5BBM.mjs} +1 -1
- package/dist/{chunk-DV644N7P.cjs → chunk-ZJC3JZIE.cjs} +16 -16
- package/dist/{chunk-3NKXUX4T.mjs → chunk-ZXLETUGQ.mjs} +2 -2
- package/dist/{chunk-OX6MF7SZ.mjs → chunk-ZXXOXB3T.mjs} +5 -5
- package/dist/{chunk-6STX4PS3.cjs → chunk-ZZ2CMYJL.cjs} +13 -13
- package/dist/core/index.cjs +9 -7
- package/dist/core/index.d.ts +6 -6
- package/dist/core/index.js +8 -6
- package/dist/core/index.mjs +8 -6
- package/dist/{defaultClient-Cid0JoUR.d.ts → defaultClient-hyVSNzSJ.d.ts} +3 -3
- package/dist/{effect-DnGUuhw6.d.ts → effect-DbEMiMvv.d.ts} +8 -1
- package/dist/http/index.cjs +48 -48
- package/dist/http/index.d.ts +8 -8
- package/dist/http/index.js +6 -6
- package/dist/http/index.mjs +6 -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 +87 -85
- package/dist/index.d.ts +7 -7
- package/dist/index.js +9 -7
- package/dist/index.mjs +9 -7
- package/dist/{layer-D2LFcBVx.d.ts → layer-CsNGeVee.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-Bf1zNYZk.d.ts → server-BKKuzAW9.d.ts} +4 -4
- package/dist/{stream-I7bkvF7a.d.ts → stream-B8c_UKZq.d.ts} +1 -1
- package/dist/{tracer-DF83nLn6.d.ts → tracer-CS3yOXZx.d.ts} +2 -2
- package/dist/{tracing-CWV4gT0u.d.ts → tracing-DIAUf2x8.d.ts} +1 -1
- package/package.json +1 -1
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-PG6CHG34.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-RZQK32C6.js";
|
|
58
58
|
import {
|
|
59
59
|
RuntimeService,
|
|
60
60
|
makeRuntimeLayer
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-NWONRWBT.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-LI7WUVJN.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-XO3TDAJE.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-6W5DC3TX.js";
|
|
186
186
|
import {
|
|
187
187
|
ABI_VERSION,
|
|
188
188
|
DefaultHostExecutor,
|
|
@@ -232,6 +232,7 @@ import {
|
|
|
232
232
|
sanitizeLaneKey,
|
|
233
233
|
setAbortablePromisePerLabelTracking,
|
|
234
234
|
setBenchmarkBudget,
|
|
235
|
+
setCurrentFiber,
|
|
235
236
|
toPromise,
|
|
236
237
|
toPromiseByCaller,
|
|
237
238
|
unsafeGetCurrentRuntime,
|
|
@@ -240,7 +241,7 @@ import {
|
|
|
240
241
|
withCurrentFiber,
|
|
241
242
|
withScope,
|
|
242
243
|
withScopeAsync
|
|
243
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-TN2P7RNK.js";
|
|
244
245
|
import {
|
|
245
246
|
Async,
|
|
246
247
|
Cause,
|
|
@@ -1781,6 +1782,7 @@ export {
|
|
|
1781
1782
|
serviceTag,
|
|
1782
1783
|
setAbortablePromisePerLabelTracking,
|
|
1783
1784
|
setBenchmarkBudget,
|
|
1785
|
+
setCurrentFiber,
|
|
1784
1786
|
setFiberRef,
|
|
1785
1787
|
setFusionEnabled,
|
|
1786
1788
|
setFusionVerbose,
|
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-JM7WMSRR.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-S6KSHYAT.mjs";
|
|
58
58
|
import {
|
|
59
59
|
RuntimeService,
|
|
60
60
|
makeRuntimeLayer
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ZXLETUGQ.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-WA65XP2P.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-IWAQQDYE.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-XRRC5BBM.mjs";
|
|
186
186
|
import {
|
|
187
187
|
ABI_VERSION,
|
|
188
188
|
DefaultHostExecutor,
|
|
@@ -232,6 +232,7 @@ import {
|
|
|
232
232
|
sanitizeLaneKey,
|
|
233
233
|
setAbortablePromisePerLabelTracking,
|
|
234
234
|
setBenchmarkBudget,
|
|
235
|
+
setCurrentFiber,
|
|
235
236
|
toPromise,
|
|
236
237
|
toPromiseByCaller,
|
|
237
238
|
unsafeGetCurrentRuntime,
|
|
@@ -240,7 +241,7 @@ import {
|
|
|
240
241
|
withCurrentFiber,
|
|
241
242
|
withScope,
|
|
242
243
|
withScopeAsync
|
|
243
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-BFNBU47C.mjs";
|
|
244
245
|
import {
|
|
245
246
|
Async,
|
|
246
247
|
Cause,
|
|
@@ -1781,6 +1782,7 @@ export {
|
|
|
1781
1782
|
serviceTag,
|
|
1782
1783
|
setAbortablePromisePerLabelTracking,
|
|
1783
1784
|
setBenchmarkBudget,
|
|
1785
|
+
setCurrentFiber,
|
|
1784
1786
|
setFiberRef,
|
|
1785
1787
|
setFusionEnabled,
|
|
1786
1788
|
setFusionVerbose,
|
|
@@ -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-DbEMiMvv.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 _chunkTWEHIAUEcjs = require('../chunk-TWEHIAUE.cjs');
|
|
21
|
+
require('../chunk-ENMKEX3N.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -82,14 +82,14 @@ require('../chunk-Z2YIDHRI.cjs');
|
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
var
|
|
86
|
-
require('../chunk-
|
|
87
|
-
require('../chunk-
|
|
85
|
+
var _chunkZJC3JZIEcjs = require('../chunk-ZJC3JZIE.cjs');
|
|
86
|
+
require('../chunk-VXNWVAIG.cjs');
|
|
87
|
+
require('../chunk-UOKXJQAI.cjs');
|
|
88
88
|
require('../chunk-L6VB5N7Q.cjs');
|
|
89
|
-
require('../chunk-
|
|
89
|
+
require('../chunk-CXWJII2N.cjs');
|
|
90
90
|
require('../chunk-SA6HUJVI.cjs');
|
|
91
|
-
require('../chunk-
|
|
92
|
-
require('../chunk-
|
|
91
|
+
require('../chunk-ZZ2CMYJL.cjs');
|
|
92
|
+
require('../chunk-JKHBEWQA.cjs');
|
|
93
93
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
94
94
|
require('../chunk-KPOL2YEO.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 = _chunkTWEHIAUEcjs.HTTP_OBSERVABILITY_CONTRACT; exports.OTLP_JSON_CONTENT_TYPE = _chunkZJC3JZIEcjs.OTLP_JSON_CONTENT_TYPE; exports.ObservabilityService = _chunkTWEHIAUEcjs.ObservabilityService; exports.PROMETHEUS_CONTENT_TYPE = _chunkZJC3JZIEcjs.PROMETHEUS_CONTENT_TYPE; exports.alwaysOffSampler = _chunkZJC3JZIEcjs.alwaysOffSampler; exports.alwaysOnSampler = _chunkZJC3JZIEcjs.alwaysOnSampler; exports.currentBaggage = _chunkZJC3JZIEcjs.currentBaggage; exports.currentSpanLink = _chunkZJC3JZIEcjs.currentSpanLink; exports.defaultStructuredLogWriter = _chunkZJC3JZIEcjs.defaultStructuredLogWriter; exports.exemplarFromTraceContext = _chunkZJC3JZIEcjs.exemplarFromTraceContext; exports.exportWithRetry = _chunkZJC3JZIEcjs.exportWithRetry; exports.extractBaggage = _chunkZJC3JZIEcjs.extractBaggage; exports.extractTraceContext = _chunkZJC3JZIEcjs.extractTraceContext; exports.formatBaggage = _chunkZJC3JZIEcjs.formatBaggage; exports.formatPrometheusMetrics = _chunkZJC3JZIEcjs.formatPrometheusMetrics; exports.formatStructuredLog = _chunkZJC3JZIEcjs.formatStructuredLog; exports.formatTraceparent = _chunkZJC3JZIEcjs.formatTraceparent; exports.healthToHttpResponse = _chunkZJC3JZIEcjs.healthToHttpResponse; exports.injectBaggage = _chunkZJC3JZIEcjs.injectBaggage; exports.injectTraceContext = _chunkZJC3JZIEcjs.injectTraceContext; exports.logEffect = _chunkZJC3JZIEcjs.logEffect; exports.makeCardinalityLimitedMetrics = _chunkZJC3JZIEcjs.makeCardinalityLimitedMetrics; exports.makeExportPipeline = _chunkZJC3JZIEcjs.makeExportPipeline; exports.makeExpressRequestObservabilityContext = _chunkTWEHIAUEcjs.makeExpressRequestObservabilityContext; exports.makeFastifyRequestObservabilityContext = _chunkTWEHIAUEcjs.makeFastifyRequestObservabilityContext; exports.makeFetchRequestObservabilityContext = _chunkTWEHIAUEcjs.makeFetchRequestObservabilityContext; exports.makeHttpObservabilityMiddleware = _chunkTWEHIAUEcjs.makeHttpObservabilityMiddleware; exports.makeNodeRequestObservabilityContext = _chunkTWEHIAUEcjs.makeNodeRequestObservabilityContext; exports.makeNoopObservability = _chunkTWEHIAUEcjs.makeNoopObservability; exports.makeObservability = _chunkZJC3JZIEcjs.makeObservability; exports.makeObservabilityFromEnv = _chunkTWEHIAUEcjs.makeObservabilityFromEnv; exports.makeObservabilityLayer = _chunkTWEHIAUEcjs.makeObservabilityLayer; exports.makeObservabilityPreset = _chunkTWEHIAUEcjs.makeObservabilityPreset; exports.makeObservabilityRedactor = _chunkZJC3JZIEcjs.makeObservabilityRedactor; exports.makeObservedHttpClientLayer = _chunkTWEHIAUEcjs.makeObservedHttpClientLayer; exports.makeObservedRuntimeLayer = _chunkTWEHIAUEcjs.makeObservedRuntimeLayer; exports.makeOtlpHttpLogExporter = _chunkZJC3JZIEcjs.makeOtlpHttpLogExporter; exports.makeOtlpHttpMetricsExporter = _chunkZJC3JZIEcjs.makeOtlpHttpMetricsExporter; exports.makeOtlpHttpSpanExporter = _chunkZJC3JZIEcjs.makeOtlpHttpSpanExporter; exports.makeOtlpOptions = _chunkZJC3JZIEcjs.makeOtlpOptions; exports.makePrometheusMetricsExporter = _chunkZJC3JZIEcjs.makePrometheusMetricsExporter; exports.makeRequestObservabilityContext = _chunkZJC3JZIEcjs.makeRequestObservabilityContext; exports.makeRuntimeHealth = _chunkZJC3JZIEcjs.makeRuntimeHealth; exports.makeRuntimeMetricsSink = _chunkZJC3JZIEcjs.makeRuntimeMetricsSink; exports.makeStructuredLogSink = _chunkZJC3JZIEcjs.makeStructuredLogSink; exports.makeTraceSampler = _chunkZJC3JZIEcjs.makeTraceSampler; exports.metricsSnapshotToOtlp = _chunkZJC3JZIEcjs.metricsSnapshotToOtlp; exports.normalizeHttpRoute = _chunkZJC3JZIEcjs.normalizeHttpRoute; exports.normalizeSpanId = _chunkZJC3JZIEcjs.normalizeSpanId; exports.normalizeTraceId = _chunkZJC3JZIEcjs.normalizeTraceId; exports.observabilityOptionsForPreset = _chunkTWEHIAUEcjs.observabilityOptionsForPreset; exports.observabilityOptionsFromEnv = _chunkTWEHIAUEcjs.observabilityOptionsFromEnv; exports.observeHttpServerRequest = _chunkZJC3JZIEcjs.observeHttpServerRequest; exports.otlpAnyValue = _chunkZJC3JZIEcjs.otlpAnyValue; exports.parseBaggage = _chunkZJC3JZIEcjs.parseBaggage; exports.parseTraceparent = _chunkZJC3JZIEcjs.parseTraceparent; exports.postOtlpJson = _chunkZJC3JZIEcjs.postOtlpJson; exports.ratioSampler = _chunkZJC3JZIEcjs.ratioSampler; exports.readiness = _chunkZJC3JZIEcjs.readiness; exports.resolveRequestBaggage = _chunkZJC3JZIEcjs.resolveRequestBaggage; exports.resolveRequestTraceSeed = _chunkZJC3JZIEcjs.resolveRequestTraceSeed; exports.resolveTraceSampling = _chunkZJC3JZIEcjs.resolveTraceSampling; exports.runObservedHttpServerEffect = _chunkZJC3JZIEcjs.runObservedHttpServerEffect; exports.runtimeHealth = _chunkZJC3JZIEcjs.runtimeHealth; exports.sanitizeHttpTarget = _chunkZJC3JZIEcjs.sanitizeHttpTarget; exports.shouldSampleWith = _chunkZJC3JZIEcjs.shouldSampleWith; exports.snapshotRuntimeHealth = _chunkZJC3JZIEcjs.snapshotRuntimeHealth; exports.spanEvent = _chunkZJC3JZIEcjs.spanEvent; exports.spanLink = _chunkZJC3JZIEcjs.spanLink; exports.spansToOtlp = _chunkZJC3JZIEcjs.spansToOtlp; exports.structuredLogsToOtlp = _chunkZJC3JZIEcjs.structuredLogsToOtlp; exports.toOtlpAttributes = _chunkZJC3JZIEcjs.toOtlpAttributes; exports.unixNanoFromMs = _chunkZJC3JZIEcjs.unixNanoFromMs; exports.withBaggage = _chunkZJC3JZIEcjs.withBaggage; exports.withFetchRequestObservability = _chunkTWEHIAUEcjs.withFetchRequestObservability; exports.withHttpObservability = _chunkTWEHIAUEcjs.withHttpObservability; exports.withLogContext = _chunkZJC3JZIEcjs.withLogContext; exports.withNodeRequestObservability = _chunkTWEHIAUEcjs.withNodeRequestObservability; exports.withSpan = _chunkZJC3JZIEcjs.withSpan; exports.withTimeout = _chunkZJC3JZIEcjs.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-BKKuzAW9.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-BKKuzAW9.js';
|
|
3
|
+
import { R as RuntimeHooks, a as RuntimeOptions, b as Runtime } from '../effect-DbEMiMvv.js';
|
|
4
|
+
import { M as MetricsRegistry } from '../tracer-CS3yOXZx.js';
|
|
5
|
+
import { H as HttpRequest, d as HttpMiddleware, e as DefaultHttpClientConfig, D as DefaultHttpClient } from '../defaultClient-hyVSNzSJ.js';
|
|
6
|
+
import { a as LayerContext, S as ServiceTag, L as Layer } from '../layer-CsNGeVee.js';
|
|
7
|
+
import '../stream-B8c_UKZq.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-BHX4MD35.js";
|
|
21
|
+
import "../chunk-NWONRWBT.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-TAPB4NN5.js";
|
|
86
|
+
import "../chunk-LI7WUVJN.js";
|
|
87
|
+
import "../chunk-HKLZJ5UK.js";
|
|
88
88
|
import "../chunk-TRM4JUZQ.js";
|
|
89
|
-
import "../chunk-
|
|
89
|
+
import "../chunk-XO3TDAJE.js";
|
|
90
90
|
import "../chunk-UCUBNWM2.js";
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-6W5DC3TX.js";
|
|
92
|
+
import "../chunk-TN2P7RNK.js";
|
|
93
93
|
import "../chunk-UB4B6OFY.js";
|
|
94
94
|
import "../chunk-FNWOH2T2.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-ZXXOXB3T.mjs";
|
|
21
|
+
import "../chunk-ZXLETUGQ.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-SCHM2MDA.mjs";
|
|
86
|
+
import "../chunk-WA65XP2P.mjs";
|
|
87
|
+
import "../chunk-5X3MPWTR.mjs";
|
|
88
88
|
import "../chunk-MOO4L7F4.mjs";
|
|
89
|
-
import "../chunk-
|
|
89
|
+
import "../chunk-IWAQQDYE.mjs";
|
|
90
90
|
import "../chunk-B5JD23U7.mjs";
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
91
|
+
import "../chunk-XRRC5BBM.mjs";
|
|
92
|
+
import "../chunk-BFNBU47C.mjs";
|
|
93
93
|
import "../chunk-36I3M4UC.mjs";
|
|
94
94
|
import "../chunk-UZQ3BB6W.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 _chunkQAHW7S3Qcjs = require('../chunk-QAHW7S3Q.cjs');
|
|
19
|
+
require('../chunk-JQCQWO47.cjs');
|
|
20
|
+
require('../chunk-TWEHIAUE.cjs');
|
|
21
|
+
require('../chunk-ENMKEX3N.cjs');
|
|
22
|
+
require('../chunk-ZJC3JZIE.cjs');
|
|
23
|
+
require('../chunk-VXNWVAIG.cjs');
|
|
24
|
+
require('../chunk-UOKXJQAI.cjs');
|
|
25
25
|
require('../chunk-L6VB5N7Q.cjs');
|
|
26
|
-
require('../chunk-
|
|
26
|
+
require('../chunk-CXWJII2N.cjs');
|
|
27
27
|
require('../chunk-SA6HUJVI.cjs');
|
|
28
|
-
require('../chunk-
|
|
29
|
-
require('../chunk-
|
|
28
|
+
require('../chunk-ZZ2CMYJL.cjs');
|
|
29
|
+
require('../chunk-JKHBEWQA.cjs');
|
|
30
30
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
31
31
|
require('../chunk-KPOL2YEO.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 _chunkQAHW7S3Qcjs.profileRuntimeAb.call(void 0, cli.runtimeAb);
|
|
39
|
+
await printReport(cli, report2, _chunkQAHW7S3Qcjs.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 _chunkQAHW7S3Qcjs.profileRuntimeSoak.call(void 0, cli.runtimeSoak);
|
|
44
|
+
await printReport(cli, report2, _chunkQAHW7S3Qcjs.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 _chunkQAHW7S3Qcjs.profileHttpMemoryLab.call(void 0, cli.httpMemory);
|
|
49
|
+
await printReport(cli, report2, _chunkQAHW7S3Qcjs.formatHttpMemoryLabReport.call(void 0, report2));
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
-
const report = await
|
|
53
|
-
await printReport(cli, report,
|
|
52
|
+
const report = await _chunkQAHW7S3Qcjs.runBrassPerformanceProfile.call(void 0, cli.options);
|
|
53
|
+
await printReport(cli, report, _chunkQAHW7S3Qcjs.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 = _chunkQAHW7S3Qcjs.createPerfHistoryEntry.call(void 0, cli.profile, report, storeOptions);
|
|
297
|
+
const historyPath = config.recordHistory ? await _chunkQAHW7S3Qcjs.writePerfHistoryEntry.call(void 0, entry, storeOptions) : void 0;
|
|
298
|
+
const savedBaseline = config.saveBaseline ? await _chunkQAHW7S3Qcjs.savePerfBaseline.call(void 0, config.saveBaseline, entry, storeOptions) : void 0;
|
|
299
|
+
const loadedBaseline = config.compareBaseline ? await _chunkQAHW7S3Qcjs.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 ? _chunkQAHW7S3Qcjs.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(_chunkQAHW7S3Qcjs.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(_chunkQAHW7S3Qcjs.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-6AGAZD32.js";
|
|
19
|
+
import "../chunk-RZQK32C6.js";
|
|
20
|
+
import "../chunk-BHX4MD35.js";
|
|
21
|
+
import "../chunk-NWONRWBT.js";
|
|
22
|
+
import "../chunk-TAPB4NN5.js";
|
|
23
|
+
import "../chunk-LI7WUVJN.js";
|
|
24
|
+
import "../chunk-HKLZJ5UK.js";
|
|
25
25
|
import "../chunk-TRM4JUZQ.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-XO3TDAJE.js";
|
|
27
27
|
import "../chunk-UCUBNWM2.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-6W5DC3TX.js";
|
|
29
|
+
import "../chunk-TN2P7RNK.js";
|
|
30
30
|
import "../chunk-UB4B6OFY.js";
|
|
31
31
|
import "../chunk-FNWOH2T2.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-IA6BDGXW.mjs";
|
|
19
|
+
import "../chunk-S6KSHYAT.mjs";
|
|
20
|
+
import "../chunk-ZXXOXB3T.mjs";
|
|
21
|
+
import "../chunk-ZXLETUGQ.mjs";
|
|
22
|
+
import "../chunk-SCHM2MDA.mjs";
|
|
23
|
+
import "../chunk-WA65XP2P.mjs";
|
|
24
|
+
import "../chunk-5X3MPWTR.mjs";
|
|
25
25
|
import "../chunk-MOO4L7F4.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-IWAQQDYE.mjs";
|
|
27
27
|
import "../chunk-B5JD23U7.mjs";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
28
|
+
import "../chunk-XRRC5BBM.mjs";
|
|
29
|
+
import "../chunk-BFNBU47C.mjs";
|
|
30
30
|
import "../chunk-36I3M4UC.mjs";
|
|
31
31
|
import "../chunk-UZQ3BB6W.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 _chunkQAHW7S3Qcjs = require('../chunk-QAHW7S3Q.cjs');
|
|
34
|
+
require('../chunk-JQCQWO47.cjs');
|
|
35
|
+
require('../chunk-TWEHIAUE.cjs');
|
|
36
|
+
require('../chunk-ENMKEX3N.cjs');
|
|
37
|
+
require('../chunk-ZJC3JZIE.cjs');
|
|
38
|
+
require('../chunk-VXNWVAIG.cjs');
|
|
39
|
+
require('../chunk-UOKXJQAI.cjs');
|
|
40
40
|
require('../chunk-L6VB5N7Q.cjs');
|
|
41
|
-
require('../chunk-
|
|
41
|
+
require('../chunk-CXWJII2N.cjs');
|
|
42
42
|
require('../chunk-SA6HUJVI.cjs');
|
|
43
|
-
require('../chunk-
|
|
44
|
-
require('../chunk-
|
|
43
|
+
require('../chunk-ZZ2CMYJL.cjs');
|
|
44
|
+
require('../chunk-JKHBEWQA.cjs');
|
|
45
45
|
require('../chunk-MVGUEJ5Z.cjs');
|
|
46
46
|
require('../chunk-KPOL2YEO.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 _chunkQAHW7S3Qcjs.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 = _chunkQAHW7S3Qcjs.HTTP_PROFILE_VARIANTS; exports.captureMemorySnapshot = _chunkQAHW7S3Qcjs.captureMemorySnapshot; exports.comparePerfToBaseline = _chunkQAHW7S3Qcjs.comparePerfToBaseline; exports.compareRuntimeProfiles = _chunkQAHW7S3Qcjs.compareRuntimeProfiles; exports.createPerfHistoryEntry = _chunkQAHW7S3Qcjs.createPerfHistoryEntry; exports.defaultPerfHistoryDirectory = _chunkQAHW7S3Qcjs.defaultPerfHistoryDirectory; exports.diagnoseRuntimeProfile = _chunkQAHW7S3Qcjs.diagnoseRuntimeProfile; exports.diffMemorySnapshots = _chunkQAHW7S3Qcjs.diffMemorySnapshots; exports.extractPerfMetrics = _chunkQAHW7S3Qcjs.extractPerfMetrics; exports.forceGc = _chunkQAHW7S3Qcjs.forceGc; exports.formatHttpMemoryLabReport = _chunkQAHW7S3Qcjs.formatHttpMemoryLabReport; exports.formatPerfBaselineComparison = _chunkQAHW7S3Qcjs.formatPerfBaselineComparison; exports.formatPerformanceReport = _chunkQAHW7S3Qcjs.formatPerformanceReport; exports.formatRuntimeAbReport = _chunkQAHW7S3Qcjs.formatRuntimeAbReport; exports.formatRuntimePerfBudgetReport = formatRuntimePerfBudgetReport; exports.formatRuntimeSoakReport = _chunkQAHW7S3Qcjs.formatRuntimeSoakReport; exports.hasGc = _chunkQAHW7S3Qcjs.hasGc; exports.loadPerfBaseline = _chunkQAHW7S3Qcjs.loadPerfBaseline; exports.makePerfRecorder = _chunkQAHW7S3Qcjs.makePerfRecorder; exports.profileHttpLayers = _chunkQAHW7S3Qcjs.profileHttpLayers; exports.profileHttpMemoryLab = _chunkQAHW7S3Qcjs.profileHttpMemoryLab; exports.profileMemoryRetention = _chunkQAHW7S3Qcjs.profileMemoryRetention; exports.profileRuntimeAb = _chunkQAHW7S3Qcjs.profileRuntimeAb; exports.profileRuntimePrimitives = _chunkQAHW7S3Qcjs.profileRuntimePrimitives; exports.profileRuntimeSoak = _chunkQAHW7S3Qcjs.profileRuntimeSoak; exports.readPerfHistory = _chunkQAHW7S3Qcjs.readPerfHistory; exports.recommendPerformance = _chunkQAHW7S3Qcjs.recommendPerformance; exports.recordPerfHistoryRun = _chunkQAHW7S3Qcjs.recordPerfHistoryRun; exports.runBrassPerformanceProfile = _chunkQAHW7S3Qcjs.runBrassPerformanceProfile; exports.runRuntimePerfBudget = runRuntimePerfBudget; exports.savePerfBaseline = _chunkQAHW7S3Qcjs.savePerfBaseline; exports.summarizePerfEvents = _chunkQAHW7S3Qcjs.summarizePerfEvents; exports.writePerfHistoryEntry = _chunkQAHW7S3Qcjs.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-6AGAZD32.js";
|
|
34
|
+
import "../chunk-RZQK32C6.js";
|
|
35
|
+
import "../chunk-BHX4MD35.js";
|
|
36
|
+
import "../chunk-NWONRWBT.js";
|
|
37
|
+
import "../chunk-TAPB4NN5.js";
|
|
38
|
+
import "../chunk-LI7WUVJN.js";
|
|
39
|
+
import "../chunk-HKLZJ5UK.js";
|
|
40
40
|
import "../chunk-TRM4JUZQ.js";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-XO3TDAJE.js";
|
|
42
42
|
import "../chunk-UCUBNWM2.js";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-6W5DC3TX.js";
|
|
44
|
+
import "../chunk-TN2P7RNK.js";
|
|
45
45
|
import "../chunk-UB4B6OFY.js";
|
|
46
46
|
import "../chunk-FNWOH2T2.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-IA6BDGXW.mjs";
|
|
34
|
+
import "../chunk-S6KSHYAT.mjs";
|
|
35
|
+
import "../chunk-ZXXOXB3T.mjs";
|
|
36
|
+
import "../chunk-ZXLETUGQ.mjs";
|
|
37
|
+
import "../chunk-SCHM2MDA.mjs";
|
|
38
|
+
import "../chunk-WA65XP2P.mjs";
|
|
39
|
+
import "../chunk-5X3MPWTR.mjs";
|
|
40
40
|
import "../chunk-MOO4L7F4.mjs";
|
|
41
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-IWAQQDYE.mjs";
|
|
42
42
|
import "../chunk-B5JD23U7.mjs";
|
|
43
|
-
import "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-XRRC5BBM.mjs";
|
|
44
|
+
import "../chunk-BFNBU47C.mjs";
|
|
45
45
|
import "../chunk-36I3M4UC.mjs";
|
|
46
46
|
import "../chunk-UZQ3BB6W.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-CS3yOXZx.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-DbEMiMvv.js';
|
|
3
|
+
import { C as CircuitBreakerStats } from './layer-CsNGeVee.js';
|
|
4
|
+
import { A as AdaptiveLimiterStats } from './defaultClient-hyVSNzSJ.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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { R as RuntimeHooks, c as RingBufferOptions, d as RuntimeEvent, e as RuntimeEmitContext, f as RuntimeEventRecord, g as RuntimeSpanLink, T as TraceContext, B as Baggage } from './effect-
|
|
2
|
-
import { R as RuntimeClock } from './layer-
|
|
1
|
+
import { R as RuntimeHooks, c as RingBufferOptions, d as RuntimeEvent, e as RuntimeEmitContext, f as RuntimeEventRecord, g as RuntimeSpanLink, T as TraceContext, B as Baggage } from './effect-DbEMiMvv.js';
|
|
2
|
+
import { R as RuntimeClock } from './layer-CsNGeVee.js';
|
|
3
3
|
|
|
4
4
|
type MetricType = "counter" | "gauge" | "histogram";
|
|
5
5
|
type MetricValue = {
|