From ca6e668c57e0feac58659cf4d4f998fb76799af7 Mon Sep 17 00:00:00 2001 From: Matt Quinn Date: Wed, 1 Oct 2025 12:05:12 -0400 Subject: [PATCH] fix(otlp): Update OTLP URLs` --- src/components/codeContext.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/codeContext.tsx b/src/components/codeContext.tsx index ad678268bf9398..16c8d2198dfb9a 100644 --- a/src/components/codeContext.tsx +++ b/src/components/codeContext.tsx @@ -88,8 +88,8 @@ export const DEFAULTS: CodeKeywords = { MINIDUMP_URL: 'https://o0.ingest.sentry.io/api/0/minidump/?sentry_key=examplePublicKey', UNREAL_URL: 'https://o0.ingest.sentry.io/api/0/unreal/examplePublicKey/', - OTLP_TRACES_URL: 'https://o0.ingest.sentry.io/api/0/otlp/v1/traces/', - OTLP_LOGS_URL: 'https://o0.ingest.sentry.io/api/0/integrations/otlp/v1/logs/', + OTLP_TRACES_URL: 'https://o0.ingest.sentry.io/api/0/integration/otlp/v1/traces/', + OTLP_LOGS_URL: 'https://o0.ingest.sentry.io/api/0/integration/otlp/v1/logs/', title: `example-org / example-project`, }, ], @@ -142,11 +142,11 @@ const formatUnrealEngineURL = ({scheme, host, pathname, publicKey}: Dsn) => { }; const formatOtlpTracesUrl = ({scheme, host, pathname}: Dsn) => { - return `${scheme}${host}/api${pathname}/otlp/v1/traces/`; + return `${scheme}${host}/api${pathname}/integration/otlp/v1/traces/`; }; const formatOtlpLogsUrl = ({scheme, host, pathname}: Dsn) => { - return `${scheme}${host}/api${pathname}/integrations/otlp/v1/logs/`; + return `${scheme}${host}/api${pathname}/integration/otlp/v1/logs/`; }; const formatApiUrl = ({scheme, host}: Dsn) => {