@mastra/observability 1.10.0 → 1.10.1-alpha.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.
- package/CHANGELOG.md +9 -0
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/spans/base.d.ts.map +1 -1
- package/package.json +9 -9
package/dist/index.js
CHANGED
|
@@ -19265,6 +19265,9 @@ var BaseSpan = class {
|
|
|
19265
19265
|
options.parent?.metadata || options.metadata ? { ...options.parent?.metadata, ...options.metadata } : void 0,
|
|
19266
19266
|
this.deepCleanOptions
|
|
19267
19267
|
);
|
|
19268
|
+
if (options.requestContext && options.requestContext.size() > 0) {
|
|
19269
|
+
this.requestContext = deepClean(options.requestContext.all, this.deepCleanOptions);
|
|
19270
|
+
}
|
|
19268
19271
|
this.parent = options.parent;
|
|
19269
19272
|
this.startTime = options.startTime ?? /* @__PURE__ */ new Date();
|
|
19270
19273
|
this.observabilityInstance = observabilityInstance;
|