autotel 7.7.0 → 7.8.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.
Files changed (112) hide show
  1. package/dist/analysis.cjs +0 -1
  2. package/dist/{attribute-redacting-processor-CvBE0z1p.d.ts → attribute-redacting-processor-rkV_WL-k.d.ts} +2 -2
  3. package/dist/attribute-redacting-processor.cjs +1 -1
  4. package/dist/attribute-redacting-processor.d.ts +1 -1
  5. package/dist/{attributes-De9Fx0b4.js → attributes-CuGx6cOI.js} +21 -11
  6. package/dist/{attributes-DkptT2Ck.cjs → attributes-Ii3jDPsW.cjs} +23 -13
  7. package/dist/attributes.cjs +1 -1
  8. package/dist/attributes.d.ts +1 -1
  9. package/dist/attributes.js +1 -1
  10. package/dist/auto.cjs +2 -2
  11. package/dist/auto.js +1 -1
  12. package/dist/business-baggage.cjs +1 -1
  13. package/dist/{canonical-log-line-processor-Bvgb1lE4.cjs → canonical-log-line-processor-BU03jJeA.cjs} +1 -1
  14. package/dist/{canonical-log-line-processor-Yq4cXcD5.d.ts → canonical-log-line-processor-Bwrt_L4c.d.ts} +1 -1
  15. package/dist/{correlated-events-9RRdfyWR.cjs → correlated-events-DE_4A3oD.cjs} +1 -1
  16. package/dist/correlation-id.cjs +1 -1
  17. package/dist/correlation-id.js +1 -1
  18. package/dist/db.cjs +2 -2
  19. package/dist/db.js +1 -1
  20. package/dist/decorators.cjs +2 -2
  21. package/dist/decorators.d.cts +1 -1
  22. package/dist/decorators.d.ts +1 -1
  23. package/dist/decorators.js +1 -1
  24. package/dist/diagnostics.cjs +3 -3
  25. package/dist/diagnostics.js +1 -1
  26. package/dist/drain-pipeline.cjs +0 -1
  27. package/dist/enrichers.cjs +0 -1
  28. package/dist/event-testing.cjs +0 -1
  29. package/dist/event.cjs +1 -1
  30. package/dist/event.js +1 -1
  31. package/dist/evidence.cjs +0 -1
  32. package/dist/exception-fingerprint.cjs +1 -1
  33. package/dist/{filtering-span-processor-BpDagWNa.d.ts → filtering-span-processor-vkewzbqB.d.ts} +2 -2
  34. package/dist/filtering-span-processor.cjs +0 -1
  35. package/dist/filtering-span-processor.d.ts +1 -1
  36. package/dist/{functional-Cnga_Lnv.js → functional-CC2BFGAO.js} +9 -8
  37. package/dist/{functional-C4mjgtJb.d.cts → functional-DPZTpGh6.d.cts} +2 -2
  38. package/dist/{functional-DN_ztd9C.d.ts → functional-SeRUabkE.d.ts} +2 -2
  39. package/dist/{functional-CJI0HCVJ.cjs → functional-u5Qwjray.cjs} +5 -4
  40. package/dist/functional.cjs +1 -1
  41. package/dist/functional.d.cts +1 -1
  42. package/dist/functional.d.ts +1 -1
  43. package/dist/functional.js +1 -1
  44. package/dist/http.cjs +2 -2
  45. package/dist/http.js +1 -1
  46. package/dist/{index-o_6YjZhV.d.ts → index-B9aRLp6c.d.ts} +1 -1
  47. package/dist/index.cjs +10 -10
  48. package/dist/index.d.cts +3 -3
  49. package/dist/index.d.ts +10 -10
  50. package/dist/index.js +3 -3
  51. package/dist/{init-BYXDCfRL.cjs → init-21HWbm7_.cjs} +194 -39
  52. package/dist/{init-Dyq6WtsO.js → init-8SISAGdE.js} +190 -35
  53. package/dist/{init-WwjD-kQu.d.cts → init-COfMwKbc.d.cts} +38 -10
  54. package/dist/{init-CKSMbJUG.d.ts → init-CnoRlJqS.d.ts} +43 -15
  55. package/dist/instrumentation.cjs +9 -8
  56. package/dist/instrumentation.js +8 -7
  57. package/dist/{logger-CSdZkxbh.cjs → logger-DLjHQAus.cjs} +1 -1
  58. package/dist/logger.cjs +1 -1
  59. package/dist/messaging-adapters.cjs +1 -1
  60. package/dist/messaging-testing.cjs +0 -1
  61. package/dist/messaging.cjs +8 -7
  62. package/dist/messaging.js +5 -4
  63. package/dist/metric-testing.cjs +0 -1
  64. package/dist/{node-require-B_IVapV3.cjs → node-require-BPsB09eC.cjs} +2 -2
  65. package/dist/parse-error.cjs +1 -1
  66. package/dist/{policy-C4QcZnqv.d.ts → policy-DNw_0qUq.d.ts} +1 -1
  67. package/dist/policy.cjs +0 -0
  68. package/dist/policy.d.ts +1 -1
  69. package/dist/processors.cjs +1 -1
  70. package/dist/processors.d.ts +1 -1
  71. package/dist/register.cjs +1 -1
  72. package/dist/{registry-DIoklBz5.cjs → registry-B3ZJmUtU.cjs} +0 -1
  73. package/dist/{rolldown-runtime-C_NdSu1c.cjs → rolldown-runtime-C24Yb2bl.cjs} +1 -2
  74. package/dist/{sampling-DBng4Foa.d.ts → sampling-CZi7OM9u.d.ts} +13 -13
  75. package/dist/{sampling-Er217Mge.d.cts → sampling-DENUjT_8.d.cts} +13 -13
  76. package/dist/sampling.cjs +1 -1
  77. package/dist/sampling.d.cts +1 -1
  78. package/dist/sampling.d.ts +1 -1
  79. package/dist/sampling.js +1 -1
  80. package/dist/security-schema.cjs +0 -1
  81. package/dist/semantic-conventions.cjs +1 -1
  82. package/dist/semantic-helpers.cjs +3 -3
  83. package/dist/semantic-helpers.js +1 -1
  84. package/dist/{span-name-normalizer-CN1-8C76.d.ts → span-name-normalizer-DHcg1bSP.d.ts} +2 -2
  85. package/dist/span-name-normalizer.cjs +0 -1
  86. package/dist/span-name-normalizer.d.ts +1 -1
  87. package/dist/{stable-hash-C9F6xjzx.cjs → stable-hash-sLi1o4jj.cjs} +2 -2
  88. package/dist/{structured-error-BAXhglRE.cjs → structured-error-DynjWTTu.cjs} +1 -1
  89. package/dist/tail-sampling-processor.cjs +1 -1
  90. package/dist/tail-sampling-processor.d.ts +2 -2
  91. package/dist/tail-sampling-processor.js +1 -1
  92. package/dist/test-span-collector.cjs +1 -1
  93. package/dist/testing.cjs +16 -2
  94. package/dist/testing.d.ts +1 -1
  95. package/dist/testing.js +15 -1
  96. package/dist/{trace-factory-validation-Dc8epn87.cjs → trace-factory-validation-CHU1WcjK.cjs} +0 -1
  97. package/dist/trace-helpers.cjs +2 -2
  98. package/dist/tracer-provider.cjs +1 -1
  99. package/dist/validate.cjs +3 -3
  100. package/dist/validation-attributes.cjs +0 -1
  101. package/dist/{values-tm4bi0FF.cjs → values-AxGpgYBA.cjs} +0 -1
  102. package/dist/webhook.cjs +16 -13
  103. package/dist/webhook.js +14 -11
  104. package/dist/workflow-distributed.cjs +4 -6
  105. package/dist/workflow-distributed.js +2 -4
  106. package/dist/workflow.cjs +7 -6
  107. package/dist/workflow.js +3 -2
  108. package/dist/yaml-config.cjs +1 -1
  109. package/dist/yaml-config.d.cts +2 -2
  110. package/dist/yaml-config.d.ts +2 -2
  111. package/dist/yaml-config.js +1 -1
  112. package/package.json +420 -159
