brass-runtime 1.19.2 → 1.20.0

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.
@@ -31,6 +31,7 @@ import {
31
31
  decodeJsonBody,
32
32
  decodeJsonBodyEffect,
33
33
  decorate,
34
+ decorateStream,
34
35
  defaultHttpClientPreset,
35
36
  defaultRetryOnError,
36
37
  defaultRetryOnStatus,
@@ -39,6 +40,7 @@ import {
39
40
  detectPlatform,
40
41
  encodeJsonBodyEffect,
41
42
  executeProbe,
43
+ fetchLabel,
42
44
  formatHttpError,
43
45
  getHttpRequestPolicy,
44
46
  headersOf,
@@ -59,7 +61,10 @@ import {
59
61
  isTimeoutHttpError,
60
62
  isValidationError,
61
63
  linkAbortSignals,
64
+ makeAdaptiveLimiter,
62
65
  makeAdaptiveLimiterConfig,
66
+ makeBareMetalHttp,
67
+ makeBareMetalHttpStream,
63
68
  makeBudgetSemaphore,
64
69
  makeCompressionMiddleware,
65
70
  makeConnectionStateMap,
@@ -69,9 +74,11 @@ import {
69
74
  makeFetchTransport,
70
75
  makeHttp,
71
76
  makeHttpClient,
77
+ makeHttpStats,
72
78
  makeHttpStream,
73
79
  makeJsonParseValidationError,
74
80
  makeLifecycleClient,
81
+ makePool,
75
82
  makePrewarmManager,
76
83
  makePromiseHttpTransport,
77
84
  makeRequestCompressionMiddleware,
@@ -81,16 +88,27 @@ import {
81
88
  normalizeHeadersInit,
82
89
  normalizeHttpError,
83
90
  normalizeHttpHeaders,
91
+ normalizeRequest,
84
92
  normalizeRetryBudget,
85
93
  now,
86
94
  parseCacheKey,
87
95
  promiseHttpTransport,
96
+ releaseFailure,
97
+ releaseSuccess,
98
+ requestPriority,
88
99
  resolveConfig,
89
100
  resolveHttpPoolKey,
90
101
  resolveHttpRequestPolicyPresets,
102
+ resolvePositiveTimeout,
103
+ resolveRequestUrl,
91
104
  retryAfterMs,
105
+ runDirectTransport,
106
+ runPoolTransport,
107
+ runTransportEffect,
92
108
  setHeaderIfMissing,
109
+ timeoutReason,
93
110
  toHttpError,
111
+ validateBareMetalConfig,
94
112
  validateConfig,
95
113
  validateFetchAvailable,
96
114
  validateOrigin,
@@ -105,7 +123,7 @@ import {
105
123
  withPriority,
106
124
  withRetry,
107
125
  withRetryStream
108
- } from "../chunk-5X3MPWTR.mjs";
126
+ } from "../chunk-6NXQL3IC.mjs";
109
127
  import {
110
128
  registerHttpEffect
111
129
  } from "../chunk-MOO4L7F4.mjs";
@@ -1730,6 +1748,7 @@ export {
1730
1748
  decodeJsonBody,
1731
1749
  decodeJsonBodyEffect,
1732
1750
  decorate,
1751
+ decorateStream,
1733
1752
  defaultHttpClientPreset,
1734
1753
  defaultRetryOnError,
1735
1754
  defaultRetryOnStatus,
@@ -1739,6 +1758,7 @@ export {
1739
1758
  empty,
1740
1759
  encodeJsonBodyEffect,
1741
1760
  executeProbe,
1761
+ fetchLabel,
1742
1762
  formatConfigError,
1743
1763
  formatHttpError,
1744
1764
  formatIssues,
@@ -1770,7 +1790,10 @@ export {
1770
1790
  isValidationError,
1771
1791
  json,
1772
1792
  linkAbortSignals,
1793
+ makeAdaptiveLimiter,
1773
1794
  makeAdaptiveLimiterConfig,
1795
+ makeBareMetalHttp,
1796
+ makeBareMetalHttpStream,
1774
1797
  makeBudgetSemaphore,
1775
1798
  makeCompressionMiddleware,
1776
1799
  makeConnectionStateMap,
@@ -1783,6 +1806,7 @@ export {
1783
1806
  makeHttpClientBuilder,
1784
1807
  makeHttpRouter,
1785
1808
  makeHttpServerResource,
1809
+ makeHttpStats,
1786
1810
  makeHttpStream,
1787
1811
  makeJsonParseValidationError,
1788
1812
  makeLifecycleClient,
@@ -1790,6 +1814,7 @@ export {
1790
1814
  makeNodeHttpServer,
1791
1815
  makeNodeHttpServerResource,
1792
1816
  makeNodeHttpTransport,
1817
+ makePool,
1793
1818
  makePrewarmManager,
1794
1819
  makePromiseHttpTransport,
1795
1820
  makeRequestCompressionMiddleware,
@@ -1803,23 +1828,34 @@ export {
1803
1828
  normalizeHeadersInit,
1804
1829
  normalizeHttpError,
1805
1830
  normalizeHttpHeaders,
1831
+ normalizeRequest,
1806
1832
  normalizeRetryBudget,
1807
1833
  parseCacheKey,
1808
1834
  parseConfig,
1809
1835
  prewarmConnections,
1810
1836
  prewarmHttpConnections,
1811
1837
  promiseHttpTransport,
1838
+ releaseFailure,
1839
+ releaseSuccess,
1840
+ requestPriority,
1812
1841
  resolveConfig,
1813
1842
  resolveHttpPoolKey,
1814
1843
  resolveHttpRequestPolicyPresets,
1844
+ resolvePositiveTimeout,
1845
+ resolveRequestUrl,
1815
1846
  retryAfterMs,
1816
1847
  route,
1848
+ runDirectTransport,
1849
+ runPoolTransport,
1850
+ runTransportEffect,
1817
1851
  runtimeHealthRoute,
1818
1852
  runtimeReadinessRoute,
1819
1853
  s,
1820
1854
  schema,
1821
1855
  text,
1856
+ timeoutReason,
1822
1857
  toHttpError,
1858
+ validateBareMetalConfig,
1823
1859
  validateConfig,
1824
1860
  validateFetchAvailable,
1825
1861
  validateOrigin,
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkUOKXJQAIcjs = require('../chunk-UOKXJQAI.cjs');
5
+ var _chunkLA2PAO7Jcjs = require('../chunk-LA2PAO7J.cjs');
6
6
  require('../chunk-L6VB5N7Q.cjs');
7
7
  require('../chunk-CXWJII2N.cjs');
8
8
  require('../chunk-SA6HUJVI.cjs');
@@ -66,7 +66,7 @@ function makeMockHttpClient(handler = () => makeHttpResponse()) {
66
66
  return _chunkMVGUEJ5Zcjs.asyncFail.call(void 0, toHttpError(error));
67
67
  }
68
68
  };
69
- return Object.assign(_chunkUOKXJQAIcjs.decorate.call(void 0, run, () => ({ ...stats })), {
69
+ return Object.assign(_chunkLA2PAO7Jcjs.decorate.call(void 0, run, () => ({ ...stats })), {
70
70
  calls: () => [...calls],
71
71
  calledTimes: () => calls.length,
72
72
  lastRequest: () => calls.at(-1),
@@ -89,7 +89,7 @@ function makeSequenceHttpClient(responses, fallback = makeHttpResponse()) {
89
89
  }
90
90
  function makeMockDefaultHttpClient(handler = () => makeHttpResponse()) {
91
91
  const wire = makeMockHttpClient(handler);
92
- const client = _chunkUOKXJQAIcjs.makeDefaultHttpClient.call(void 0, {
92
+ const client = _chunkLA2PAO7Jcjs.makeDefaultHttpClient.call(void 0, {
93
93
  baseUrl: "http://brass.test",
94
94
  preset: "minimal",
95
95
  transport: ({ request }) => wire(request)
@@ -102,7 +102,7 @@ function makeMockDefaultHttpClient(handler = () => makeHttpResponse()) {
102
102
  });
103
103
  }
104
104
  function makeMockDefaultHttpClientLayer(handler = () => makeHttpResponse(), options = {}) {
105
- return _chunkZZ2CMYJLcjs.layerValue.call(void 0, _nullishCoalesce(options.tag, () => ( _chunkUOKXJQAIcjs.HttpClientService)), makeMockDefaultHttpClient(handler));
105
+ return _chunkZZ2CMYJLcjs.layerValue.call(void 0, _nullishCoalesce(options.tag, () => ( _chunkLA2PAO7Jcjs.HttpClientService)), makeMockDefaultHttpClient(handler));
106
106
  }
107
107
  function runHttpEffect(effect, env = {}) {
108
108
  return _chunkJKHBEWQAcjs.toPromise.call(void 0, effect, env);
@@ -1,6 +1,6 @@
1
1
  import { S as ServiceTag, L as Layer, a as LayerContext } from '../layer-CsNGeVee.js';
2
2
  import { A as Async } from '../effect-DbEMiMvv.js';
3
- import { D as DefaultHttpClient, H as HttpRequest, a as HttpClient, b as HttpWireResponse, c as HttpError } from '../defaultClient-hyVSNzSJ.js';
3
+ import { D as DefaultHttpClient, H as HttpRequest, a as HttpClient, b as HttpWireResponse, c as HttpError } from '../defaultClient-DLOa3gdw.js';
4
4
  import '../stream-B8c_UKZq.js';
5
5
  import '../schema/index.js';
6
6
 
@@ -2,7 +2,7 @@ import {
2
2
  HttpClientService,
3
3
  decorate,
4
4
  makeDefaultHttpClient
5
- } from "../chunk-HKLZJ5UK.js";
5
+ } from "../chunk-POH2WZBI.js";
6
6
  import "../chunk-TRM4JUZQ.js";
7
7
  import "../chunk-XO3TDAJE.js";
8
8
  import "../chunk-UCUBNWM2.js";
@@ -2,7 +2,7 @@ import {
2
2
  HttpClientService,
3
3
  decorate,
4
4
  makeDefaultHttpClient
5
- } from "../chunk-5X3MPWTR.mjs";
5
+ } from "../chunk-6NXQL3IC.mjs";
6
6
  import "../chunk-MOO4L7F4.mjs";
7
7
  import "../chunk-IWAQQDYE.mjs";
8
8
  import "../chunk-B5JD23U7.mjs";
@@ -17,7 +17,7 @@
17
17
 
18
18
 
19
19
 
20
- var _chunkTWEHIAUEcjs = require('../chunk-TWEHIAUE.cjs');
20
+ var _chunkBDTBIYAMcjs = require('../chunk-BDTBIYAM.cjs');
21
21
  require('../chunk-ENMKEX3N.cjs');
22
22
 
23
23
 
@@ -84,7 +84,7 @@ require('../chunk-ENMKEX3N.cjs');
84
84
 
85
85
  var _chunkZJC3JZIEcjs = require('../chunk-ZJC3JZIE.cjs');
86
86
  require('../chunk-VXNWVAIG.cjs');
87
- require('../chunk-UOKXJQAI.cjs');
87
+ require('../chunk-LA2PAO7J.cjs');
88
88
  require('../chunk-L6VB5N7Q.cjs');
89
89
  require('../chunk-CXWJII2N.cjs');
90
90
  require('../chunk-SA6HUJVI.cjs');
@@ -174,4 +174,4 @@ require('../chunk-OBGZSXTJ.cjs');
174
174
 
175
175
 
176
176
 
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;
177
+ exports.HTTP_OBSERVABILITY_CONTRACT = _chunkBDTBIYAMcjs.HTTP_OBSERVABILITY_CONTRACT; exports.OTLP_JSON_CONTENT_TYPE = _chunkZJC3JZIEcjs.OTLP_JSON_CONTENT_TYPE; exports.ObservabilityService = _chunkBDTBIYAMcjs.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 = _chunkBDTBIYAMcjs.makeExpressRequestObservabilityContext; exports.makeFastifyRequestObservabilityContext = _chunkBDTBIYAMcjs.makeFastifyRequestObservabilityContext; exports.makeFetchRequestObservabilityContext = _chunkBDTBIYAMcjs.makeFetchRequestObservabilityContext; exports.makeHttpObservabilityMiddleware = _chunkBDTBIYAMcjs.makeHttpObservabilityMiddleware; exports.makeNodeRequestObservabilityContext = _chunkBDTBIYAMcjs.makeNodeRequestObservabilityContext; exports.makeNoopObservability = _chunkBDTBIYAMcjs.makeNoopObservability; exports.makeObservability = _chunkZJC3JZIEcjs.makeObservability; exports.makeObservabilityFromEnv = _chunkBDTBIYAMcjs.makeObservabilityFromEnv; exports.makeObservabilityLayer = _chunkBDTBIYAMcjs.makeObservabilityLayer; exports.makeObservabilityPreset = _chunkBDTBIYAMcjs.makeObservabilityPreset; exports.makeObservabilityRedactor = _chunkZJC3JZIEcjs.makeObservabilityRedactor; exports.makeObservedHttpClientLayer = _chunkBDTBIYAMcjs.makeObservedHttpClientLayer; exports.makeObservedRuntimeLayer = _chunkBDTBIYAMcjs.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 = _chunkBDTBIYAMcjs.observabilityOptionsForPreset; exports.observabilityOptionsFromEnv = _chunkBDTBIYAMcjs.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 = _chunkBDTBIYAMcjs.withFetchRequestObservability; exports.withHttpObservability = _chunkBDTBIYAMcjs.withHttpObservability; exports.withLogContext = _chunkZJC3JZIEcjs.withLogContext; exports.withNodeRequestObservability = _chunkBDTBIYAMcjs.withNodeRequestObservability; exports.withSpan = _chunkZJC3JZIEcjs.withSpan; exports.withTimeout = _chunkZJC3JZIEcjs.withTimeout;
@@ -1,8 +1,8 @@
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';
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-BGXOabjo.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-BGXOabjo.js';
3
3
  import { R as RuntimeHooks, a as RuntimeOptions, b as Runtime } from '../effect-DbEMiMvv.js';
4
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';
5
+ import { H as HttpRequest, d as HttpMiddleware, e as DefaultHttpClientConfig, D as DefaultHttpClient } from '../defaultClient-DLOa3gdw.js';
6
6
  import { a as LayerContext, S as ServiceTag, L as Layer } from '../layer-CsNGeVee.js';
7
7
  import '../stream-B8c_UKZq.js';
8
8
  import '../schema/index.js';
@@ -17,7 +17,7 @@ import {
17
17
  withFetchRequestObservability,
18
18
  withHttpObservability,
19
19
  withNodeRequestObservability
20
- } from "../chunk-BHX4MD35.js";
20
+ } from "../chunk-VXZIP3IU.js";
21
21
  import "../chunk-NWONRWBT.js";
22
22
  import {
23
23
  OTLP_JSON_CONTENT_TYPE,
@@ -84,7 +84,7 @@ import {
84
84
  withTimeout
85
85
  } from "../chunk-TAPB4NN5.js";
86
86
  import "../chunk-LI7WUVJN.js";
87
- import "../chunk-HKLZJ5UK.js";
87
+ import "../chunk-POH2WZBI.js";
88
88
  import "../chunk-TRM4JUZQ.js";
89
89
  import "../chunk-XO3TDAJE.js";
90
90
  import "../chunk-UCUBNWM2.js";
@@ -17,7 +17,7 @@ import {
17
17
  withFetchRequestObservability,
18
18
  withHttpObservability,
19
19
  withNodeRequestObservability
20
- } from "../chunk-ZXXOXB3T.mjs";
20
+ } from "../chunk-OS4F5HZE.mjs";
21
21
  import "../chunk-ZXLETUGQ.mjs";
22
22
  import {
23
23
  OTLP_JSON_CONTENT_TYPE,
@@ -84,7 +84,7 @@ import {
84
84
  withTimeout
85
85
  } from "../chunk-SCHM2MDA.mjs";
86
86
  import "../chunk-WA65XP2P.mjs";
87
- import "../chunk-5X3MPWTR.mjs";
87
+ import "../chunk-6NXQL3IC.mjs";
88
88
  import "../chunk-MOO4L7F4.mjs";
89
89
  import "../chunk-IWAQQDYE.mjs";
90
90
  import "../chunk-B5JD23U7.mjs";
package/dist/perf/cli.cjs CHANGED
@@ -15,13 +15,13 @@
15
15
 
16
16
 
17
17
 
18
- var _chunkQAHW7S3Qcjs = require('../chunk-QAHW7S3Q.cjs');
18
+ var _chunk62IBGQOUcjs = require('../chunk-62IBGQOU.cjs');
19
19
  require('../chunk-JQCQWO47.cjs');
20
- require('../chunk-TWEHIAUE.cjs');
20
+ require('../chunk-BDTBIYAM.cjs');
21
21
  require('../chunk-ENMKEX3N.cjs');
22
22
  require('../chunk-ZJC3JZIE.cjs');
23
23
  require('../chunk-VXNWVAIG.cjs');
24
- require('../chunk-UOKXJQAI.cjs');
24
+ require('../chunk-LA2PAO7J.cjs');
25
25
  require('../chunk-L6VB5N7Q.cjs');
26
26
  require('../chunk-CXWJII2N.cjs');
27
27
  require('../chunk-SA6HUJVI.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 _chunkQAHW7S3Qcjs.profileRuntimeAb.call(void 0, cli.runtimeAb);
39
- await printReport(cli, report2, _chunkQAHW7S3Qcjs.formatRuntimeAbReport.call(void 0, report2));
38
+ const report2 = await _chunk62IBGQOUcjs.profileRuntimeAb.call(void 0, cli.runtimeAb);
39
+ await printReport(cli, report2, _chunk62IBGQOUcjs.formatRuntimeAbReport.call(void 0, report2));
40
40
  return;
41
41
  }
42
42
  if (cli.profile === "runtime-soak") {
43
- const report2 = await _chunkQAHW7S3Qcjs.profileRuntimeSoak.call(void 0, cli.runtimeSoak);
44
- await printReport(cli, report2, _chunkQAHW7S3Qcjs.formatRuntimeSoakReport.call(void 0, report2));
43
+ const report2 = await _chunk62IBGQOUcjs.profileRuntimeSoak.call(void 0, cli.runtimeSoak);
44
+ await printReport(cli, report2, _chunk62IBGQOUcjs.formatRuntimeSoakReport.call(void 0, report2));
45
45
  return;
46
46
  }
47
47
  if (cli.profile === "http-memory") {
48
- const report2 = await _chunkQAHW7S3Qcjs.profileHttpMemoryLab.call(void 0, cli.httpMemory);
49
- await printReport(cli, report2, _chunkQAHW7S3Qcjs.formatHttpMemoryLabReport.call(void 0, report2));
48
+ const report2 = await _chunk62IBGQOUcjs.profileHttpMemoryLab.call(void 0, cli.httpMemory);
49
+ await printReport(cli, report2, _chunk62IBGQOUcjs.formatHttpMemoryLabReport.call(void 0, report2));
50
50
  return;
51
51
  }
52
- const report = await _chunkQAHW7S3Qcjs.runBrassPerformanceProfile.call(void 0, cli.options);
53
- await printReport(cli, report, _chunkQAHW7S3Qcjs.formatPerformanceReport.call(void 0, report));
52
+ const report = await _chunk62IBGQOUcjs.runBrassPerformanceProfile.call(void 0, cli.options);
53
+ await printReport(cli, report, _chunk62IBGQOUcjs.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 = _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;
296
+ const entry = _chunk62IBGQOUcjs.createPerfHistoryEntry.call(void 0, cli.profile, report, storeOptions);
297
+ const historyPath = config.recordHistory ? await _chunk62IBGQOUcjs.writePerfHistoryEntry.call(void 0, entry, storeOptions) : void 0;
298
+ const savedBaseline = config.saveBaseline ? await _chunk62IBGQOUcjs.savePerfBaseline.call(void 0, config.saveBaseline, entry, storeOptions) : void 0;
299
+ const loadedBaseline = config.compareBaseline ? await _chunk62IBGQOUcjs.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 ? _chunkQAHW7S3Qcjs.comparePerfToBaseline.call(void 0, entry, loadedBaseline, config.thresholds) : void 0;
303
+ const comparison = loadedBaseline ? _chunk62IBGQOUcjs.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(_chunkQAHW7S3Qcjs.formatPerfBaselineComparison.call(void 0, history.comparison));
318
+ lines.push(_chunk62IBGQOUcjs.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(_chunkQAHW7S3Qcjs.HTTP_PROFILE_VARIANTS);
336
+ const allowed = new Set(_chunk62IBGQOUcjs.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,13 +15,13 @@ import {
15
15
  runBrassPerformanceProfile,
16
16
  savePerfBaseline,
17
17
  writePerfHistoryEntry
18
- } from "../chunk-6AGAZD32.js";
18
+ } from "../chunk-6LF3M4JC.js";
19
19
  import "../chunk-RZQK32C6.js";
20
- import "../chunk-BHX4MD35.js";
20
+ import "../chunk-VXZIP3IU.js";
21
21
  import "../chunk-NWONRWBT.js";
22
22
  import "../chunk-TAPB4NN5.js";
23
23
  import "../chunk-LI7WUVJN.js";
24
- import "../chunk-HKLZJ5UK.js";
24
+ import "../chunk-POH2WZBI.js";
25
25
  import "../chunk-TRM4JUZQ.js";
26
26
  import "../chunk-XO3TDAJE.js";
27
27
  import "../chunk-UCUBNWM2.js";
package/dist/perf/cli.mjs CHANGED
@@ -15,13 +15,13 @@ import {
15
15
  runBrassPerformanceProfile,
16
16
  savePerfBaseline,
17
17
  writePerfHistoryEntry
18
- } from "../chunk-IA6BDGXW.mjs";
18
+ } from "../chunk-D53GY2SZ.mjs";
19
19
  import "../chunk-S6KSHYAT.mjs";
20
- import "../chunk-ZXXOXB3T.mjs";
20
+ import "../chunk-OS4F5HZE.mjs";
21
21
  import "../chunk-ZXLETUGQ.mjs";
22
22
  import "../chunk-SCHM2MDA.mjs";
23
23
  import "../chunk-WA65XP2P.mjs";
24
- import "../chunk-5X3MPWTR.mjs";
24
+ import "../chunk-6NXQL3IC.mjs";
25
25
  import "../chunk-MOO4L7F4.mjs";
26
26
  import "../chunk-IWAQQDYE.mjs";
27
27
  import "../chunk-B5JD23U7.mjs";
@@ -30,13 +30,13 @@
30
30
 
31
31
 
32
32
 
33
- var _chunkQAHW7S3Qcjs = require('../chunk-QAHW7S3Q.cjs');
33
+ var _chunk62IBGQOUcjs = require('../chunk-62IBGQOU.cjs');
34
34
  require('../chunk-JQCQWO47.cjs');
35
- require('../chunk-TWEHIAUE.cjs');
35
+ require('../chunk-BDTBIYAM.cjs');
36
36
  require('../chunk-ENMKEX3N.cjs');
37
37
  require('../chunk-ZJC3JZIE.cjs');
38
38
  require('../chunk-VXNWVAIG.cjs');
39
- require('../chunk-UOKXJQAI.cjs');
39
+ require('../chunk-LA2PAO7J.cjs');
40
40
  require('../chunk-L6VB5N7Q.cjs');
41
41
  require('../chunk-CXWJII2N.cjs');
42
42
  require('../chunk-SA6HUJVI.cjs');
@@ -48,7 +48,7 @@ require('../chunk-OBGZSXTJ.cjs');
48
48
 
49
49
  // src/perf/budget.ts
50
50
  async function runRuntimePerfBudget(options = {}) {
51
- const ab = await _chunkQAHW7S3Qcjs.profileRuntimeAb.call(void 0, {
51
+ const ab = await _chunk62IBGQOUcjs.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 = _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;
139
+ exports.HTTP_PROFILE_VARIANTS = _chunk62IBGQOUcjs.HTTP_PROFILE_VARIANTS; exports.captureMemorySnapshot = _chunk62IBGQOUcjs.captureMemorySnapshot; exports.comparePerfToBaseline = _chunk62IBGQOUcjs.comparePerfToBaseline; exports.compareRuntimeProfiles = _chunk62IBGQOUcjs.compareRuntimeProfiles; exports.createPerfHistoryEntry = _chunk62IBGQOUcjs.createPerfHistoryEntry; exports.defaultPerfHistoryDirectory = _chunk62IBGQOUcjs.defaultPerfHistoryDirectory; exports.diagnoseRuntimeProfile = _chunk62IBGQOUcjs.diagnoseRuntimeProfile; exports.diffMemorySnapshots = _chunk62IBGQOUcjs.diffMemorySnapshots; exports.extractPerfMetrics = _chunk62IBGQOUcjs.extractPerfMetrics; exports.forceGc = _chunk62IBGQOUcjs.forceGc; exports.formatHttpMemoryLabReport = _chunk62IBGQOUcjs.formatHttpMemoryLabReport; exports.formatPerfBaselineComparison = _chunk62IBGQOUcjs.formatPerfBaselineComparison; exports.formatPerformanceReport = _chunk62IBGQOUcjs.formatPerformanceReport; exports.formatRuntimeAbReport = _chunk62IBGQOUcjs.formatRuntimeAbReport; exports.formatRuntimePerfBudgetReport = formatRuntimePerfBudgetReport; exports.formatRuntimeSoakReport = _chunk62IBGQOUcjs.formatRuntimeSoakReport; exports.hasGc = _chunk62IBGQOUcjs.hasGc; exports.loadPerfBaseline = _chunk62IBGQOUcjs.loadPerfBaseline; exports.makePerfRecorder = _chunk62IBGQOUcjs.makePerfRecorder; exports.profileHttpLayers = _chunk62IBGQOUcjs.profileHttpLayers; exports.profileHttpMemoryLab = _chunk62IBGQOUcjs.profileHttpMemoryLab; exports.profileMemoryRetention = _chunk62IBGQOUcjs.profileMemoryRetention; exports.profileRuntimeAb = _chunk62IBGQOUcjs.profileRuntimeAb; exports.profileRuntimePrimitives = _chunk62IBGQOUcjs.profileRuntimePrimitives; exports.profileRuntimeSoak = _chunk62IBGQOUcjs.profileRuntimeSoak; exports.readPerfHistory = _chunk62IBGQOUcjs.readPerfHistory; exports.recommendPerformance = _chunk62IBGQOUcjs.recommendPerformance; exports.recordPerfHistoryRun = _chunk62IBGQOUcjs.recordPerfHistoryRun; exports.runBrassPerformanceProfile = _chunk62IBGQOUcjs.runBrassPerformanceProfile; exports.runRuntimePerfBudget = runRuntimePerfBudget; exports.savePerfBaseline = _chunk62IBGQOUcjs.savePerfBaseline; exports.summarizePerfEvents = _chunk62IBGQOUcjs.summarizePerfEvents; exports.writePerfHistoryEntry = _chunk62IBGQOUcjs.writePerfHistoryEntry;
@@ -30,13 +30,13 @@ import {
30
30
  savePerfBaseline,
31
31
  summarizePerfEvents,
32
32
  writePerfHistoryEntry
33
- } from "../chunk-6AGAZD32.js";
33
+ } from "../chunk-6LF3M4JC.js";
34
34
  import "../chunk-RZQK32C6.js";
35
- import "../chunk-BHX4MD35.js";
35
+ import "../chunk-VXZIP3IU.js";
36
36
  import "../chunk-NWONRWBT.js";
37
37
  import "../chunk-TAPB4NN5.js";
38
38
  import "../chunk-LI7WUVJN.js";
39
- import "../chunk-HKLZJ5UK.js";
39
+ import "../chunk-POH2WZBI.js";
40
40
  import "../chunk-TRM4JUZQ.js";
41
41
  import "../chunk-XO3TDAJE.js";
42
42
  import "../chunk-UCUBNWM2.js";
@@ -30,13 +30,13 @@ import {
30
30
  savePerfBaseline,
31
31
  summarizePerfEvents,
32
32
  writePerfHistoryEntry
33
- } from "../chunk-IA6BDGXW.mjs";
33
+ } from "../chunk-D53GY2SZ.mjs";
34
34
  import "../chunk-S6KSHYAT.mjs";
35
- import "../chunk-ZXXOXB3T.mjs";
35
+ import "../chunk-OS4F5HZE.mjs";
36
36
  import "../chunk-ZXLETUGQ.mjs";
37
37
  import "../chunk-SCHM2MDA.mjs";
38
38
  import "../chunk-WA65XP2P.mjs";
39
- import "../chunk-5X3MPWTR.mjs";
39
+ import "../chunk-6NXQL3IC.mjs";
40
40
  import "../chunk-MOO4L7F4.mjs";
41
41
  import "../chunk-IWAQQDYE.mjs";
42
42
  import "../chunk-B5JD23U7.mjs";
@@ -1,7 +1,7 @@
1
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
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
3
  import { C as CircuitBreakerStats } from './layer-CsNGeVee.js';
4
- import { A as AdaptiveLimiterStats } from './defaultClient-hyVSNzSJ.js';
4
+ import { A as AdaptiveLimiterStats } from './defaultClient-DLOa3gdw.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brass-runtime",
3
- "version": "1.19.2",
3
+ "version": "1.20.0",
4
4
  "description": "Effect runtime utilities for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Augusto Vivaldelli",