[CompositeExporter] Export error: RangeError
Hi everyone,
I'm running into the following error and could use some help:
Mastra packages:
The confusing part is that I'm not explicitly using CompositeExporter or OpenTelemetry in my code. Does anyone know what might be causing this or how to address it?
Thanks in advance!
I'm running into the following error and could use some help:
[CompositeExporter] Export error: RangeError: Invalid string length
at JSON.stringify (<anonymous>)
at Object.serializeRequest (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\otlp-transformer\build\src\trace\json\trace.js:12:36)
at OTLPExportDelegate.export (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\otlp-exporter-base\build\src\otlp-export-delegate.js:50:52)
at OTLPTraceExporter.export (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\otlp-exporter-base\build\src\OTLPExporterBase.js:30:30)
at file:///C:/Users/REDACTED/Documents/GitHub/REDACTED/.mastra/output/instrumentation.mjs:62:28
at new Promise (<anonymous>)
at file:///C:/Users/REDACTED/Documents/GitHub/REDACTED/.mastra/output/instrumentation.mjs:60:23
at Array.map (<anonymous>)
at CompositeExporter.export (file:///C:/Users/REDACTED/Documents/GitHub/REDACTED/.mastra/output/instrumentation.mjs:59:22)
at doExport (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\sdk-node\node_modules\@opentelemetry\sdk-trace-base\build\src\export\BatchSpanProcessorBase.js:153:61)[CompositeExporter] Export error: RangeError: Invalid string length
at JSON.stringify (<anonymous>)
at Object.serializeRequest (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\otlp-transformer\build\src\trace\json\trace.js:12:36)
at OTLPExportDelegate.export (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\otlp-exporter-base\build\src\otlp-export-delegate.js:50:52)
at OTLPTraceExporter.export (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\otlp-exporter-base\build\src\OTLPExporterBase.js:30:30)
at file:///C:/Users/REDACTED/Documents/GitHub/REDACTED/.mastra/output/instrumentation.mjs:62:28
at new Promise (<anonymous>)
at file:///C:/Users/REDACTED/Documents/GitHub/REDACTED/.mastra/output/instrumentation.mjs:60:23
at Array.map (<anonymous>)
at CompositeExporter.export (file:///C:/Users/REDACTED/Documents/GitHub/REDACTED/.mastra/output/instrumentation.mjs:59:22)
at doExport (C:\Users\REDACTED\Documents\GitHub\REDACTED\node_modules\@opentelemetry\sdk-node\node_modules\@opentelemetry\sdk-trace-base\build\src\export\BatchSpanProcessorBase.js:153:61)Mastra packages:
{
"@mastra/core": "^0.24.6",
"@mastra/langfuse": "^0.2.3",
"@mastra/loggers": "^0.10.19",
"@mastra/memory": "^0.15.12",
"@mastra/pg": "^0.17.9",
"@mastra/rag": "^1.3.6",
"@mastra/vectorize": "^0.11.17"
}{
"@mastra/core": "^0.24.6",
"@mastra/langfuse": "^0.2.3",
"@mastra/loggers": "^0.10.19",
"@mastra/memory": "^0.15.12",
"@mastra/pg": "^0.17.9",
"@mastra/rag": "^1.3.6",
"@mastra/vectorize": "^0.11.17"
}The confusing part is that I'm not explicitly using CompositeExporter or OpenTelemetry in my code. Does anyone know what might be causing this or how to address it?
Thanks in advance!