We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
VERCEL_OTEL_ENDPOINTS
1 parent 11e27d2 commit 26167e7Copy full SHA for 26167e7
2 files changed
.changeset/eighty-ligers-pump.md
@@ -0,0 +1,5 @@
1
+---
2
+"@vercel/otel": minor
3
4
+
5
+Fixes an issue where VERCEL_OTEL_ENDPOINTS is not set
packages/otel/src/sdk.ts
@@ -454,7 +454,7 @@ function parseSpanProcessor(
454
env.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT ||
455
env.OTEL_EXPORTER_OTLP_ENDPOINT
456
) {
457
- return new BatchSpanProcessor(parseTraceExporter(env));
+ processors.push(new BatchSpanProcessor(parseTraceExporter(env)));
458
}
459
460
return processors;
0 commit comments