diff --git a/src/components/codeContext.tsx b/src/components/codeContext.tsx index ad678268bf939..16c8d2198dfb9 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) => {