package/dist/policy.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { _ as watchPolicyFile, a as PolicyLogRecordProcessor, c as PolicyMatcher, d as getPolicies, f as hasLogPolicies, g as unsupportedReason, h as setPolicies, i as PolicyField, l as PolicyTraceTarget, m as policySpanFilter, n as MAX_MATCH_LENGTH, o as PolicyLogTarget, p as loadPolicies, r as Policy, s as PolicyLogTransform, t as AttributePath, u as clearPolicies } from "./policy-C4QcZnqv.js";
1
+ import { _ as watchPolicyFile, a as PolicyLogRecordProcessor, c as PolicyMatcher, d as getPolicies, f as hasLogPolicies, g as unsupportedReason, h as setPolicies, i as PolicyField, l as PolicyTraceTarget, m as policySpanFilter, n as MAX_MATCH_LENGTH, o as PolicyLogTarget, p as loadPolicies, r as Policy, s as PolicyLogTransform, t as AttributePath, u as clearPolicies } from "./policy-DNw_0qUq.js";
2
2
  export { AttributePath, MAX_MATCH_LENGTH, Policy, PolicyField, PolicyLogRecordProcessor, PolicyLogTarget, PolicyLogTransform, PolicyMatcher, PolicyTraceTarget, clearPolicies, getPolicies, hasLogPolicies, loadPolicies, policySpanFilter, setPolicies, unsupportedReason, watchPolicyFile };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_canonical_log_line_processor = require('./canonical-log-line-processor-Bvgb1lE4.cjs');
2
+ const require_canonical_log_line_processor = require('./canonical-log-line-processor-BU03jJeA.cjs');
3
3
  let _opentelemetry_sdk_trace_base = require("@opentelemetry/sdk-trace-base");
4
4
 
