Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

fix(otel): right url

Gergő Móricz58483c47ef1a
diff --git a/apps/api/src/index.ts b/apps/api/src/index.ts
index 986059dde..b3cc0138a 100644
--- a/apps/api/src/index.ts
+++ b/apps/api/src/index.ts
@@ -83,7 +83,7 @@ const otelSdk = shouldOtel
? [
new BatchSpanProcessor(
new OTLPTraceExporter({
- url: "https://api.honeycomb.io/v1/traces",
+ url: "https://api.honeycomb.io",
headers: {
"x-honeycomb-team": process.env.HONEYCOMB_TEAM_ID,
},
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index 5d4e549c2..bbae4a02b 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -87,7 +87,7 @@ const otelSdk = shouldOtel
? [
new BatchSpanProcessor(
new OTLPTraceExporter({
- url: "https://api.honeycomb.io/v1/traces",
+ url: "https://api.honeycomb.io",
headers: {
"x-honeycomb-team": process.env.HONEYCOMB_TEAM_ID,
},
diff --git a/apps/api/src/services/worker/scrape-worker.ts b/apps/api/src/services/worker/scrape-worker.ts
index fa56f8dd4..6ebd829d2 100644
--- a/apps/api/src/services/worker/scrape-worker.ts
+++ b/apps/api/src/services/worker/scrape-worker.ts
@@ -1170,7 +1170,7 @@ const otelSdk = shouldOtel
? [
new BatchSpanProcessor(
new OTLPTraceExporter({
- url: "https://api.honeycomb.io/v1/traces",
+ url: "https://api.honeycomb.io",
headers: {
"x-honeycomb-team": process.env.HONEYCOMB_TEAM_ID,
},