autotel 2.26.0 → 2.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. package/dist/attribute-redacting-processor.cjs +14 -6
  2. package/dist/attribute-redacting-processor.d.cts +63 -1
  3. package/dist/attribute-redacting-processor.d.ts +63 -1
  4. package/dist/attribute-redacting-processor.js +1 -1
  5. package/dist/attributes.cjs +21 -21
  6. package/dist/attributes.js +2 -2
  7. package/dist/auto.cjs +8 -8
  8. package/dist/auto.js +6 -6
  9. package/dist/{chunk-RUD7KS4R.js → chunk-3SDILILG.js} +3 -3
  10. package/dist/{chunk-RUD7KS4R.js.map → chunk-3SDILILG.js.map} +1 -1
  11. package/dist/{chunk-B33XPEKY.js → chunk-55ER2KD5.js} +4 -4
  12. package/dist/chunk-55ER2KD5.js.map +1 -0
  13. package/dist/{chunk-UJJPTSEI.cjs → chunk-563EL6O6.cjs} +81 -14
  14. package/dist/chunk-563EL6O6.cjs.map +1 -0
  15. package/dist/{chunk-TS7IHIRW.cjs → chunk-6YGUN7IY.cjs} +5 -5
  16. package/dist/{chunk-TS7IHIRW.cjs.map → chunk-6YGUN7IY.cjs.map} +1 -1
  17. package/dist/{chunk-XDKK53OL.js → chunk-A4E5AQFK.js} +3 -3
  18. package/dist/{chunk-XDKK53OL.js.map → chunk-A4E5AQFK.js.map} +1 -1
  19. package/dist/{chunk-WAB4CHBU.js → chunk-BJ2XPN77.js} +3 -3
  20. package/dist/{chunk-WAB4CHBU.js.map → chunk-BJ2XPN77.js.map} +1 -1
  21. package/dist/{chunk-KZEC4CHV.cjs → chunk-CEAQK2QY.cjs} +5 -5
  22. package/dist/{chunk-KZEC4CHV.cjs.map → chunk-CEAQK2QY.cjs.map} +1 -1
  23. package/dist/chunk-CMNGGTQL.cjs +349 -0
  24. package/dist/chunk-CMNGGTQL.cjs.map +1 -0
  25. package/dist/{chunk-VYA6QDNA.js → chunk-DPSA4QLA.js} +4 -2
  26. package/dist/chunk-DPSA4QLA.js.map +1 -0
  27. package/dist/{chunk-M4US3P4K.js → chunk-ER43K7ES.js} +3 -3
  28. package/dist/{chunk-M4US3P4K.js.map → chunk-ER43K7ES.js.map} +1 -1
  29. package/dist/{chunk-AZ24DJAG.cjs → chunk-FU6R566Y.cjs} +4 -4
  30. package/dist/chunk-FU6R566Y.cjs.map +1 -0
  31. package/dist/{chunk-4PTCDOZY.js → chunk-HPUGKUMZ.js} +4 -4
  32. package/dist/{chunk-4PTCDOZY.js.map → chunk-HPUGKUMZ.js.map} +1 -1
  33. package/dist/{chunk-XRBP4RYL.cjs → chunk-JKIMEPI2.cjs} +4 -4
  34. package/dist/{chunk-XRBP4RYL.cjs.map → chunk-JKIMEPI2.cjs.map} +1 -1
  35. package/dist/{chunk-N344PVE5.cjs → chunk-OBWXM4NN.cjs} +9 -9
  36. package/dist/{chunk-N344PVE5.cjs.map → chunk-OBWXM4NN.cjs.map} +1 -1
  37. package/dist/{chunk-OFPZULMQ.cjs → chunk-OC6X2VIN.cjs} +8 -8
  38. package/dist/{chunk-OFPZULMQ.cjs.map → chunk-OC6X2VIN.cjs.map} +1 -1
  39. package/dist/{chunk-GTD3NXOS.js → chunk-QC5MNKVF.js} +4 -4
  40. package/dist/{chunk-GTD3NXOS.js.map → chunk-QC5MNKVF.js.map} +1 -1
  41. package/dist/chunk-TDNKIHKT.js +341 -0
  42. package/dist/chunk-TDNKIHKT.js.map +1 -0
  43. package/dist/{chunk-DGPUZ6TE.js → chunk-U54FTVFH.js} +3 -3
  44. package/dist/{chunk-DGPUZ6TE.js.map → chunk-U54FTVFH.js.map} +1 -1
  45. package/dist/{chunk-ZJ5GXCOT.cjs → chunk-UTZR7P7E.cjs} +36 -36
  46. package/dist/{chunk-ZJ5GXCOT.cjs.map → chunk-UTZR7P7E.cjs.map} +1 -1
  47. package/dist/{chunk-7FIGORWI.cjs → chunk-VH77IPJN.cjs} +4 -2
  48. package/dist/chunk-VH77IPJN.cjs.map +1 -0
  49. package/dist/{chunk-EXOXDI5A.js → chunk-W35FVJBC.js} +73 -8
  50. package/dist/chunk-W35FVJBC.js.map +1 -0
  51. package/dist/{chunk-II7GFVAF.cjs → chunk-WZOKY3PW.cjs} +13 -13
  52. package/dist/{chunk-II7GFVAF.cjs.map → chunk-WZOKY3PW.cjs.map} +1 -1
  53. package/dist/{chunk-CMADDTHY.cjs → chunk-YEVCD6DR.cjs} +7 -7
  54. package/dist/{chunk-CMADDTHY.cjs.map → chunk-YEVCD6DR.cjs.map} +1 -1
  55. package/dist/{chunk-RXFZKLRQ.js → chunk-YN7USLHW.js} +3 -3
  56. package/dist/{chunk-RXFZKLRQ.js.map → chunk-YN7USLHW.js.map} +1 -1
  57. package/dist/decorators.cjs +7 -7
  58. package/dist/decorators.js +7 -7
  59. package/dist/event.cjs +10 -10
  60. package/dist/event.js +7 -7
  61. package/dist/functional.cjs +14 -14
  62. package/dist/functional.js +7 -7
  63. package/dist/index.cjs +214 -97
  64. package/dist/index.cjs.map +1 -1
  65. package/dist/index.d.cts +8 -2
  66. package/dist/index.d.ts +8 -2
  67. package/dist/index.js +141 -33
  68. package/dist/index.js.map +1 -1
  69. package/dist/{init-QSj7X6zU.d.cts → init-CMuTaFAV.d.cts} +26 -1
  70. package/dist/{init-FiR_glVc.d.ts → init-D6JfWEjL.d.ts} +26 -1
  71. package/dist/instrumentation.cjs +14 -14
  72. package/dist/instrumentation.js +6 -6
  73. package/dist/logger.cjs +8 -8
  74. package/dist/logger.js +1 -1
  75. package/dist/messaging.cjs +11 -11
  76. package/dist/messaging.js +8 -8
  77. package/dist/metric.cjs +1 -1
  78. package/dist/metric.js +1 -1
  79. package/dist/sampling.cjs +15 -15
  80. package/dist/sampling.js +2 -2
  81. package/dist/semantic-helpers.cjs +12 -12
  82. package/dist/semantic-helpers.js +8 -8
  83. package/dist/tail-sampling-processor.cjs +4 -4
  84. package/dist/tail-sampling-processor.js +3 -3
  85. package/dist/testing.cjs +1 -1
  86. package/dist/testing.js +1 -1
  87. package/dist/webhook.cjs +9 -8
  88. package/dist/webhook.cjs.map +1 -1
  89. package/dist/webhook.js +8 -7
  90. package/dist/webhook.js.map +1 -1
  91. package/dist/workflow-distributed.cjs +9 -9
  92. package/dist/workflow-distributed.js +7 -7
  93. package/dist/workflow.cjs +12 -12
  94. package/dist/workflow.js +8 -8
  95. package/dist/yaml-config.cjs +6 -6
  96. package/dist/yaml-config.d.cts +1 -1
  97. package/dist/yaml-config.d.ts +1 -1
  98. package/dist/yaml-config.js +3 -3
  99. package/package.json +1 -1
  100. package/src/attribute-redacting-processor.test.ts +81 -16
  101. package/src/attribute-redacting-processor.ts +278 -24
  102. package/src/autotel-logger.ts +2 -2
  103. package/src/index.ts +2 -1
  104. package/src/init.ts +117 -2
  105. package/src/request-logger.test.ts +266 -1
  106. package/src/request-logger.ts +115 -16
  107. package/src/structured-error.ts +54 -1
  108. package/dist/chunk-7FIGORWI.cjs.map +0 -1
  109. package/dist/chunk-AZ24DJAG.cjs.map +0 -1
  110. package/dist/chunk-B33XPEKY.js.map +0 -1
  111. package/dist/chunk-ELW34S4C.cjs +0 -173
  112. package/dist/chunk-ELW34S4C.cjs.map +0 -1
  113. package/dist/chunk-EXOXDI5A.js.map +0 -1
  114. package/dist/chunk-SNINLBEE.js +0 -167
  115. package/dist/chunk-SNINLBEE.js.map +0 -1
  116. package/dist/chunk-UJJPTSEI.cjs.map +0 -1
  117. package/dist/chunk-VYA6QDNA.js.map +0 -1