5
5
  Object.defineProperty(exports, 'BatchSpanProcessor', {
@@ -1,3 +1,3 @@
1
- import { n as CanonicalLogLineProcessor, t as CanonicalLogLineOptions } from "./canonical-log-line-processor-Yq4cXcD5.js";
1
+ import { n as CanonicalLogLineProcessor, t as CanonicalLogLineOptions } from "./canonical-log-line-processor-Bwrt_L4c.js";
2
2
  import { BatchSpanProcessor, SimpleSpanProcessor } from "@opentelemetry/sdk-trace-base";
3
3
  export { BatchSpanProcessor, type CanonicalLogLineOptions, CanonicalLogLineProcessor, SimpleSpanProcessor };
package/dist/register.cjs CHANGED
@@ -1,4 +1,4 @@
1
- const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
1
+ const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
2
2
  let node_module = require("node:module");
3
3
  node_module = require_rolldown_runtime.__toESM(node_module, 1);
4
4
 
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/attributes/registry.ts
3
2
  /**
4
3
  * OpenTelemetry attribute registry
@@ -19,13 +19,12 @@ var __copyProps = (to, from, except, desc) => {
19
19
  }
20
20
  return to;
21
21
  };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
22
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
23
23
  value: mod,
24
24
  enumerable: true
25
25
  }) : target, mod));
26
26
 
27
27
  //#endregion
28
-
29
28
  Object.defineProperty(exports, '__toESM', {
30
29
  enumerable: true,
31
30
  get: function () {
@@ -50,7 +50,7 @@ declare function hashUnitInterval(value: string): number;
50
50
  /**
51
51
  * Sampler interface - return true to trace, false to skip
52
52
  */
53
- interface Sampler {
53
+ interface Sampler$1 {
54
54
  /**
55
55
  * Decide whether to trace this operation
56
56
  *
@@ -117,7 +117,7 @@ interface OperationResult {
117
117
  * new RandomSampler(0.1) // Sample 10% of requests
118
118
  * ```
119
119
  */
120
- declare class RandomSampler implements Sampler {
120
+ declare class RandomSampler implements Sampler$1 {
121
121
  private readonly rate;
122
122
  constructor(rate: number);
123
123
  shouldSample(_context: SamplingContext): boolean;
@@ -126,13 +126,13 @@ declare class RandomSampler implements Sampler {
126
126
  /**
127
127
  * Always sample (100% tracing)
128
128
  */
129
- declare class AlwaysSampler implements Sampler {
129
+ declare class AlwaysSampler implements Sampler$1 {
130
130
  shouldSample(_context: SamplingContext): boolean;
131
131
  }
132
132
  /**
133
133
  * Never sample (0% tracing)
134
134
  */
135
- declare class NeverSampler implements Sampler {
135
+ declare class NeverSampler implements Sampler$1 {
136
136
  shouldSample(_context: SamplingContext): boolean;
137
137
  }
138
138
  /**
@@ -168,7 +168,7 @@ declare class NeverSampler implements Sampler {
168
168
  * })
169
169
  * ```
170
170
  */
171
- declare class AdaptiveSampler implements Sampler {
171
+ declare class AdaptiveSampler implements Sampler$1 {
172
172
  private baselineSampleRate;
173
173
  private slowThresholdMs;
174
174
  private alwaysSampleErrors;
@@ -228,7 +228,7 @@ declare class AdaptiveSampler implements Sampler {
228
228
  * })
229
229
  * ```
230
230
  */
231
- declare class UserIdSampler implements Sampler {
231
+ declare class UserIdSampler implements Sampler$1 {
232
232
  private baselineSampleRate;
233
233
  private alwaysSampleUsers;
234
234
  private extractUserId;
@@ -269,7 +269,7 @@ declare class UserIdSampler implements Sampler {
269
269
  * })
270
270
  * ```
271
271
  */
272
- declare class DeterministicSampler implements Sampler {
272
+ declare class DeterministicSampler implements Sampler$1 {
273
273
  private readonly rate;
274
274
  private readonly key;
275
275
  constructor(options: {
@@ -302,7 +302,7 @@ declare class DeterministicSampler implements Sampler {
302
302
  * })
303
303
  * ```
304
304
  */
305
- declare class KeyTargetRateSampler implements Sampler {
305
+ declare class KeyTargetRateSampler implements Sampler$1 {
306
306
  private readonly key;
307
307
  private readonly targetPerKey;
308
308
  private readonly windowMs;
@@ -345,9 +345,9 @@ declare class KeyTargetRateSampler implements Sampler {
345
345
  * ])
346
346
  * ```
347
347
  */
348
- declare class CompositeSampler implements Sampler {
348
+ declare class CompositeSampler implements Sampler$1 {
349
349
  private readonly samplers;
350
- constructor(samplers: Sampler[]);
350
+ constructor(samplers: Sampler$1[]);
351
351
  shouldSample(context: SamplingContext): boolean;
352
352
  }
353
353
  /**
@@ -365,7 +365,7 @@ declare class CompositeSampler implements Sampler {
365
365
  * })
366
366
  * ```
367
367
  */
368
- declare class FeatureFlagSampler implements Sampler {
368
+ declare class FeatureFlagSampler implements Sampler$1 {
369
369
  private baselineSampleRate;
370
370
  private alwaysSampleFlags;
371
371
  private extractFlags;
@@ -428,7 +428,7 @@ declare const samplingPresets: {
428
428
  *
429
429
  * @throws Error if preset is not recognized
430
430
  */
431
- declare function resolveSamplingPreset(preset: SamplingPreset): Sampler;
431
+ declare function resolveSamplingPreset(preset: SamplingPreset): Sampler$1;
432
432
  /**
433
433
  * Create a Link from W3C trace context headers (e.g., from a message queue).
434
434
  *
@@ -482,4 +482,4 @@ declare function extractLinksFromBatch(messages: UnknownRecord[], headersKey?: s
482
482
  /** True when the request in flight asked for full-fidelity capture. */
483
483
  declare function debugCaptureRequested(): boolean;
484
484
  //#endregion
485
- export { markForceKept as C, isForceKept as S, samplingPresets as T, UserIdSampler as _, AdaptiveSampler as a, extractLinksFromBatch as b, DeterministicSampler as c, NeverSampler as d, OperationResult as f, SamplingPreset as g, SamplingContext as h, AUTOTEL_SAMPLING_TAIL_KEEP as i, FeatureFlagSampler as l, Sampler as m, AUTOTEL_SAMPLING_RATE as n, AlwaysSampler as o, RandomSampler as p, AUTOTEL_SAMPLING_TAIL_EVALUATED as r, CompositeSampler as s, AUTOTEL_DEBUG_BAGGAGE_KEY as t, KeyTargetRateSampler as u, createLinkFromHeaders as v, resolveSamplingPreset as w, hashUnitInterval as x, debugCaptureRequested as y };
485
+ export { markForceKept as C, isForceKept as S, samplingPresets as T, UserIdSampler as _, AdaptiveSampler as a, extractLinksFromBatch as b, DeterministicSampler as c, NeverSampler as d, OperationResult as f, SamplingPreset as g, SamplingContext as h, AUTOTEL_SAMPLING_TAIL_KEEP as i, FeatureFlagSampler as l, Sampler$1 as m, AUTOTEL_SAMPLING_RATE as n, AlwaysSampler as o, RandomSampler as p, AUTOTEL_SAMPLING_TAIL_EVALUATED as r, CompositeSampler as s, AUTOTEL_DEBUG_BAGGAGE_KEY as t, KeyTargetRateSampler as u, createLinkFromHeaders as v, resolveSamplingPreset as w, hashUnitInterval as x, debugCaptureRequested as y };
@@ -50,7 +50,7 @@ declare function hashUnitInterval(value: string): number;
50
50
  /**
51
51
  * Sampler interface - return true to trace, false to skip
52
52
  */
53
- interface Sampler {
53
+ interface Sampler$1 {
54
54
  /**
55
55
  * Decide whether to trace this operation
56
56
  *
@@ -117,7 +117,7 @@ interface OperationResult {
117
117
  * new RandomSampler(0.1) // Sample 10% of requests
118
118
  * ```
119
119
  */
120
- declare class RandomSampler implements Sampler {
120
+ declare class RandomSampler implements Sampler$1 {
121
121
  private readonly rate;
122
122
  constructor(rate: number);
123
123
  shouldSample(_context: SamplingContext): boolean;
@@ -126,13 +126,13 @@ declare class RandomSampler implements Sampler {
126
126
  /**
127
127
  * Always sample (100% tracing)
128
128
  */
129
- declare class AlwaysSampler implements Sampler {
129
+ declare class AlwaysSampler implements Sampler$1 {
130
130
  shouldSample(_context: SamplingContext): boolean;
131
131
  }
132
132
  /**
133
133
  * Never sample (0% tracing)
134
134
  */
135
- declare class NeverSampler implements Sampler {
135
+ declare class NeverSampler implements Sampler$1 {
136
136
  shouldSample(_context: SamplingContext): boolean;
137
137
  }
138
138
  /**
@@ -168,7 +168,7 @@ declare class NeverSampler implements Sampler {
168
168
  * })
169
169
  * ```
170
170
  */
171
- declare class AdaptiveSampler implements Sampler {
171
+ declare class AdaptiveSampler implements Sampler$1 {
172
172
  private baselineSampleRate;
173
173
  private slowThresholdMs;
174
174
  private alwaysSampleErrors;
@@ -228,7 +228,7 @@ declare class AdaptiveSampler implements Sampler {
228
228
  * })
229
229
  * ```
230
230
  */
231
- declare class UserIdSampler implements Sampler {
231
+ declare class UserIdSampler implements Sampler$1 {
232
232
  private baselineSampleRate;
233
233
  private alwaysSampleUsers;
234
234
  private extractUserId;
@@ -269,7 +269,7 @@ declare class UserIdSampler implements Sampler {
269
269
  * })
270
270
  * ```
271
271
  */
272
- declare class DeterministicSampler implements Sampler {
272
+ declare class DeterministicSampler implements Sampler$1 {
273
273
  private readonly rate;
274
274
  private readonly key;
275
275
  constructor(options: {
@@ -302,7 +302,7 @@ declare class DeterministicSampler implements Sampler {
302
302
  * })
303
303
  * ```
304
304
  */
305
- declare class KeyTargetRateSampler implements Sampler {
305
+ declare class KeyTargetRateSampler implements Sampler$1 {
306
306
  private readonly key;
307
307
  private readonly targetPerKey;
308
308
  private readonly windowMs;
@@ -345,9 +345,9 @@ declare class KeyTargetRateSampler implements Sampler {
345
345
  * ])
346
346
  * ```
347
347
  */
348
- declare class CompositeSampler implements Sampler {
348
+ declare class CompositeSampler implements Sampler$1 {
349
349
  private readonly samplers;
350
- constructor(samplers: Sampler[]);
350
+ constructor(samplers: Sampler$1[]);
351
351
  shouldSample(context: SamplingContext): boolean;
352
352
  }
353
353
  /**
@@ -365,7 +365,7 @@ declare class CompositeSampler implements Sampler {
365
365
  * })
366
366
  * ```
367
367
  */
368
- declare class FeatureFlagSampler implements Sampler {
368
+ declare class FeatureFlagSampler implements Sampler$1 {
369
369
  private baselineSampleRate;
370
370
  private alwaysSampleFlags;
371
371
  private extractFlags;
@@ -428,7 +428,7 @@ declare const samplingPresets: {
428
428
  *
429
429
  * @throws Error if preset is not recognized
430
430
  */
431
- declare function resolveSamplingPreset(preset: SamplingPreset): Sampler;
431
+ declare function resolveSamplingPreset(preset: SamplingPreset): Sampler$1;
432
432
  /**
433
433
  * Create a Link from W3C trace context headers (e.g., from a message queue).
434
434
  *
@@ -482,4 +482,4 @@ declare function extractLinksFromBatch(messages: UnknownRecord[], headersKey?: s
482
482
  /** True when the request in flight asked for full-fidelity capture. */
483
483
  declare function debugCaptureRequested(): boolean;
484
484
  //#endregion
485
- export { markForceKept as C, isForceKept as S, samplingPresets as T, UserIdSampler as _, AdaptiveSampler as a, extractLinksFromBatch as b, DeterministicSampler as c, NeverSampler as d, OperationResult as f, SamplingPreset as g, SamplingContext as h, AUTOTEL_SAMPLING_TAIL_KEEP as i, FeatureFlagSampler as l, Sampler as m, AUTOTEL_SAMPLING_RATE as n, AlwaysSampler as o, RandomSampler as p, AUTOTEL_SAMPLING_TAIL_EVALUATED as r, CompositeSampler as s, AUTOTEL_DEBUG_BAGGAGE_KEY as t, KeyTargetRateSampler as u, createLinkFromHeaders as v, resolveSamplingPreset as w, hashUnitInterval as x, debugCaptureRequested as y };
485
+ export { markForceKept as C, isForceKept as S, samplingPresets as T, UserIdSampler as _, AdaptiveSampler as a, extractLinksFromBatch as b, DeterministicSampler as c, NeverSampler as d, OperationResult as f, SamplingPreset as g, SamplingContext as h, AUTOTEL_SAMPLING_TAIL_KEEP as i, FeatureFlagSampler as l, Sampler$1 as m, AUTOTEL_SAMPLING_RATE as n, AlwaysSampler as o, RandomSampler as p, AUTOTEL_SAMPLING_TAIL_EVALUATED as r, CompositeSampler as s, AUTOTEL_DEBUG_BAGGAGE_KEY as t, KeyTargetRateSampler as u, createLinkFromHeaders as v, resolveSamplingPreset as w, hashUnitInterval as x, debugCaptureRequested as y };
package/dist/sampling.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_init = require('./init-BYXDCfRL.cjs');
2
+ const require_init = require('./init-21HWbm7_.cjs');
3
3
 
4
4
  exports.AUTOTEL_DEBUG_BAGGAGE_KEY = require_init.AUTOTEL_DEBUG_BAGGAGE_KEY;
5
5
  exports.AUTOTEL_SAMPLING_RATE = require_init.AUTOTEL_SAMPLING_RATE;
@@ -1,2 +1,2 @@
1
- import { C as markForceKept, S as isForceKept, T as samplingPresets, _ as UserIdSampler, a as AdaptiveSampler, b as extractLinksFromBatch, c as DeterministicSampler, d as NeverSampler, f as OperationResult, g as SamplingPreset, h as SamplingContext, i as AUTOTEL_SAMPLING_TAIL_KEEP, l as FeatureFlagSampler, m as Sampler, n as AUTOTEL_SAMPLING_RATE, o as AlwaysSampler, p as RandomSampler, r as AUTOTEL_SAMPLING_TAIL_EVALUATED, s as CompositeSampler, t as AUTOTEL_DEBUG_BAGGAGE_KEY, u as KeyTargetRateSampler, v as createLinkFromHeaders, w as resolveSamplingPreset, x as hashUnitInterval, y as debugCaptureRequested } from "./sampling-Er217Mge.cjs";
1
+ import { C as markForceKept, S as isForceKept, T as samplingPresets, _ as UserIdSampler, a as AdaptiveSampler, b as extractLinksFromBatch, c as DeterministicSampler, d as NeverSampler, f as OperationResult, g as SamplingPreset, h as SamplingContext, i as AUTOTEL_SAMPLING_TAIL_KEEP, l as FeatureFlagSampler, m as Sampler, n as AUTOTEL_SAMPLING_RATE, o as AlwaysSampler, p as RandomSampler, r as AUTOTEL_SAMPLING_TAIL_EVALUATED, s as CompositeSampler, t as AUTOTEL_DEBUG_BAGGAGE_KEY, u as KeyTargetRateSampler, v as createLinkFromHeaders, w as resolveSamplingPreset, x as hashUnitInterval, y as debugCaptureRequested } from "./sampling-DENUjT_8.cjs";
2
2
  export { AUTOTEL_DEBUG_BAGGAGE_KEY, AUTOTEL_SAMPLING_RATE, AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, CompositeSampler, DeterministicSampler, FeatureFlagSampler, KeyTargetRateSampler, NeverSampler, OperationResult, RandomSampler, Sampler, SamplingContext, SamplingPreset, UserIdSampler, createLinkFromHeaders, debugCaptureRequested, extractLinksFromBatch, hashUnitInterval, isForceKept, markForceKept, resolveSamplingPreset, samplingPresets };
@@ -1,2 +1,2 @@
1
- import { C as markForceKept, S as isForceKept, T as samplingPresets, _ as UserIdSampler, a as AdaptiveSampler, b as extractLinksFromBatch, c as DeterministicSampler, d as NeverSampler, f as OperationResult, g as SamplingPreset, h as SamplingContext, i as AUTOTEL_SAMPLING_TAIL_KEEP, l as FeatureFlagSampler, m as Sampler, n as AUTOTEL_SAMPLING_RATE, o as AlwaysSampler, p as RandomSampler, r as AUTOTEL_SAMPLING_TAIL_EVALUATED, s as CompositeSampler, t as AUTOTEL_DEBUG_BAGGAGE_KEY, u as KeyTargetRateSampler, v as createLinkFromHeaders, w as resolveSamplingPreset, x as hashUnitInterval, y as debugCaptureRequested } from "./sampling-DBng4Foa.js";
1
+ import { C as markForceKept, S as isForceKept, T as samplingPresets, _ as UserIdSampler, a as AdaptiveSampler, b as extractLinksFromBatch, c as DeterministicSampler, d as NeverSampler, f as OperationResult, g as SamplingPreset, h as SamplingContext, i as AUTOTEL_SAMPLING_TAIL_KEEP, l as FeatureFlagSampler, m as Sampler, n as AUTOTEL_SAMPLING_RATE, o as AlwaysSampler, p as RandomSampler, r as AUTOTEL_SAMPLING_TAIL_EVALUATED, s as CompositeSampler, t as AUTOTEL_DEBUG_BAGGAGE_KEY, u as KeyTargetRateSampler, v as createLinkFromHeaders, w as resolveSamplingPreset, x as hashUnitInterval, y as debugCaptureRequested } from "./sampling-CZi7OM9u.js";
2
2
  export { AUTOTEL_DEBUG_BAGGAGE_KEY, AUTOTEL_SAMPLING_RATE, AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, CompositeSampler, DeterministicSampler, FeatureFlagSampler, KeyTargetRateSampler, NeverSampler, OperationResult, RandomSampler, Sampler, SamplingContext, SamplingPreset, UserIdSampler, createLinkFromHeaders, debugCaptureRequested, extractLinksFromBatch, hashUnitInterval, isForceKept, markForceKept, resolveSamplingPreset, samplingPresets };
package/dist/sampling.js CHANGED
@@ -1,3 +1,3 @@
1
- import { A as FeatureFlagSampler, B as markForceKept, C as AUTOTEL_SAMPLING_RATE, D as AlwaysSampler, E as AdaptiveSampler, F as createLinkFromHeaders, H as samplingPresets, I as debugCaptureRequested, L as extractLinksFromBatch, M as NeverSampler, N as RandomSampler, O as CompositeSampler, P as UserIdSampler, R as hashUnitInterval, S as AUTOTEL_DEBUG_BAGGAGE_KEY, T as AUTOTEL_SAMPLING_TAIL_KEEP, V as resolveSamplingPreset, j as KeyTargetRateSampler, k as DeterministicSampler, w as AUTOTEL_SAMPLING_TAIL_EVALUATED, z as isForceKept } from "./init-Dyq6WtsO.js";
1
+ import { A as FeatureFlagSampler, B as markForceKept, C as AUTOTEL_SAMPLING_RATE, D as AlwaysSampler, E as AdaptiveSampler, F as createLinkFromHeaders, H as samplingPresets, I as debugCaptureRequested, L as extractLinksFromBatch, M as NeverSampler, N as RandomSampler, O as CompositeSampler, P as UserIdSampler, R as hashUnitInterval, S as AUTOTEL_DEBUG_BAGGAGE_KEY, T as AUTOTEL_SAMPLING_TAIL_KEEP, V as resolveSamplingPreset, j as KeyTargetRateSampler, k as DeterministicSampler, w as AUTOTEL_SAMPLING_TAIL_EVALUATED, z as isForceKept } from "./init-8SISAGdE.js";
2
2
 
3
3
  export { AUTOTEL_DEBUG_BAGGAGE_KEY, AUTOTEL_SAMPLING_RATE, AUTOTEL_SAMPLING_TAIL_EVALUATED, AUTOTEL_SAMPLING_TAIL_KEEP, AdaptiveSampler, AlwaysSampler, CompositeSampler, DeterministicSampler, FeatureFlagSampler, KeyTargetRateSampler, NeverSampler, RandomSampler, UserIdSampler, createLinkFromHeaders, debugCaptureRequested, extractLinksFromBatch, hashUnitInterval, isForceKept, markForceKept, resolveSamplingPreset, samplingPresets };
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
2
  //#region src/security-schema.ts
4
3
  /** All severities, lowest first. */
5
4
  const SECURITY_SEVERITIES = [
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_registry = require('./registry-DIoklBz5.cjs');
2
+ const require_registry = require('./registry-B3ZJmUtU.cjs');
3
3
 
4
4
  //#region src/semantic-conventions.ts
5
5
  function httpRequestHeaderAttribute(name) {
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_values = require('./values-tm4bi0FF.cjs');
3
- const require_functional = require('./functional-CJI0HCVJ.cjs');
4
- const require_trace_factory_validation = require('./trace-factory-validation-Dc8epn87.cjs');
2
+ const require_values = require('./values-AxGpgYBA.cjs');
3
+ const require_functional = require('./functional-u5Qwjray.cjs');
4
+ const require_trace_factory_validation = require('./trace-factory-validation-CHU1WcjK.cjs');
5
5
  let _opentelemetry_api = require("@opentelemetry/api");
6
6
 
7
7
  //#region src/semantic-helpers.ts
@@ -1,5 +1,5 @@
1
1
  import { b as toAttributeValue, g as nonEmptyString, s as asRecord } from "./values-xBtdXtjA.js";
2
- import { l as withTracing } from "./functional-Cnga_Lnv.js";
2
+ import { l as withTracing } from "./functional-CC2BFGAO.js";
3
3
  import { t as assertTraceFactory } from "./trace-factory-validation-BjVAinz6.js";
4
4
  import { SpanKind } from "@opentelemetry/api";
5
5
 
@@ -1,5 +1,5 @@
1
- import { ReadableSpan, Span, SpanProcessor } from "@opentelemetry/sdk-trace-base";
2
1
  import { Context } from "@opentelemetry/api";
2
+ import { ReadableSpan, Span as Span$1, SpanProcessor } from "@opentelemetry/sdk-trace-base";
3
3
  //#region src/span-name-normalizer.d.ts
4
4
  /**
5
5
  * Function to normalize a span name
@@ -56,7 +56,7 @@ declare class SpanNameNormalizingProcessor implements SpanProcessor {
56
56
  /**
57
57
  * Normalize span name on start (when Span is mutable)
58
58
  */
59
- onStart(span: Span, parentContext: Context): void;
59
+ onStart(span: Span$1, parentContext: Context): void;
60
60
  /**
61
61
  * Pass through onEnd unchanged
62
62
  */
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
2
  //#region src/span-name-normalizer.ts
4
3
  /**
5
4
  * Built-in normalizer patterns
@@ -1,2 +1,2 @@
1
- import { a as SpanNameNormalizerPreset, i as SpanNameNormalizerFn, n as NORMALIZER_PRESETS, o as SpanNameNormalizingProcessor, r as SpanNameNormalizerConfig, s as SpanNameNormalizingProcessorOptions, t as NORMALIZER_PATTERNS } from "./span-name-normalizer-CN1-8C76.js";
1
+ import { a as SpanNameNormalizerPreset, i as SpanNameNormalizerFn, n as NORMALIZER_PRESETS, o as SpanNameNormalizingProcessor, r as SpanNameNormalizerConfig, s as SpanNameNormalizingProcessorOptions, t as NORMALIZER_PATTERNS } from "./span-name-normalizer-DHcg1bSP.js";
2
2
  export { NORMALIZER_PATTERNS, NORMALIZER_PRESETS, SpanNameNormalizerConfig, SpanNameNormalizerFn, SpanNameNormalizerPreset, SpanNameNormalizingProcessor, SpanNameNormalizingProcessorOptions };
@@ -1,5 +1,5 @@
1
- const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
2
- const require_values = require('./values-tm4bi0FF.cjs');
1
+ const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
2
+ const require_values = require('./values-AxGpgYBA.cjs');
3
3
  let node_crypto = require("node:crypto");
4
4
  node_crypto = require_rolldown_runtime.__toESM(node_crypto, 1);
5
5
 
@@ -1,4 +1,4 @@
1
- const require_values = require('./values-tm4bi0FF.cjs');
1
+ const require_values = require('./values-AxGpgYBA.cjs');
2
2
  let _opentelemetry_api = require("@opentelemetry/api");
3
3
 
4
4
  //#region src/flatten-attributes.ts
@@ -1,4 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_init = require('./init-BYXDCfRL.cjs');
2
+ const require_init = require('./init-21HWbm7_.cjs');
3
3
 
4
4
  exports.TailSamplingSpanProcessor = require_init.TailSamplingSpanProcessor;
@@ -1,10 +1,10 @@
1
- import { ReadableSpan, Span, SpanProcessor } from "@opentelemetry/sdk-trace-base";
2
1
  import { Context } from "@opentelemetry/api";
2
+ import { ReadableSpan, Span as Span$1, SpanProcessor } from "@opentelemetry/sdk-trace-base";
3
3
  //#region src/tail-sampling-processor.d.ts
4
4
  declare class TailSamplingSpanProcessor implements SpanProcessor {
5
5
  private wrappedProcessor;
6
6
  constructor(wrappedProcessor: SpanProcessor);
7
- onStart(span: Span, parentContext: Context): void;
7
+ onStart(span: Span$1, parentContext: Context): void;
8
8
  onEnd(span: ReadableSpan): void;
9
9
  forceFlush(): Promise<void>;
10
10
  shutdown(): Promise<void>;
@@ -1,3 +1,3 @@
1
- import { x as TailSamplingSpanProcessor } from "./init-Dyq6WtsO.js";
1
+ import { x as TailSamplingSpanProcessor } from "./init-8SISAGdE.js";
2
2
 
3
3
  export { TailSamplingSpanProcessor };
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_values = require('./values-tm4bi0FF.cjs');
2
+ const require_values = require('./values-AxGpgYBA.cjs');
3
3
  let _opentelemetry_api = require("@opentelemetry/api");
4
4
 
5
5
  //#region src/test-span-collector.ts
package/dist/testing.cjs CHANGED
@@ -1,10 +1,11 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_rolldown_runtime = require('./rolldown-runtime-C_NdSu1c.cjs');
3
- const require_values = require('./values-tm4bi0FF.cjs');
2
+ const require_rolldown_runtime = require('./rolldown-runtime-C24Yb2bl.cjs');
3
+ const require_values = require('./values-AxGpgYBA.cjs');
4
4
  const require_config = require('./config.cjs');
5
5
  const require_event_testing = require('./event-testing.cjs');
6
6
  const require_test_span_collector = require('./test-span-collector.cjs');
7
7
  let _opentelemetry_api = require("@opentelemetry/api");
8
+ let _opentelemetry_context_async_hooks = require("@opentelemetry/context-async-hooks");
8
9
  let node_async_hooks = require("node:async_hooks");
9
10
  node_async_hooks = require_rolldown_runtime.__toESM(node_async_hooks, 1);
10
11
 
@@ -63,6 +64,18 @@ function createMemoryExporter() {
63
64
  * ```
64
65
  */
65
66
  /**
67
+ * `context.with()` propagates only through a registered context manager, and
68
+ * a test project that never calls `init()` has none: no active span, so the
69
+ * ambient `ctx` writes nowhere and spans have no parent. Register the class
70
+ * `init()` would register when a probe shows nothing propagates, so `bind()`
71
+ * on an EventEmitter works and a later `init()` changes nothing observable.
72
+ */
73
+ function ensureContextManager() {
74
+ const probe = (0, _opentelemetry_api.createContextKey)("autotel.testing.probe");
75
+ if (_opentelemetry_api.context.with(_opentelemetry_api.ROOT_CONTEXT.setValue(probe, true), () => _opentelemetry_api.context.active().getValue(probe) === true)) return;
76
+ _opentelemetry_api.context.setGlobalContextManager(new _opentelemetry_context_async_hooks.AsyncLocalStorageContextManager().enable());
77
+ }
78
+ /**
66
79
  * Create an in-memory trace collector for testing
67
80
  *
68
81
  * IMPORTANT: This automatically configures the global tracer to record spans.
@@ -89,6 +102,7 @@ function createMemoryExporter() {
89
102
  * ```
90
103
  */
91
104
  function createTraceCollector() {
105
+ ensureContextManager();
92
106
  const spans = [];
93
107
  const activeMockSpanStorage = new node_async_hooks.AsyncLocalStorage();
94
108
  let nextTraceId = 1;
package/dist/testing.d.ts CHANGED
@@ -2,8 +2,8 @@ import { t as UnknownRecord } from "./values-CeMH-mYG.js";
2
2
  import { s as Logger } from "./logger-S1Fgl0g3.js";
3
3
  import { a as EventsValue, c as createEventCollector, i as EventsOutcome, n as EventData, o as assertEventTracked, r as EventsFunnelStep, s as assertOutcomeTracked, t as EventCollector } from "./event-testing-CkPgV3Ii.js";
4
4
  import { SerializedSpan, TestSpanCollector, serializeSpan } from "./test-span-collector.js";
5
- import { SpanExporter } from "@opentelemetry/sdk-trace-base";
6
5
  import { Attributes, Link, SpanKind, SpanStatus, SpanStatusCode } from "@opentelemetry/api";
6
+ import { SpanExporter } from "@opentelemetry/sdk-trace-base";
7
7
  //#region src/memory-exporter.d.ts
8
8
  /** One finished span, flattened to the fields an assertion usually wants. */
9
9
  interface RecordedSpan {
package/dist/testing.js CHANGED
@@ -2,7 +2,8 @@ import { l as asString, s as asRecord } from "./values-xBtdXtjA.js";
2
2
  import { configure } from "./config.js";
3
3
  import { assertEventTracked, assertOutcomeTracked, createEventCollector } from "./event-testing.js";
4
4
  import { TestSpanCollector, serializeSpan } from "./test-span-collector.js";
5
- import { SpanStatusCode, context, trace } from "@opentelemetry/api";
5
+ import { ROOT_CONTEXT, SpanStatusCode, context, createContextKey, trace } from "@opentelemetry/api";
6
+ import { AsyncLocalStorageContextManager } from "@opentelemetry/context-async-hooks";
6
7
  import * as nodeAsyncHooks from "node:async_hooks";
7
8
 
8
9
  //#region src/memory-exporter.ts
@@ -60,6 +61,18 @@ function createMemoryExporter() {
60
61
  * ```
61
62
  */
62
63
  /**
64
+ * `context.with()` propagates only through a registered context manager, and
65
+ * a test project that never calls `init()` has none: no active span, so the
66
+ * ambient `ctx` writes nowhere and spans have no parent. Register the class
67
+ * `init()` would register when a probe shows nothing propagates, so `bind()`
68
+ * on an EventEmitter works and a later `init()` changes nothing observable.
69
+ */
70
+ function ensureContextManager() {
71
+ const probe = createContextKey("autotel.testing.probe");
72
+ if (context.with(ROOT_CONTEXT.setValue(probe, true), () => context.active().getValue(probe) === true)) return;
73
+ context.setGlobalContextManager(new AsyncLocalStorageContextManager().enable());
74
+ }
75
+ /**
63
76
  * Create an in-memory trace collector for testing
64
77
  *
65
78
  * IMPORTANT: This automatically configures the global tracer to record spans.
@@ -86,6 +99,7 @@ function createMemoryExporter() {
86
99
  * ```
87
100
  */
88
101
  function createTraceCollector() {
102
+ ensureContextManager();
89
103
  const spans = [];
90
104
  const activeMockSpanStorage = new nodeAsyncHooks.AsyncLocalStorage();
91
105
  let nextTraceId = 1;
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/trace-factory-validation.ts
3
2
  /**
4
3
  * Validate the two stages of Autotel's public factory wrappers without
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_values = require('./values-tm4bi0FF.cjs');
3
- const require_node_require = require('./node-require-B_IVapV3.cjs');
2
+ const require_values = require('./values-AxGpgYBA.cjs');
3
+ const require_node_require = require('./node-require-BPsB09eC.cjs');
4
4
  let _opentelemetry_api = require("@opentelemetry/api");
5
5
 
6
6
  //#region src/trace-helpers.ts
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_values = require('./values-tm4bi0FF.cjs');
2
+ const require_values = require('./values-AxGpgYBA.cjs');
3
3
  let _opentelemetry_api = require("@opentelemetry/api");
4
4
 
5
5
  //#region src/tracer-provider.ts
package/dist/validate.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_values = require('./values-tm4bi0FF.cjs');
3
- const require_structured_error = require('./structured-error-BAXhglRE.cjs');
4
- const require_stable_hash = require('./stable-hash-C9F6xjzx.cjs');
2
+ const require_values = require('./values-AxGpgYBA.cjs');
3
+ const require_structured_error = require('./structured-error-DynjWTTu.cjs');
4
+ const require_stable_hash = require('./stable-hash-sLi1o4jj.cjs');
5
5
  const require_metric_helpers = require('./metric-helpers.cjs');
6
6
  const require_validation_attributes = require('./validation-attributes.cjs');
7
7
  let _opentelemetry_api = require("@opentelemetry/api");
@@ -1,5 +1,4 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
-
3
2
  //#region src/validation-attributes.ts
4
3
  /**
5
4
  * Validation telemetry wire constants — the single source of truth for the
@@ -1,4 +1,3 @@
1
-
2
1
  //#region src/values.ts
3
2
  /** The value as an object, or undefined when it is anything else. */
4
3
  function asRecord(value) {
package/dist/webhook.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_structured_error = require('./structured-error-BAXhglRE.cjs');
3
- const require_functional = require('./functional-CJI0HCVJ.cjs');
4
- const require_correlated_events = require('./correlated-events-9RRdfyWR.cjs');
2
+ const require_structured_error = require('./structured-error-DynjWTTu.cjs');
3
+ const require_functional = require('./functional-u5Qwjray.cjs');
4
+ const require_correlated_events = require('./correlated-events-DE_4A3oD.cjs');
5
5
  let _opentelemetry_api = require("@opentelemetry/api");
6
6
 
7
7
  //#region src/webhook.ts
@@ -150,7 +150,7 @@ var InMemoryTraceContextStore = class {
150
150
  * ```
151
151
  */
152
152
  function createParkingLot(config) {
153
- const { store, defaultTTLMs = 1440 * 60 * 1e3, keyPrefix = "parkingLot:", autoDeleteOnRetrieve = true, onMiss } = config;
153
+ const { store, defaultTTLMs = 864e5, keyPrefix = "parkingLot:", autoDeleteOnRetrieve = true, onMiss } = config;
154
154
  /**
155
155
  * Get current span context from active context
156
156
  */
@@ -179,15 +179,18 @@ function createParkingLot(config) {
179
179
  };
180
180
  await store.save(fullKey, storedContext);
181
181
  const activeSpan = _opentelemetry_api.trace.getActiveSpan();
182
- if (activeSpan) require_correlated_events.emitCorrelatedEvent({
183
- setAttribute: (k, v) => activeSpan.setAttribute(k, v),
184
- setAttributes: (a) => activeSpan.setAttributes(a),
185
- addEvent: (n, a) => activeSpan.addEvent(n, a)
186
- }, "trace_context_parked", {
187
- "parking_lot.correlation_key": correlationKey,
188
- "parking_lot.ttl_ms": defaultTTLMs,
189
- ...metadata && Object.fromEntries(Object.entries(metadata).map(([k, v]) => [`parking_lot.metadata.${k}`, v]))
190
- });
182
+ if (activeSpan) {
183
+ const parkAttrs = {
184
+ "parking_lot.correlation_key": correlationKey,
185
+ "parking_lot.ttl_ms": defaultTTLMs,
186
+ ...metadata && Object.fromEntries(Object.entries(metadata).map(([k, v]) => [`parking_lot.metadata.${k}`, v]))
187
+ };
188
+ require_correlated_events.emitCorrelatedEvent({
189
+ setAttribute: (k, v) => activeSpan.setAttribute(k, v),
190
+ setAttributes: (a) => activeSpan.setAttributes(a),
191
+ addEvent: (n, a) => activeSpan.addEvent(n, a)
192
+ }, "trace_context_parked", parkAttrs);
193
+ }
191
194
  return correlationKey;
192
195
  },
193
196
  async retrieve(correlationKey) {