From 10586f68970b5ab5bc5454de832c534671b33c18 Mon Sep 17 00:00:00 2001 From: Abhijeet Prasad Date: Thu, 23 Oct 2025 08:51:45 -0400 Subject: [PATCH] chore: Use integrations otlp traces endpoint in js tests --- static/app/views/settings/project/loaderScript.spec.tsx | 4 ++-- .../views/settings/project/projectKeys/list/index.spec.tsx | 2 +- tests/js/fixtures/projectKeys.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/static/app/views/settings/project/loaderScript.spec.tsx b/static/app/views/settings/project/loaderScript.spec.tsx index 1c06264dac88af..1b2f5656da8bdb 100644 --- a/static/app/views/settings/project/loaderScript.spec.tsx +++ b/static/app/views/settings/project/loaderScript.spec.tsx @@ -100,7 +100,7 @@ describe('LoaderScript', () => { crons: '', playstation: 'http://dev.getsentry.net:8000/api/1/playstation?sentry_key=188ee45a58094d939428d8585aa6f662', - otlp_traces: 'http://dev.getsentry.net:8000/api/1/otlp/v1/traces', + otlp_traces: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/traces', otlp_logs: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/logs', }, public: '188ee45a58094d939428d8585aa6f662', @@ -242,7 +242,7 @@ describe('LoaderScript', () => { crons: '', playstation: 'http://dev.getsentry.net:8000/api/1/playstation?sentry_key=188ee45a58094d939428d8585aa6f662', - otlp_traces: 'http://dev.getsentry.net:8000/api/1/otlp/v1/traces', + otlp_traces: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/traces', otlp_logs: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/logs', }, public: '188ee45a58094d939428d8585aa6f662', diff --git a/static/app/views/settings/project/projectKeys/list/index.spec.tsx b/static/app/views/settings/project/projectKeys/list/index.spec.tsx index 8a6e23915eab34..90609665608fb9 100644 --- a/static/app/views/settings/project/projectKeys/list/index.spec.tsx +++ b/static/app/views/settings/project/projectKeys/list/index.spec.tsx @@ -163,7 +163,7 @@ describe('ProjectKeys', () => { crons: '', playstation: 'http://dev.getsentry.net:8000/api/1/playstation?sentry_key=188ee45a58094d939428d8585aa6f662', - otlp_traces: 'http://dev.getsentry.net:8000/api/1/otlp/v1/traces', + otlp_traces: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/traces', otlp_logs: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/logs', }, dateCreated: '2018-02-28T07:13:51.087Z', diff --git a/tests/js/fixtures/projectKeys.ts b/tests/js/fixtures/projectKeys.ts index 4637175db42880..24038873bffca2 100644 --- a/tests/js/fixtures/projectKeys.ts +++ b/tests/js/fixtures/projectKeys.ts @@ -17,7 +17,7 @@ export function ProjectKeysFixture(params: ProjectKey[] = []): ProjectKey[] { 'http://dev.getsentry.net:8000/api/1/security-report/?sentry_key=188ee45a58094d939428d8585aa6f661', playstation: 'http://dev.getsentry.net:8000/api/1/playstation/?sentry_key=188ee45a58094d939428d8585aa6f661', - otlp_traces: 'http://dev.getsentry.net:8000/api/1/otlp/v1/traces', + otlp_traces: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/traces', otlp_logs: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/logs', }, public: '188ee45a58094d939428d8585aa6f661',