@@ -4,8 +4,8 @@ var chunkGML3FBOT_cjs = require('./chunk-GML3FBOT.cjs');
4
4
  var chunkD5LMF53P_cjs = require('./chunk-D5LMF53P.cjs');
5
5
  var chunkJSNUWSBH_cjs = require('./chunk-JSNUWSBH.cjs');
6
6
  var chunkHZ3FYBJG_cjs = require('./chunk-HZ3FYBJG.cjs');
7
- var chunkUJJPTSEI_cjs = require('./chunk-UJJPTSEI.cjs');
8
- var chunk7FIGORWI_cjs = require('./chunk-7FIGORWI.cjs');
7
+ var chunk563EL6O6_cjs = require('./chunk-563EL6O6.cjs');
8
+ var chunkVH77IPJN_cjs = require('./chunk-VH77IPJN.cjs');
9
9
  var chunkESLWRGAG_cjs = require('./chunk-ESLWRGAG.cjs');
10
10
  var api = require('@opentelemetry/api');
11
11
  var fs = require('fs');
@@ -222,7 +222,7 @@ var EventQueue = class {
222
222
  }
223
223
  this.metrics?.dropped.add(1, attrs);
224
224
  const logLevel = reason === "payload_invalid" ? "error" : "warn";
225
- const logger = chunkUJJPTSEI_cjs.getLogger();
225
+ const logger = chunk563EL6O6_cjs.getLogger();
226
226
  if (logLevel === "error") {
227
227
  logger.error(
228
228
  {
@@ -254,7 +254,7 @@ var EventQueue = class {
254
254
  recordFailed(event, subscriberName, error) {
255
255
  this.metrics?.failed.add(1, { subscriber: subscriberName });
256
256
  this.subscriberHealthy.set(subscriberName, false);
257
- chunkUJJPTSEI_cjs.getLogger().error(
257
+ chunk563EL6O6_cjs.getLogger().error(
258
258
  {
259
259
  eventName: event.name,
260
260
  subscriber: subscriberName,
@@ -295,7 +295,7 @@ var EventQueue = class {
295
295
  if (this.queue.length >= this.config.maxSize) {
296
296
  const droppedEvent = this.queue.shift();
297
297
  this.recordDropped("rate_limit", droppedEvent);
298
- chunkUJJPTSEI_cjs.getLogger().warn(
298
+ chunk563EL6O6_cjs.getLogger().warn(
299
299
  {
300
300
  droppedEvent: droppedEvent?.name
301
301
  },
@@ -391,7 +391,7 @@ var EventQueue = class {
391
391
  const failedSubscriberNames = [
392
392
  ...new Set(failedDeliveries.map((f) => f.subscriberName))
393
393
  ];
394
- chunkUJJPTSEI_cjs.getLogger().error(
394
+ chunk563EL6O6_cjs.getLogger().error(
395
395
  {
396
396
  failedSubscribers: failedSubscriberNames,
397
397
  retriesAttempted: this.config.maxRetries
@@ -544,8 +544,8 @@ var EventQueue = class {
544
544
  // src/track.ts
545
545
  var eventsQueue = null;
546
546
  function buildAutotelContext(span2) {
547
- const eventsConfig = chunkUJJPTSEI_cjs.getEventsConfig();
548
- const config = chunkUJJPTSEI_cjs.getConfig();
547
+ const eventsConfig = chunk563EL6O6_cjs.getEventsConfig();
548
+ const config = chunk563EL6O6_cjs.getConfig();
549
549
  const correlationId = chunkJSNUWSBH_cjs.getOrCreateCorrelationId();
550
550
  if (!eventsConfig?.includeTraceContext) {
551
551
  return {
@@ -599,12 +599,12 @@ function buildAutotelContext(span2) {
599
599
  return autotelContext;
600
600
  }
601
601
  function getOrCreateQueue() {
602
- if (!chunkUJJPTSEI_cjs.isInitialized()) {
603
- chunkUJJPTSEI_cjs.warnIfNotInitialized("track()");
602
+ if (!chunk563EL6O6_cjs.isInitialized()) {
603
+ chunk563EL6O6_cjs.warnIfNotInitialized("track()");
604
604
  return null;
605
605
  }
606
606
  if (!eventsQueue) {
607
- const config = chunkUJJPTSEI_cjs.getConfig();
607
+ const config = chunk563EL6O6_cjs.getConfig();
608
608
  if (!config?.subscribers || config.subscribers.length === 0) {
609
609
  return null;
610
610
  }
@@ -615,7 +615,7 @@ function getOrCreateQueue() {
615
615
  function track(event, data) {
616
616
  const queue = getOrCreateQueue();
617
617
  if (!queue) return;
618
- const validationConfig = chunkUJJPTSEI_cjs.getValidationConfig();
618
+ const validationConfig = chunk563EL6O6_cjs.getValidationConfig();
619
619
  const validated = chunkD5LMF53P_cjs.validateEvent(event, data, validationConfig || void 0);
620
620
  const span2 = api.trace.getActiveSpan();
621
621
  const enrichedData = span2 ? {
@@ -1009,7 +1009,7 @@ function wrapWithTracing(fnFactory, options, variableName) {
1009
1009
  const config = chunkESLWRGAG_cjs.getConfig();
1010
1010
  const tracer = config.tracer;
1011
1011
  const meter = config.meter;
1012
- const sampler = options.sampler || new chunk7FIGORWI_cjs.AlwaysSampler();
1012
+ const sampler = options.sampler || new chunkVH77IPJN_cjs.AlwaysSampler();
1013
1013
  const tempFn = fnFactory(createDummyCtx());
1014
1014
  const spanName = getSpanName(options, tempFn, variableName);
1015
1015
  const callCounter = options.withMetrics ? meter.createCounter(`${spanName}.calls`, {
@@ -1034,8 +1034,8 @@ function wrapWithTracing(fnFactory, options, variableName) {
1034
1034
  }
1035
1035
  const startTime = performance.now();
1036
1036
  const isRootSpan = options.startNewRoot || api.trace.getActiveSpan() === void 0;
1037
- const shouldAutoFlush = options.flushOnRootSpanEnd ?? chunkUJJPTSEI_cjs.getConfig()?.flushOnRootSpanEnd ?? true;
1038
- const shouldAutoFlushSpans = chunkUJJPTSEI_cjs.getConfig()?.forceFlushOnShutdown ?? false;
1037
+ const shouldAutoFlush = options.flushOnRootSpanEnd ?? chunk563EL6O6_cjs.getConfig()?.flushOnRootSpanEnd ?? true;
1038
+ const shouldAutoFlushSpans = chunk563EL6O6_cjs.getConfig()?.forceFlushOnShutdown ?? false;
1039
1039
  const flushIfNeeded = async () => {
1040
1040
  if (!shouldAutoFlush || !isRootSpan) return;
1041
1041
  try {
@@ -1044,7 +1044,7 @@ function wrapWithTracing(fnFactory, options, variableName) {
1044
1044
  await queue.flush();
1045
1045
  }
1046
1046
  if (shouldAutoFlushSpans) {
1047
- const sdk = chunkUJJPTSEI_cjs.getSdk();
1047
+ const sdk = chunk563EL6O6_cjs.getSdk();
1048
1048
  if (sdk) {
1049
1049
  try {
1050
1050
  const sdkAny = sdk;
@@ -1059,7 +1059,7 @@ function wrapWithTracing(fnFactory, options, variableName) {
1059
1059
  }
1060
1060
  }
1061
1061
  } catch (error) {
1062
- const initConfig = chunkUJJPTSEI_cjs.getConfig();
1062
+ const initConfig = chunk563EL6O6_cjs.getConfig();
1063
1063
  const logger = initConfig?.logger;
1064
1064
  if (logger?.error) {
1065
1065
  logger.error(
@@ -1102,8 +1102,8 @@ function wrapWithTracing(fnFactory, options, variableName) {
1102
1102
  duration,
1103
1103
  error
1104
1104
  });
1105
- span2.setAttribute(chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_KEEP, shouldKeepSpan);
1106
- span2.setAttribute(chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED, true);
1105
+ span2.setAttribute(chunkVH77IPJN_cjs.AUTOTEL_SAMPLING_TAIL_KEEP, shouldKeepSpan);
1106
+ span2.setAttribute(chunkVH77IPJN_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED, true);
1107
1107
  }
1108
1108
  };
1109
1109
  const onSuccess = async (result) => {
@@ -1204,7 +1204,7 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
1204
1204
  const config = chunkESLWRGAG_cjs.getConfig();
1205
1205
  const tracer = config.tracer;
1206
1206
  const meter = config.meter;
1207
- const sampler = options.sampler || new chunk7FIGORWI_cjs.AlwaysSampler();
1207
+ const sampler = options.sampler || new chunkVH77IPJN_cjs.AlwaysSampler();
1208
1208
  const tempFn = fnFactory(createDummyCtx());
1209
1209
  const spanName = getSpanName(options, tempFn, variableName);
1210
1210
  const callCounter = options.withMetrics ? meter.createCounter(`${spanName}.calls`, {
@@ -1229,14 +1229,14 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
1229
1229
  }
1230
1230
  const startTime = performance.now();
1231
1231
  const isRootSpan = options.startNewRoot || api.trace.getActiveSpan() === void 0;
1232
- const shouldAutoFlush = options.flushOnRootSpanEnd ?? chunkUJJPTSEI_cjs.getConfig()?.flushOnRootSpanEnd ?? true;
1233
- const shouldAutoFlushSpans = chunkUJJPTSEI_cjs.getConfig()?.forceFlushOnShutdown ?? false;
1232
+ const shouldAutoFlush = options.flushOnRootSpanEnd ?? chunk563EL6O6_cjs.getConfig()?.flushOnRootSpanEnd ?? true;
1233
+ const shouldAutoFlushSpans = chunk563EL6O6_cjs.getConfig()?.forceFlushOnShutdown ?? false;
1234
1234
  const flushIfNeeded = () => {
1235
1235
  if (!shouldAutoFlush || !isRootSpan) return;
1236
1236
  const queue = getEventQueue();
1237
1237
  if (queue && queue.size() > 0) {
1238
1238
  void queue.flush().catch((error) => {
1239
- const initConfig = chunkUJJPTSEI_cjs.getConfig();
1239
+ const initConfig = chunk563EL6O6_cjs.getConfig();
1240
1240
  const logger = initConfig?.logger;
1241
1241
  if (logger?.error) {
1242
1242
  logger.error(
@@ -1249,7 +1249,7 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
1249
1249
  });
1250
1250
  }
1251
1251
  if (shouldAutoFlushSpans) {
1252
- const sdk = chunkUJJPTSEI_cjs.getSdk();
1252
+ const sdk = chunk563EL6O6_cjs.getSdk();
1253
1253
  if (sdk) {
1254
1254
  try {
1255
1255
  const sdkAny = sdk;
@@ -1257,7 +1257,7 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
1257
1257
  const tracerProvider = sdkAny.getTracerProvider();
1258
1258
  if (tracerProvider && typeof tracerProvider.forceFlush === "function") {
1259
1259
  void tracerProvider.forceFlush().catch((error) => {
1260
- const initConfig = chunkUJJPTSEI_cjs.getConfig();
1260
+ const initConfig = chunk563EL6O6_cjs.getConfig();
1261
1261
  const logger = initConfig?.logger;
1262
1262
  if (logger?.error) {
1263
1263
  logger.error(
@@ -1301,8 +1301,8 @@ function wrapWithTracingSync(fnFactory, options, variableName) {
1301
1301
  duration,
1302
1302
  error
1303
1303
  });
1304
- span2.setAttribute(chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_KEEP, shouldKeepSpan);
1305
- span2.setAttribute(chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED, true);
1304
+ span2.setAttribute(chunkVH77IPJN_cjs.AUTOTEL_SAMPLING_TAIL_KEEP, shouldKeepSpan);
1305
+ span2.setAttribute(chunkVH77IPJN_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED, true);
1306
1306
  }
1307
1307
  };
1308
1308
  const onSuccess = (result) => {
@@ -1392,7 +1392,7 @@ function executeImmediately(fn, options) {
1392
1392
  const config = chunkESLWRGAG_cjs.getConfig();
1393
1393
  const tracer = config.tracer;
1394
1394
  const meter = config.meter;
1395
- const sampler = options.sampler || new chunk7FIGORWI_cjs.AlwaysSampler();
1395
+ const sampler = options.sampler || new chunkVH77IPJN_cjs.AlwaysSampler();
1396
1396
  const spanName = options.name || "anonymous";
1397
1397
  const samplingContext = {
1398
1398
  operationName: spanName,
@@ -1406,8 +1406,8 @@ function executeImmediately(fn, options) {
1406
1406
  }
1407
1407
  const startTime = performance.now();
1408
1408
  const isRootSpan = options.startNewRoot || api.trace.getActiveSpan() === void 0;
1409
- const shouldAutoFlush = options.flushOnRootSpanEnd ?? chunkUJJPTSEI_cjs.getConfig()?.flushOnRootSpanEnd ?? true;
1410
- const shouldAutoFlushSpans = chunkUJJPTSEI_cjs.getConfig()?.forceFlushOnShutdown ?? false;
1409
+ const shouldAutoFlush = options.flushOnRootSpanEnd ?? chunk563EL6O6_cjs.getConfig()?.flushOnRootSpanEnd ?? true;
1410
+ const shouldAutoFlushSpans = chunk563EL6O6_cjs.getConfig()?.forceFlushOnShutdown ?? false;
1411
1411
  const callCounter = options.withMetrics ? meter.createCounter(`${spanName}.calls`, {
1412
1412
  description: `Call count for ${spanName}`,
1413
1413
  unit: "1"
@@ -1424,7 +1424,7 @@ function executeImmediately(fn, options) {
1424
1424
  await queue.flush();
1425
1425
  }
1426
1426
  if (shouldAutoFlushSpans) {
1427
- const sdk = chunkUJJPTSEI_cjs.getSdk();
1427
+ const sdk = chunk563EL6O6_cjs.getSdk();
1428
1428
  if (sdk) {
1429
1429
  try {
1430
1430
  const sdkAny = sdk;
@@ -1439,7 +1439,7 @@ function executeImmediately(fn, options) {
1439
1439
  }
1440
1440
  }
1441
1441
  } catch (error) {
1442
- const initConfig = chunkUJJPTSEI_cjs.getConfig();
1442
+ const initConfig = chunk563EL6O6_cjs.getConfig();
1443
1443
  const logger = initConfig?.logger;
1444
1444
  if (logger?.error) {
1445
1445
  logger.error(
@@ -1475,8 +1475,8 @@ function executeImmediately(fn, options) {
1475
1475
  duration,
1476
1476
  error
1477
1477
  });
1478
- span2.setAttribute(chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_KEEP, shouldKeepSpan);
1479
- span2.setAttribute(chunk7FIGORWI_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED, true);
1478
+ span2.setAttribute(chunkVH77IPJN_cjs.AUTOTEL_SAMPLING_TAIL_KEEP, shouldKeepSpan);
1479
+ span2.setAttribute(chunkVH77IPJN_cjs.AUTOTEL_SAMPLING_TAIL_EVALUATED, true);
1480
1480
  }
1481
1481
  };
1482
1482
  const onSuccessSync = (result) => {
@@ -1818,5 +1818,5 @@ exports.track = track;
1818
1818
  exports.withBaggage = withBaggage;
1819
1819
  exports.withNewContext = withNewContext;
1820
1820
  exports.withTracing = withTracing;
1821
- //# sourceMappingURL=chunk-ZJ5GXCOT.cjs.map
1822
- //# sourceMappingURL=chunk-ZJ5GXCOT.cjs.map
1821
+ //# sourceMappingURL=chunk-UTZR7P7E.cjs.map
1822
+ //# sourceMappingURL=chunk-UTZR7P7E.cjs.map