@elizaos/server 1.5.11 → 1.5.12-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -20653,11 +20653,11 @@ var require_version17 = __commonJS((exports) => {
20653
20653
  var require_AttributeNames7 = __commonJS((exports) => {
20654
20654
  Object.defineProperty(exports, "__esModule", { value: true });
20655
20655
  exports.AttributeNames = undefined;
20656
- var AttributeNames2;
20657
- (function(AttributeNames3) {
20658
- AttributeNames3["KOA_TYPE"] = "koa.type";
20659
- AttributeNames3["KOA_NAME"] = "koa.name";
20660
- })(AttributeNames2 = exports.AttributeNames || (exports.AttributeNames = {}));
20656
+ var AttributeNames3;
20657
+ (function(AttributeNames4) {
20658
+ AttributeNames4["KOA_TYPE"] = "koa.type";
20659
+ AttributeNames4["KOA_NAME"] = "koa.name";
20660
+ })(AttributeNames3 = exports.AttributeNames || (exports.AttributeNames = {}));
20661
20661
  });
20662
20662
 
20663
20663
  // ../../node_modules/@opentelemetry/instrumentation-koa/build/src/utils.js
@@ -20667,7 +20667,7 @@ var require_utils20 = __commonJS((exports) => {
20667
20667
  var types_1 = require_types3();
20668
20668
  var AttributeNames_1 = require_AttributeNames7();
20669
20669
  var semantic_conventions_1 = require_src2();
20670
- var getMiddlewareMetadata = (context10, layer, isRouter, layerPath) => {
20670
+ var getMiddlewareMetadata = (context11, layer, isRouter, layerPath) => {
20671
20671
  if (isRouter) {
20672
20672
  return {
20673
20673
  attributes: {
@@ -20675,7 +20675,7 @@ var require_utils20 = __commonJS((exports) => {
20675
20675
  [AttributeNames_1.AttributeNames.KOA_TYPE]: types_1.KoaLayerType.ROUTER,
20676
20676
  [semantic_conventions_1.SEMATTRS_HTTP_ROUTE]: layerPath?.toString()
20677
20677
  },
20678
- name: context10._matchedRouteName || `router - ${layerPath}`
20678
+ name: context11._matchedRouteName || `router - ${layerPath}`
20679
20679
  };
20680
20680
  } else {
20681
20681
  return {
@@ -20771,23 +20771,23 @@ var require_instrumentation17 = __commonJS((exports) => {
20771
20771
  }
20772
20772
  middlewareLayer[internal_types_1.kLayerPatched] = true;
20773
20773
  api2.diag.debug("patching Koa middleware layer");
20774
- return async (context10, next) => {
20774
+ return async (context11, next) => {
20775
20775
  const parent = api2.trace.getSpan(api2.context.active());
20776
20776
  if (parent === undefined) {
20777
- return middlewareLayer(context10, next);
20777
+ return middlewareLayer(context11, next);
20778
20778
  }
20779
- const metadata = (0, utils_1.getMiddlewareMetadata)(context10, middlewareLayer, isRouter, layerPath);
20779
+ const metadata = (0, utils_1.getMiddlewareMetadata)(context11, middlewareLayer, isRouter, layerPath);
20780
20780
  const span = this.tracer.startSpan(metadata.name, {
20781
20781
  attributes: metadata.attributes
20782
20782
  });
20783
20783
  const rpcMetadata = (0, core_1.getRPCMetadata)(api2.context.active());
20784
- if (rpcMetadata?.type === core_1.RPCType.HTTP && context10._matchedRoute) {
20785
- rpcMetadata.route = context10._matchedRoute.toString();
20784
+ if (rpcMetadata?.type === core_1.RPCType.HTTP && context11._matchedRoute) {
20785
+ rpcMetadata.route = context11._matchedRoute.toString();
20786
20786
  }
20787
20787
  const { requestHook: requestHook2 } = this.getConfig();
20788
20788
  if (requestHook2) {
20789
20789
  (0, instrumentation_1.safeExecuteInTheMiddle)(() => requestHook2(span, {
20790
- context: context10,
20790
+ context: context11,
20791
20791
  middlewareLayer,
20792
20792
  layerType
20793
20793
  }), (e) => {
@@ -20799,7 +20799,7 @@ var require_instrumentation17 = __commonJS((exports) => {
20799
20799
  const newContext = api2.trace.setSpan(api2.context.active(), span);
20800
20800
  return api2.context.with(newContext, async () => {
20801
20801
  try {
20802
- return await middlewareLayer(context10, next);
20802
+ return await middlewareLayer(context11, next);
20803
20803
  } catch (err) {
20804
20804
  span.recordException(err);
20805
20805
  throw err;
@@ -20835,11 +20835,11 @@ var require_src28 = __commonJS((exports) => {
20835
20835
  var require_AttributeNames8 = __commonJS((exports) => {
20836
20836
  Object.defineProperty(exports, "__esModule", { value: true });
20837
20837
  exports.ConnectNames = exports.ConnectTypes = exports.AttributeNames = undefined;
20838
- var AttributeNames2;
20839
- (function(AttributeNames3) {
20840
- AttributeNames3["CONNECT_TYPE"] = "connect.type";
20841
- AttributeNames3["CONNECT_NAME"] = "connect.name";
20842
- })(AttributeNames2 = exports.AttributeNames || (exports.AttributeNames = {}));
20838
+ var AttributeNames3;
20839
+ (function(AttributeNames4) {
20840
+ AttributeNames4["CONNECT_TYPE"] = "connect.type";
20841
+ AttributeNames4["CONNECT_NAME"] = "connect.name";
20842
+ })(AttributeNames3 = exports.AttributeNames || (exports.AttributeNames = {}));
20843
20843
  var ConnectTypes;
20844
20844
  (function(ConnectTypes2) {
20845
20845
  ConnectTypes2["MIDDLEWARE"] = "middleware";
@@ -21504,16 +21504,16 @@ var require_utils23 = __commonJS((exports) => {
21504
21504
  return attributes;
21505
21505
  };
21506
21506
  exports.getConnectionAttributesFromUrl = getConnectionAttributesFromUrl;
21507
- var markConfirmChannelTracing = (context10) => {
21508
- return context10.setValue(IS_CONFIRM_CHANNEL_CONTEXT_KEY, true);
21507
+ var markConfirmChannelTracing = (context11) => {
21508
+ return context11.setValue(IS_CONFIRM_CHANNEL_CONTEXT_KEY, true);
21509
21509
  };
21510
21510
  exports.markConfirmChannelTracing = markConfirmChannelTracing;
21511
- var unmarkConfirmChannelTracing = (context10) => {
21512
- return context10.deleteValue(IS_CONFIRM_CHANNEL_CONTEXT_KEY);
21511
+ var unmarkConfirmChannelTracing = (context11) => {
21512
+ return context11.deleteValue(IS_CONFIRM_CHANNEL_CONTEXT_KEY);
21513
21513
  };
21514
21514
  exports.unmarkConfirmChannelTracing = unmarkConfirmChannelTracing;
21515
- var isConfirmChannelTracing = (context10) => {
21516
- return context10.getValue(IS_CONFIRM_CHANNEL_CONTEXT_KEY) === true;
21515
+ var isConfirmChannelTracing = (context11) => {
21516
+ return context11.getValue(IS_CONFIRM_CHANNEL_CONTEXT_KEY) === true;
21517
21517
  };
21518
21518
  exports.isConfirmChannelTracing = isConfirmChannelTracing;
21519
21519
  });
@@ -27454,7 +27454,7 @@ import express30 from "express";
27454
27454
  // package.json
27455
27455
  var package_default = {
27456
27456
  name: "@elizaos/server",
27457
- version: "1.5.11",
27457
+ version: "1.5.12-alpha.2",
27458
27458
  description: "ElizaOS Server - Core server infrastructure for ElizaOS agents",
27459
27459
  publishConfig: {
27460
27460
  access: "public",
@@ -29011,7 +29011,7 @@ var DEBUG_BUILD = typeof __SENTRY_DEBUG__ === "undefined" || __SENTRY_DEBUG__;
29011
29011
  var GLOBAL_OBJ = globalThis;
29012
29012
 
29013
29013
  // ../../node_modules/@sentry/core/build/esm/utils/version.js
29014
- var SDK_VERSION = "10.13.0";
29014
+ var SDK_VERSION = "10.15.0";
29015
29015
 
29016
29016
  // ../../node_modules/@sentry/core/build/esm/carrier.js
29017
29017
  function getMainCarrier() {
@@ -30355,16 +30355,39 @@ function getSpanStatusFromHttpCode(httpStatus) {
30355
30355
  // ../../node_modules/@sentry/core/build/esm/tracing/utils.js
30356
30356
  var SCOPE_ON_START_SPAN_FIELD = "_sentryScope";
30357
30357
  var ISOLATION_SCOPE_ON_START_SPAN_FIELD = "_sentryIsolationScope";
30358
+ function wrapScopeWithWeakRef(scope) {
30359
+ try {
30360
+ const WeakRefClass = GLOBAL_OBJ.WeakRef;
30361
+ if (typeof WeakRefClass === "function") {
30362
+ return new WeakRefClass(scope);
30363
+ }
30364
+ } catch {}
30365
+ return scope;
30366
+ }
30367
+ function unwrapScopeFromWeakRef(scopeRef) {
30368
+ if (!scopeRef) {
30369
+ return;
30370
+ }
30371
+ if (typeof scopeRef === "object" && "deref" in scopeRef && typeof scopeRef.deref === "function") {
30372
+ try {
30373
+ return scopeRef.deref();
30374
+ } catch {
30375
+ return;
30376
+ }
30377
+ }
30378
+ return scopeRef;
30379
+ }
30358
30380
  function setCapturedScopesOnSpan(span, scope, isolationScope) {
30359
30381
  if (span) {
30360
- addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, isolationScope);
30382
+ addNonEnumerableProperty(span, ISOLATION_SCOPE_ON_START_SPAN_FIELD, wrapScopeWithWeakRef(isolationScope));
30361
30383
  addNonEnumerableProperty(span, SCOPE_ON_START_SPAN_FIELD, scope);
30362
30384
  }
30363
30385
  }
30364
30386
  function getCapturedScopesOnSpan(span) {
30387
+ const spanWithScopes = span;
30365
30388
  return {
30366
- scope: span[SCOPE_ON_START_SPAN_FIELD],
30367
- isolationScope: span[ISOLATION_SCOPE_ON_START_SPAN_FIELD]
30389
+ scope: spanWithScopes[SCOPE_ON_START_SPAN_FIELD],
30390
+ isolationScope: unwrapScopeFromWeakRef(spanWithScopes[ISOLATION_SCOPE_ON_START_SPAN_FIELD])
30368
30391
  };
30369
30392
  }
30370
30393
 
@@ -38519,7 +38542,7 @@ function functionNamesMatch(a, b) {
38519
38542
  }
38520
38543
 
38521
38544
  // ../../node_modules/@sentry/node-core/build/esm/integrations/local-variables/local-variables-async.js
38522
- var base64WorkerScript = "LyohIEBzZW50cnkvbm9kZS1jb3JlIDEwLjEzLjAgKGQxOGE5NWUpIHwgaHR0cHM6Ly9naXRodWIuY29tL2dldHNlbnRyeS9zZW50cnktamF2YXNjcmlwdCAqLwppbXBvcnR7U2Vzc2lvbiBhcyBlfWZyb20ibm9kZTppbnNwZWN0b3IvcHJvbWlzZXMiO2ltcG9ydHt3b3JrZXJEYXRhIGFzIHR9ZnJvbSJub2RlOndvcmtlcl90aHJlYWRzIjtjb25zdCBuPWdsb2JhbFRoaXMsaT17fTtjb25zdCBvPSJfX1NFTlRSWV9FUlJPUl9MT0NBTF9WQVJJQUJMRVNfXyI7Y29uc3QgYT10O2Z1bmN0aW9uIHMoLi4uZSl7YS5kZWJ1ZyYmZnVuY3Rpb24oZSl7aWYoISgiY29uc29sZSJpbiBuKSlyZXR1cm4gZSgpO2NvbnN0IHQ9bi5jb25zb2xlLG89e30sYT1PYmplY3Qua2V5cyhpKTthLmZvckVhY2goZT0+e2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hc3luYygpPT57cygiUmF0ZS1saW1pdCBsaWZ0ZWQuIiksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5zZXRQYXVzZU9uRXhjZXB0aW9ucyIse3N0YXRlOiJhbGwifSl9LGFzeW5jIGU9PntzKGBSYXRlLWxpbWl0IGV4Y2VlZGVkLiBEaXNhYmxpbmcgY2FwdHVyaW5nIG9mIGNhdWdodCBleGNlcHRpb25zIGZvciAke2V9IHNlY29uZHMuYCksYXdhaXQgdC5wb3N0KCJEZWJ1Z2dlci5zZXRQYXVzZU9uRXhjZXB0aW9ucyIse3N0YXRlOiJ1bmNhdWdodCJ9KX0pfX0pKCkuY2F0Y2goZT0+e3MoIkZhaWxlZCB0byBzdGFydCBkZWJ1Z2dlciIsZSl9KSxzZXRJbnRlcnZhbCgoKT0+e30sMWU0KTs=";
38523
38546
  function log2(...args) {
38524
38547
  debug.log("[LocalVariables]", ...args);
38525
38548
  }
@@ -42986,11 +43009,219 @@ var _hapiIntegration = () => {
42986
43009
  };
42987
43010
  var hapiIntegration = defineIntegration(_hapiIntegration);
42988
43011
 
43012
+ // ../../node_modules/@sentry/node/build/esm/integrations/tracing/hono/index.js
43013
+ var import_semantic_conventions6 = __toESM(require_src2(), 1);
43014
+
43015
+ // ../../node_modules/@sentry/node/build/esm/integrations/tracing/hono/constants.js
43016
+ var AttributeNames2 = {
43017
+ HONO_TYPE: "hono.type",
43018
+ HONO_NAME: "hono.name"
43019
+ };
43020
+ var HonoTypes = {
43021
+ MIDDLEWARE: "middleware",
43022
+ REQUEST_HANDLER: "request_handler"
43023
+ };
43024
+
43025
+ // ../../node_modules/@sentry/node/build/esm/integrations/tracing/hono/instrumentation.js
43026
+ var import_api18 = __toESM(require_src(), 1);
43027
+ var import_instrumentation11 = __toESM(require_src6(), 1);
43028
+ var PACKAGE_NAME3 = "@sentry/instrumentation-hono";
43029
+ var PACKAGE_VERSION3 = "0.0.1";
43030
+
43031
+ class HonoInstrumentation extends import_instrumentation11.InstrumentationBase {
43032
+ constructor(config = {}) {
43033
+ super(PACKAGE_NAME3, PACKAGE_VERSION3, config);
43034
+ }
43035
+ init() {
43036
+ return [
43037
+ new import_instrumentation11.InstrumentationNodeModuleDefinition("hono", [">=4.0.0 <5"], (moduleExports) => this._patch(moduleExports))
43038
+ ];
43039
+ }
43040
+ _patch(moduleExports) {
43041
+ const instrumentation = this;
43042
+
43043
+ class WrappedHono extends moduleExports.Hono {
43044
+ constructor(...args) {
43045
+ super(...args);
43046
+ instrumentation._wrap(this, "get", instrumentation._patchHandler());
43047
+ instrumentation._wrap(this, "post", instrumentation._patchHandler());
43048
+ instrumentation._wrap(this, "put", instrumentation._patchHandler());
43049
+ instrumentation._wrap(this, "delete", instrumentation._patchHandler());
43050
+ instrumentation._wrap(this, "options", instrumentation._patchHandler());
43051
+ instrumentation._wrap(this, "patch", instrumentation._patchHandler());
43052
+ instrumentation._wrap(this, "all", instrumentation._patchHandler());
43053
+ instrumentation._wrap(this, "on", instrumentation._patchOnHandler());
43054
+ instrumentation._wrap(this, "use", instrumentation._patchMiddlewareHandler());
43055
+ }
43056
+ }
43057
+ try {
43058
+ moduleExports.Hono = WrappedHono;
43059
+ } catch {
43060
+ return { ...moduleExports, Hono: WrappedHono };
43061
+ }
43062
+ return moduleExports;
43063
+ }
43064
+ _patchHandler() {
43065
+ const instrumentation = this;
43066
+ return function(original) {
43067
+ return function wrappedHandler(...args) {
43068
+ if (typeof args[0] === "string") {
43069
+ const path8 = args[0];
43070
+ if (args.length === 1) {
43071
+ return original.apply(this, [path8]);
43072
+ }
43073
+ const handlers2 = args.slice(1);
43074
+ return original.apply(this, [
43075
+ path8,
43076
+ ...handlers2.map((handler) => instrumentation._wrapHandler(handler))
43077
+ ]);
43078
+ }
43079
+ return original.apply(this, args.map((handler) => instrumentation._wrapHandler(handler)));
43080
+ };
43081
+ };
43082
+ }
43083
+ _patchOnHandler() {
43084
+ const instrumentation = this;
43085
+ return function(original) {
43086
+ return function wrappedHandler(...args) {
43087
+ const handlers2 = args.slice(2);
43088
+ return original.apply(this, [
43089
+ ...args.slice(0, 2),
43090
+ ...handlers2.map((handler) => instrumentation._wrapHandler(handler))
43091
+ ]);
43092
+ };
43093
+ };
43094
+ }
43095
+ _patchMiddlewareHandler() {
43096
+ const instrumentation = this;
43097
+ return function(original) {
43098
+ return function wrappedHandler(...args) {
43099
+ if (typeof args[0] === "string") {
43100
+ const path8 = args[0];
43101
+ if (args.length === 1) {
43102
+ return original.apply(this, [path8]);
43103
+ }
43104
+ const handlers2 = args.slice(1);
43105
+ return original.apply(this, [
43106
+ path8,
43107
+ ...handlers2.map((handler) => instrumentation._wrapHandler(handler))
43108
+ ]);
43109
+ }
43110
+ return original.apply(this, args.map((handler) => instrumentation._wrapHandler(handler)));
43111
+ };
43112
+ };
43113
+ }
43114
+ _wrapHandler(handler) {
43115
+ const instrumentation = this;
43116
+ return function(c, next) {
43117
+ if (!instrumentation.isEnabled()) {
43118
+ return handler.apply(this, [c, next]);
43119
+ }
43120
+ const path8 = c.req.path;
43121
+ const span = instrumentation.tracer.startSpan(path8);
43122
+ return import_api18.context.with(import_api18.trace.setSpan(import_api18.context.active(), span), () => {
43123
+ return instrumentation._safeExecute(() => {
43124
+ const result = handler.apply(this, [c, next]);
43125
+ if (isThenable(result)) {
43126
+ return result.then((result2) => {
43127
+ const type = instrumentation._determineHandlerType(result2);
43128
+ span.setAttributes({
43129
+ [AttributeNames2.HONO_TYPE]: type,
43130
+ [AttributeNames2.HONO_NAME]: type === HonoTypes.REQUEST_HANDLER ? path8 : handler.name || "anonymous"
43131
+ });
43132
+ instrumentation.getConfig().responseHook?.(span);
43133
+ return result2;
43134
+ });
43135
+ } else {
43136
+ const type = instrumentation._determineHandlerType(result);
43137
+ span.setAttributes({
43138
+ [AttributeNames2.HONO_TYPE]: type,
43139
+ [AttributeNames2.HONO_NAME]: type === HonoTypes.REQUEST_HANDLER ? path8 : handler.name || "anonymous"
43140
+ });
43141
+ instrumentation.getConfig().responseHook?.(span);
43142
+ return result;
43143
+ }
43144
+ }, () => span.end(), (error2) => {
43145
+ instrumentation._handleError(span, error2);
43146
+ span.end();
43147
+ });
43148
+ });
43149
+ };
43150
+ }
43151
+ _safeExecute(execute, onSuccess, onFailure) {
43152
+ try {
43153
+ const result = execute();
43154
+ if (isThenable(result)) {
43155
+ result.then(() => onSuccess(), (error2) => onFailure(error2));
43156
+ } else {
43157
+ onSuccess();
43158
+ }
43159
+ return result;
43160
+ } catch (error2) {
43161
+ onFailure(error2);
43162
+ throw error2;
43163
+ }
43164
+ }
43165
+ _determineHandlerType(result) {
43166
+ return result === undefined ? HonoTypes.MIDDLEWARE : HonoTypes.REQUEST_HANDLER;
43167
+ }
43168
+ _handleError(span, error2) {
43169
+ if (error2 instanceof Error) {
43170
+ span.setStatus({
43171
+ code: import_api18.SpanStatusCode.ERROR,
43172
+ message: error2.message
43173
+ });
43174
+ span.recordException(error2);
43175
+ }
43176
+ }
43177
+ }
43178
+
43179
+ // ../../node_modules/@sentry/node/build/esm/integrations/tracing/hono/index.js
43180
+ var INTEGRATION_NAME34 = "Hono";
43181
+ function addHonoSpanAttributes(span) {
43182
+ const attributes = spanToJSON(span).data;
43183
+ const type = attributes[AttributeNames2.HONO_TYPE];
43184
+ if (attributes[SEMANTIC_ATTRIBUTE_SENTRY_OP] || !type) {
43185
+ return;
43186
+ }
43187
+ span.setAttributes({
43188
+ [SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: "auto.http.otel.hono",
43189
+ [SEMANTIC_ATTRIBUTE_SENTRY_OP]: `${type}.hono`
43190
+ });
43191
+ const name = attributes[AttributeNames2.HONO_NAME];
43192
+ if (typeof name === "string") {
43193
+ span.updateName(name);
43194
+ }
43195
+ if (getIsolationScope() === getDefaultIsolationScope()) {
43196
+ DEBUG_BUILD4 && debug.warn("Isolation scope is default isolation scope - skipping setting transactionName");
43197
+ return;
43198
+ }
43199
+ const route = attributes[import_semantic_conventions6.ATTR_HTTP_ROUTE];
43200
+ const method = attributes[import_semantic_conventions6.ATTR_HTTP_REQUEST_METHOD];
43201
+ if (typeof route === "string" && typeof method === "string") {
43202
+ getIsolationScope().setTransactionName(`${method} ${route}`);
43203
+ }
43204
+ }
43205
+ var instrumentHono = generateInstrumentOnce(INTEGRATION_NAME34, () => new HonoInstrumentation({
43206
+ responseHook: (span) => {
43207
+ addHonoSpanAttributes(span);
43208
+ }
43209
+ }));
43210
+ var _honoIntegration = () => {
43211
+ return {
43212
+ name: INTEGRATION_NAME34,
43213
+ setupOnce() {
43214
+ instrumentHono();
43215
+ }
43216
+ };
43217
+ };
43218
+ var honoIntegration = defineIntegration(_honoIntegration);
43219
+
42989
43220
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/koa.js
42990
43221
  var import_instrumentation_koa = __toESM(require_src28(), 1);
42991
- var import_semantic_conventions6 = __toESM(require_src2(), 1);
42992
- var INTEGRATION_NAME34 = "Koa";
42993
- var instrumentKoa = generateInstrumentOnce(INTEGRATION_NAME34, import_instrumentation_koa.KoaInstrumentation, (options = {}) => {
43222
+ var import_semantic_conventions7 = __toESM(require_src2(), 1);
43223
+ var INTEGRATION_NAME35 = "Koa";
43224
+ var instrumentKoa = generateInstrumentOnce(INTEGRATION_NAME35, import_instrumentation_koa.KoaInstrumentation, (options = {}) => {
42994
43225
  return {
42995
43226
  ignoreLayersType: options.ignoreLayersType,
42996
43227
  requestHook(span, info) {
@@ -43008,7 +43239,7 @@ var instrumentKoa = generateInstrumentOnce(INTEGRATION_NAME34, import_instrument
43008
43239
  DEBUG_BUILD4 && debug.warn("Isolation scope is default isolation scope - skipping setting transactionName");
43009
43240
  return;
43010
43241
  }
43011
- const route = attributes[import_semantic_conventions6.ATTR_HTTP_ROUTE];
43242
+ const route = attributes[import_semantic_conventions7.ATTR_HTTP_ROUTE];
43012
43243
  const method = info.context?.request?.method?.toUpperCase() || "GET";
43013
43244
  if (route) {
43014
43245
  getIsolationScope().setTransactionName(`${method} ${route}`);
@@ -43018,7 +43249,7 @@ var instrumentKoa = generateInstrumentOnce(INTEGRATION_NAME34, import_instrument
43018
43249
  });
43019
43250
  var _koaIntegration = (options = {}) => {
43020
43251
  return {
43021
- name: INTEGRATION_NAME34,
43252
+ name: INTEGRATION_NAME35,
43022
43253
  setupOnce() {
43023
43254
  instrumentKoa(options);
43024
43255
  }
@@ -43028,11 +43259,11 @@ var koaIntegration = defineIntegration(_koaIntegration);
43028
43259
 
43029
43260
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/connect.js
43030
43261
  var import_instrumentation_connect = __toESM(require_src29(), 1);
43031
- var INTEGRATION_NAME35 = "Connect";
43032
- var instrumentConnect = generateInstrumentOnce(INTEGRATION_NAME35, () => new import_instrumentation_connect.ConnectInstrumentation);
43262
+ var INTEGRATION_NAME36 = "Connect";
43263
+ var instrumentConnect = generateInstrumentOnce(INTEGRATION_NAME36, () => new import_instrumentation_connect.ConnectInstrumentation);
43033
43264
  var _connectIntegration = () => {
43034
43265
  return {
43035
- name: INTEGRATION_NAME35,
43266
+ name: INTEGRATION_NAME36,
43036
43267
  setupOnce() {
43037
43268
  instrumentConnect();
43038
43269
  }
@@ -43050,12 +43281,12 @@ var TEDIUS_INSTRUMENTED_METHODS = new Set([
43050
43281
  "prepare",
43051
43282
  "execute"
43052
43283
  ]);
43053
- var INTEGRATION_NAME36 = "Tedious";
43054
- var instrumentTedious = generateInstrumentOnce(INTEGRATION_NAME36, () => new import_instrumentation_tedious.TediousInstrumentation({}));
43284
+ var INTEGRATION_NAME37 = "Tedious";
43285
+ var instrumentTedious = generateInstrumentOnce(INTEGRATION_NAME37, () => new import_instrumentation_tedious.TediousInstrumentation({}));
43055
43286
  var _tediousIntegration = () => {
43056
43287
  let instrumentationWrappedCallback;
43057
43288
  return {
43058
- name: INTEGRATION_NAME36,
43289
+ name: INTEGRATION_NAME37,
43059
43290
  setupOnce() {
43060
43291
  const instrumentation = instrumentTedious();
43061
43292
  instrumentationWrappedCallback = instrumentWhenWrapped(instrumentation);
@@ -43078,12 +43309,12 @@ var tediousIntegration = defineIntegration(_tediousIntegration);
43078
43309
 
43079
43310
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/genericPool.js
43080
43311
  var import_instrumentation_generic_pool = __toESM(require_src31(), 1);
43081
- var INTEGRATION_NAME37 = "GenericPool";
43082
- var instrumentGenericPool = generateInstrumentOnce(INTEGRATION_NAME37, () => new import_instrumentation_generic_pool.GenericPoolInstrumentation({}));
43312
+ var INTEGRATION_NAME38 = "GenericPool";
43313
+ var instrumentGenericPool = generateInstrumentOnce(INTEGRATION_NAME38, () => new import_instrumentation_generic_pool.GenericPoolInstrumentation({}));
43083
43314
  var _genericPoolIntegration = () => {
43084
43315
  let instrumentationWrappedCallback;
43085
43316
  return {
43086
- name: INTEGRATION_NAME37,
43317
+ name: INTEGRATION_NAME38,
43087
43318
  setupOnce() {
43088
43319
  const instrumentation = instrumentGenericPool();
43089
43320
  instrumentationWrappedCallback = instrumentWhenWrapped(instrumentation);
@@ -43104,7 +43335,7 @@ var genericPoolIntegration = defineIntegration(_genericPoolIntegration);
43104
43335
 
43105
43336
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/amqplib.js
43106
43337
  var import_instrumentation_amqplib = __toESM(require_src32(), 1);
43107
- var INTEGRATION_NAME38 = "Amqplib";
43338
+ var INTEGRATION_NAME39 = "Amqplib";
43108
43339
  var config = {
43109
43340
  consumeEndHook: (span) => {
43110
43341
  addOriginToSpan2(span, "auto.amqplib.otel.consumer");
@@ -43113,10 +43344,10 @@ var config = {
43113
43344
  addOriginToSpan2(span, "auto.amqplib.otel.publisher");
43114
43345
  }
43115
43346
  };
43116
- var instrumentAmqplib = generateInstrumentOnce(INTEGRATION_NAME38, () => new import_instrumentation_amqplib.AmqplibInstrumentation(config));
43347
+ var instrumentAmqplib = generateInstrumentOnce(INTEGRATION_NAME39, () => new import_instrumentation_amqplib.AmqplibInstrumentation(config));
43117
43348
  var _amqplibIntegration = () => {
43118
43349
  return {
43119
- name: INTEGRATION_NAME38,
43350
+ name: INTEGRATION_NAME39,
43120
43351
  setupOnce() {
43121
43352
  instrumentAmqplib();
43122
43353
  }
@@ -43125,10 +43356,10 @@ var _amqplibIntegration = () => {
43125
43356
  var amqplibIntegration = defineIntegration(_amqplibIntegration);
43126
43357
 
43127
43358
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/constants.js
43128
- var INTEGRATION_NAME39 = "VercelAI";
43359
+ var INTEGRATION_NAME40 = "VercelAI";
43129
43360
 
43130
43361
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/instrumentation.js
43131
- var import_instrumentation11 = __toESM(require_src6(), 1);
43362
+ var import_instrumentation13 = __toESM(require_src6(), 1);
43132
43363
  var INSTRUMENTED_METHODS2 = [
43133
43364
  "generateText",
43134
43365
  "streamText",
@@ -43195,7 +43426,7 @@ function determineRecordingSettings(integrationRecordingOptions, methodTelemetry
43195
43426
  return { recordInputs, recordOutputs };
43196
43427
  }
43197
43428
 
43198
- class SentryVercelAiInstrumentation extends import_instrumentation11.InstrumentationBase {
43429
+ class SentryVercelAiInstrumentation extends import_instrumentation13.InstrumentationBase {
43199
43430
  __init() {
43200
43431
  this._isPatched = false;
43201
43432
  }
@@ -43208,7 +43439,7 @@ class SentryVercelAiInstrumentation extends import_instrumentation11.Instrumenta
43208
43439
  SentryVercelAiInstrumentation.prototype.__init2.call(this);
43209
43440
  }
43210
43441
  init() {
43211
- const module = new import_instrumentation11.InstrumentationNodeModuleDefinition("ai", [">=3.0.0 <6"], this._patch.bind(this));
43442
+ const module = new import_instrumentation13.InstrumentationNodeModuleDefinition("ai", [">=3.0.0 <6"], this._patch.bind(this));
43212
43443
  return module;
43213
43444
  }
43214
43445
  callWhenPatched(callback) {
@@ -43228,7 +43459,7 @@ class SentryVercelAiInstrumentation extends import_instrumentation11.Instrumenta
43228
43459
  const existingExperimentalTelemetry = args[0].experimental_telemetry || {};
43229
43460
  const isEnabled3 = existingExperimentalTelemetry.isEnabled;
43230
43461
  const client = getClient();
43231
- const integration = client?.getIntegrationByName(INTEGRATION_NAME39);
43462
+ const integration = client?.getIntegrationByName(INTEGRATION_NAME40);
43232
43463
  const integrationOptions = integration?.options;
43233
43464
  const shouldRecordInputsAndOutputs = integration ? Boolean(client?.getOptions().sendDefaultPii) : false;
43234
43465
  const { recordInputs, recordOutputs } = determineRecordingSettings(integrationOptions, existingExperimentalTelemetry, isEnabled3, shouldRecordInputsAndOutputs);
@@ -43264,7 +43495,7 @@ class SentryVercelAiInstrumentation extends import_instrumentation11.Instrumenta
43264
43495
  }
43265
43496
 
43266
43497
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/vercelai/index.js
43267
- var instrumentVercelAi = generateInstrumentOnce(INTEGRATION_NAME39, () => new SentryVercelAiInstrumentation({}));
43498
+ var instrumentVercelAi = generateInstrumentOnce(INTEGRATION_NAME40, () => new SentryVercelAiInstrumentation({}));
43268
43499
  function shouldForceIntegration(client) {
43269
43500
  const modules = client.getIntegrationByName("Modules");
43270
43501
  return !!modules?.getModules?.()?.ai;
@@ -43272,7 +43503,7 @@ function shouldForceIntegration(client) {
43272
43503
  var _vercelAIIntegration = (options = {}) => {
43273
43504
  let instrumentation;
43274
43505
  return {
43275
- name: INTEGRATION_NAME39,
43506
+ name: INTEGRATION_NAME40,
43276
43507
  options,
43277
43508
  setupOnce() {
43278
43509
  instrumentation = instrumentVercelAi();
@@ -43289,7 +43520,7 @@ var _vercelAIIntegration = (options = {}) => {
43289
43520
  };
43290
43521
  var vercelAIIntegration = defineIntegration(_vercelAIIntegration);
43291
43522
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/openai/instrumentation.js
43292
- var import_instrumentation13 = __toESM(require_src6(), 1);
43523
+ var import_instrumentation15 = __toESM(require_src6(), 1);
43293
43524
  var supportedVersions = [">=4.0.0 <6"];
43294
43525
  function determineRecordingSettings2(integrationOptions, defaultEnabled) {
43295
43526
  const recordInputs = integrationOptions?.recordInputs ?? defaultEnabled;
@@ -43297,12 +43528,12 @@ function determineRecordingSettings2(integrationOptions, defaultEnabled) {
43297
43528
  return { recordInputs, recordOutputs };
43298
43529
  }
43299
43530
 
43300
- class SentryOpenAiInstrumentation extends import_instrumentation13.InstrumentationBase {
43531
+ class SentryOpenAiInstrumentation extends import_instrumentation15.InstrumentationBase {
43301
43532
  constructor(config2 = {}) {
43302
43533
  super("@sentry/instrumentation-openai", SDK_VERSION, config2);
43303
43534
  }
43304
43535
  init() {
43305
- const module = new import_instrumentation13.InstrumentationNodeModuleDefinition("openai", supportedVersions, this._patch.bind(this));
43536
+ const module = new import_instrumentation15.InstrumentationNodeModuleDefinition("openai", supportedVersions, this._patch.bind(this));
43306
43537
  return module;
43307
43538
  }
43308
43539
  _patch(exports) {
@@ -43369,15 +43600,15 @@ var _openAiIntegration = (options = {}) => {
43369
43600
  var openAIIntegration = defineIntegration(_openAiIntegration);
43370
43601
 
43371
43602
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/anthropic-ai/instrumentation.js
43372
- var import_instrumentation15 = __toESM(require_src6(), 1);
43603
+ var import_instrumentation17 = __toESM(require_src6(), 1);
43373
43604
  var supportedVersions2 = [">=0.19.2 <1.0.0"];
43374
43605
 
43375
- class SentryAnthropicAiInstrumentation extends import_instrumentation15.InstrumentationBase {
43606
+ class SentryAnthropicAiInstrumentation extends import_instrumentation17.InstrumentationBase {
43376
43607
  constructor(config2 = {}) {
43377
43608
  super("@sentry/instrumentation-anthropic-ai", SDK_VERSION, config2);
43378
43609
  }
43379
43610
  init() {
43380
- const module = new import_instrumentation15.InstrumentationNodeModuleDefinition("@anthropic-ai/sdk", supportedVersions2, this._patch.bind(this));
43611
+ const module = new import_instrumentation17.InstrumentationNodeModuleDefinition("@anthropic-ai/sdk", supportedVersions2, this._patch.bind(this));
43381
43612
  return module;
43382
43613
  }
43383
43614
  _patch(exports) {
@@ -43444,16 +43675,16 @@ var _anthropicAIIntegration = (options = {}) => {
43444
43675
  var anthropicAIIntegration = defineIntegration(_anthropicAIIntegration);
43445
43676
 
43446
43677
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/google-genai/instrumentation.js
43447
- var import_instrumentation17 = __toESM(require_src6(), 1);
43678
+ var import_instrumentation19 = __toESM(require_src6(), 1);
43448
43679
  var supportedVersions3 = [">=0.10.0 <2"];
43449
43680
 
43450
- class SentryGoogleGenAiInstrumentation extends import_instrumentation17.InstrumentationBase {
43681
+ class SentryGoogleGenAiInstrumentation extends import_instrumentation19.InstrumentationBase {
43451
43682
  constructor(config2 = {}) {
43452
43683
  super("@sentry/instrumentation-google-genai", SDK_VERSION, config2);
43453
43684
  }
43454
43685
  init() {
43455
- const module = new import_instrumentation17.InstrumentationNodeModuleDefinition("@google/genai", supportedVersions3, (exports) => this._patch(exports), (exports) => exports, [
43456
- new import_instrumentation17.InstrumentationNodeModuleFile("@google/genai/dist/node/index.cjs", supportedVersions3, (exports) => this._patch(exports), (exports) => exports)
43686
+ const module = new import_instrumentation19.InstrumentationNodeModuleDefinition("@google/genai", supportedVersions3, (exports) => this._patch(exports), (exports) => exports, [
43687
+ new import_instrumentation19.InstrumentationNodeModuleFile("@google/genai/dist/node/index.cjs", supportedVersions3, (exports) => this._patch(exports), (exports) => exports)
43457
43688
  ]);
43458
43689
  return module;
43459
43690
  }
@@ -43503,12 +43734,12 @@ var _googleGenAIIntegration = (options = {}) => {
43503
43734
  var googleGenAIIntegration = defineIntegration(_googleGenAIIntegration);
43504
43735
 
43505
43736
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/firebaseInstrumentation.js
43506
- var import_instrumentation20 = __toESM(require_src6(), 1);
43737
+ var import_instrumentation22 = __toESM(require_src6(), 1);
43507
43738
 
43508
43739
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/firebase/otel/patches/firestore.js
43509
- var import_api18 = __toESM(require_src(), 1);
43510
- var import_instrumentation19 = __toESM(require_src6(), 1);
43511
- var import_semantic_conventions7 = __toESM(require_src2(), 1);
43740
+ var import_api19 = __toESM(require_src(), 1);
43741
+ var import_instrumentation21 = __toESM(require_src6(), 1);
43742
+ var import_semantic_conventions8 = __toESM(require_src2(), 1);
43512
43743
  import * as net2 from "node:net";
43513
43744
  function patchFirestore(tracer, firestoreSupportedVersions, wrap, unwrap, config2) {
43514
43745
  const defaultFirestoreSpanCreationHook = () => {};
@@ -43516,15 +43747,15 @@ function patchFirestore(tracer, firestoreSupportedVersions, wrap, unwrap, config
43516
43747
  const configFirestoreSpanCreationHook = config2.firestoreSpanCreationHook;
43517
43748
  if (typeof configFirestoreSpanCreationHook === "function") {
43518
43749
  firestoreSpanCreationHook = (span) => {
43519
- import_instrumentation19.safeExecuteInTheMiddle(() => configFirestoreSpanCreationHook(span), (error2) => {
43750
+ import_instrumentation21.safeExecuteInTheMiddle(() => configFirestoreSpanCreationHook(span), (error2) => {
43520
43751
  if (!error2) {
43521
43752
  return;
43522
43753
  }
43523
- import_api18.diag.error(error2?.message);
43754
+ import_api19.diag.error(error2?.message);
43524
43755
  }, true);
43525
43756
  };
43526
43757
  }
43527
- const moduleFirestoreCJS = new import_instrumentation19.InstrumentationNodeModuleDefinition("@firebase/firestore", firestoreSupportedVersions, (moduleExports) => wrapMethods(moduleExports, wrap, unwrap, tracer, firestoreSpanCreationHook));
43758
+ const moduleFirestoreCJS = new import_instrumentation21.InstrumentationNodeModuleDefinition("@firebase/firestore", firestoreSupportedVersions, (moduleExports) => wrapMethods(moduleExports, wrap, unwrap, tracer, firestoreSpanCreationHook));
43528
43759
  const files = [
43529
43760
  "@firebase/firestore/dist/lite/index.node.cjs.js",
43530
43761
  "@firebase/firestore/dist/lite/index.node.mjs.js",
@@ -43532,7 +43763,7 @@ function patchFirestore(tracer, firestoreSupportedVersions, wrap, unwrap, config
43532
43763
  "@firebase/firestore/dist/lite/index.cjs.js"
43533
43764
  ];
43534
43765
  for (const file of files) {
43535
- moduleFirestoreCJS.files.push(new import_instrumentation19.InstrumentationNodeModuleFile(file, firestoreSupportedVersions, (moduleExports) => wrapMethods(moduleExports, wrap, unwrap, tracer, firestoreSpanCreationHook), (moduleExports) => unwrapMethods(moduleExports, unwrap)));
43766
+ moduleFirestoreCJS.files.push(new import_instrumentation21.InstrumentationNodeModuleFile(file, firestoreSupportedVersions, (moduleExports) => wrapMethods(moduleExports, wrap, unwrap, tracer, firestoreSpanCreationHook), (moduleExports) => unwrapMethods(moduleExports, unwrap)));
43536
43767
  }
43537
43768
  return moduleFirestoreCJS;
43538
43769
  }
@@ -43546,7 +43777,7 @@ function wrapMethods(moduleExports, wrap, unwrap, tracer, firestoreSpanCreationH
43546
43777
  }
43547
43778
  function unwrapMethods(moduleExports, unwrap) {
43548
43779
  for (const method of ["addDoc", "getDocs", "setDoc", "deleteDoc"]) {
43549
- if (import_instrumentation19.isWrapped(moduleExports[method])) {
43780
+ if (import_instrumentation21.isWrapped(moduleExports[method])) {
43550
43781
  unwrap(moduleExports, method);
43551
43782
  }
43552
43783
  }
@@ -43597,8 +43828,8 @@ function patchSetDoc(tracer, firestoreSpanCreationHook) {
43597
43828
  };
43598
43829
  }
43599
43830
  function executeContextWithSpan(span, callback) {
43600
- return import_api18.context.with(import_api18.trace.setSpan(import_api18.context.active(), span), () => {
43601
- return import_instrumentation19.safeExecuteInTheMiddle(() => {
43831
+ return import_api19.context.with(import_api19.trace.setSpan(import_api19.context.active(), span), () => {
43832
+ return import_instrumentation21.safeExecuteInTheMiddle(() => {
43602
43833
  return callback();
43603
43834
  }, (err) => {
43604
43835
  if (err) {
@@ -43609,9 +43840,9 @@ function executeContextWithSpan(span, callback) {
43609
43840
  });
43610
43841
  }
43611
43842
  function startDBSpan(tracer, spanName, reference) {
43612
- const span = tracer.startSpan(`${spanName} ${reference.path}`, { kind: import_api18.SpanKind.CLIENT });
43843
+ const span = tracer.startSpan(`${spanName} ${reference.path}`, { kind: import_api19.SpanKind.CLIENT });
43613
43844
  addAttributes(span, reference);
43614
- span.setAttribute(import_semantic_conventions7.ATTR_DB_OPERATION_NAME, spanName);
43845
+ span.setAttribute(import_semantic_conventions8.ATTR_DB_OPERATION_NAME, spanName);
43615
43846
  return span;
43616
43847
  }
43617
43848
  function getPortAndAddress(settings) {
@@ -43653,9 +43884,9 @@ function addAttributes(span, reference) {
43653
43884
  const json = reference.firestore.toJSON() || {};
43654
43885
  const settings = json.settings || {};
43655
43886
  const attributes = {
43656
- [import_semantic_conventions7.ATTR_DB_COLLECTION_NAME]: reference.path,
43657
- [import_semantic_conventions7.ATTR_DB_NAMESPACE]: firestoreApp.name,
43658
- [import_semantic_conventions7.ATTR_DB_SYSTEM_NAME]: "firebase.firestore",
43887
+ [import_semantic_conventions8.ATTR_DB_COLLECTION_NAME]: reference.path,
43888
+ [import_semantic_conventions8.ATTR_DB_NAMESPACE]: firestoreApp.name,
43889
+ [import_semantic_conventions8.ATTR_DB_SYSTEM_NAME]: "firebase.firestore",
43659
43890
  "firebase.firestore.type": reference.type,
43660
43891
  "firebase.firestore.options.projectId": firestoreOptions.projectId,
43661
43892
  "firebase.firestore.options.appId": firestoreOptions.appId,
@@ -43664,10 +43895,10 @@ function addAttributes(span, reference) {
43664
43895
  };
43665
43896
  const { address, port } = getPortAndAddress(settings);
43666
43897
  if (address) {
43667
- attributes[import_semantic_conventions7.ATTR_SERVER_ADDRESS] = address;
43898
+ attributes[import_semantic_conventions8.ATTR_SERVER_ADDRESS] = address;
43668
43899
  }
43669
43900
  if (port) {
43670
- attributes[import_semantic_conventions7.ATTR_SERVER_PORT] = port;
43901
+ attributes[import_semantic_conventions8.ATTR_SERVER_PORT] = port;
43671
43902
  }
43672
43903
  span.setAttributes(attributes);
43673
43904
  }
@@ -43676,7 +43907,7 @@ function addAttributes(span, reference) {
43676
43907
  var DefaultFirebaseInstrumentationConfig = {};
43677
43908
  var firestoreSupportedVersions = [">=3.0.0 <5"];
43678
43909
 
43679
- class FirebaseInstrumentation extends import_instrumentation20.InstrumentationBase {
43910
+ class FirebaseInstrumentation extends import_instrumentation22.InstrumentationBase {
43680
43911
  constructor(config2 = DefaultFirebaseInstrumentationConfig) {
43681
43912
  super("@sentry/instrumentation-firebase", SDK_VERSION, config2);
43682
43913
  }
@@ -43691,17 +43922,17 @@ class FirebaseInstrumentation extends import_instrumentation20.InstrumentationBa
43691
43922
  }
43692
43923
 
43693
43924
  // ../../node_modules/@sentry/node/build/esm/integrations/tracing/firebase/firebase.js
43694
- var INTEGRATION_NAME40 = "Firebase";
43925
+ var INTEGRATION_NAME41 = "Firebase";
43695
43926
  var config2 = {
43696
43927
  firestoreSpanCreationHook: (span) => {
43697
43928
  addOriginToSpan2(span, "auto.firebase.otel.firestore");
43698
43929
  span.setAttribute(SEMANTIC_ATTRIBUTE_SENTRY_OP, "db.query");
43699
43930
  }
43700
43931
  };
43701
- var instrumentFirebase = generateInstrumentOnce(INTEGRATION_NAME40, () => new FirebaseInstrumentation(config2));
43932
+ var instrumentFirebase = generateInstrumentOnce(INTEGRATION_NAME41, () => new FirebaseInstrumentation(config2));
43702
43933
  var _firebaseIntegration = () => {
43703
43934
  return {
43704
- name: INTEGRATION_NAME40,
43935
+ name: INTEGRATION_NAME41,
43705
43936
  setupOnce() {
43706
43937
  instrumentFirebase();
43707
43938
  }
@@ -43715,6 +43946,7 @@ function getAutoPerformanceIntegrations() {
43715
43946
  expressIntegration(),
43716
43947
  fastifyIntegration(),
43717
43948
  graphqlIntegration(),
43949
+ honoIntegration(),
43718
43950
  mongoIntegration(),
43719
43951
  mongooseIntegration(),
43720
43952
  mysqlIntegration(),
@@ -43740,10 +43972,10 @@ function getAutoPerformanceIntegrations() {
43740
43972
  }
43741
43973
 
43742
43974
  // ../../node_modules/@sentry/node/build/esm/sdk/initOtel.js
43743
- var import_api19 = __toESM(require_src(), 1);
43975
+ var import_api20 = __toESM(require_src(), 1);
43744
43976
  var import_resources = __toESM(require_src8(), 1);
43745
43977
  var import_sdk_trace_base2 = __toESM(require_src9(), 1);
43746
- var import_semantic_conventions8 = __toESM(require_src2(), 1);
43978
+ var import_semantic_conventions9 = __toESM(require_src2(), 1);
43747
43979
  var MAX_MAX_SPAN_WAIT_DURATION = 1e6;
43748
43980
  function initOpenTelemetry(client, options = {}) {
43749
43981
  if (client.getOptions().debug) {
@@ -43756,9 +43988,9 @@ function setupOtel(client, options = {}) {
43756
43988
  const provider = new import_sdk_trace_base2.BasicTracerProvider({
43757
43989
  sampler: new SentrySampler(client),
43758
43990
  resource: import_resources.defaultResource().merge(import_resources.resourceFromAttributes({
43759
- [import_semantic_conventions8.ATTR_SERVICE_NAME]: "node",
43760
- [import_semantic_conventions8.SEMRESATTRS_SERVICE_NAMESPACE]: "sentry",
43761
- [import_semantic_conventions8.ATTR_SERVICE_VERSION]: SDK_VERSION
43991
+ [import_semantic_conventions9.ATTR_SERVICE_NAME]: "node",
43992
+ [import_semantic_conventions9.SEMRESATTRS_SERVICE_NAMESPACE]: "sentry",
43993
+ [import_semantic_conventions9.ATTR_SERVICE_VERSION]: SDK_VERSION
43762
43994
  })),
43763
43995
  forceFlushTimeoutMillis: 500,
43764
43996
  spanProcessors: [
@@ -43768,9 +44000,9 @@ function setupOtel(client, options = {}) {
43768
44000
  ...options.spanProcessors || []
43769
44001
  ]
43770
44002
  });
43771
- import_api19.trace.setGlobalTracerProvider(provider);
43772
- import_api19.propagation.setGlobalPropagator(new SentryPropagator);
43773
- import_api19.context.setGlobalContextManager(new SentryContextManager);
44003
+ import_api20.trace.setGlobalTracerProvider(provider);
44004
+ import_api20.propagation.setGlobalPropagator(new SentryPropagator);
44005
+ import_api20.context.setGlobalContextManager(new SentryContextManager);
43774
44006
  return provider;
43775
44007
  }
43776
44008
  function _clampSpanProcessorTimeout(maxSpanWaitDuration) {