Skip to content

Commit 203efd8

Browse files
authored
ref!: Remove .orchestrion. from span origins (#22722)
Origins no longer encode the injection/patch mechanism (orchestrion vs otel/iitm). closes: JS-3119
1 parent 862c935 commit 203efd8

130 files changed

Lines changed: 386 additions & 429 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dev-packages/deno-integration-tests/suites/direct-client-acs/scenario.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const client = new DenoClient({
2121
stackParser: createStackParser(nodeStackLineParser()),
2222
beforeSendTransaction(event) {
2323
const spans = event.spans ?? [];
24-
if (spans.some(s => s.op === 'db' && s.data?.['sentry.origin'] === 'auto.db.orchestrion.mysql')) {
24+
if (spans.some(s => s.op === 'db' && s.data?.['sentry.origin'] === 'auto.db.mysql')) {
2525
nested = true;
2626
}
2727
return null;

dev-packages/deno-integration-tests/suites/orchestrion-amqplib/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,5 @@ Deno.test('amqplib instrumentation: orchestrion:amqplib:publish channel produces
5454
assertEquals(publishSpan!.description, 'publish my-exchange');
5555
assertEquals(publishSpan!.data?.['messaging.destination.name'], 'my-exchange');
5656
assertEquals(publishSpan!.data?.['messaging.system'], 'rabbitmq');
57-
assertEquals(publishSpan!.data?.['sentry.origin'], 'auto.amqplib.orchestrion.publisher');
57+
assertEquals(publishSpan!.data?.['sentry.origin'], 'auto.amqplib.publisher');
5858
});

dev-packages/deno-integration-tests/suites/orchestrion-anthropic/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ Deno.test('anthropic instrumentation: orchestrion @anthropic-ai/sdk:chat channel
5656
assertEquals(aiSpan!.data?.['gen_ai.request.model'], 'claude-3-5-sonnet-latest');
5757
assertEquals(aiSpan!.data?.['gen_ai.response.model'], 'claude-3-5-sonnet-20241022');
5858
assertEquals(aiSpan!.data?.['gen_ai.usage.total_tokens'], 15);
59-
assertEquals(aiSpan!.data?.['sentry.origin'], 'auto.ai.orchestrion.anthropic');
59+
assertEquals(aiSpan!.data?.['sentry.origin'], 'auto.ai.anthropic');
6060
});

dev-packages/deno-integration-tests/suites/orchestrion-aws/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,5 +79,5 @@ Deno.test('aws-sdk instrumentation: orchestrion @smithy/smithy-client:send chann
7979
assertEquals(awsSpan!.data?.['rpc.service'], 'CloudWatch');
8080
assertEquals(awsSpan!.data?.['rpc.method'], 'DescribeAlarms');
8181
assertEquals(awsSpan!.data?.['cloud.region'], 'us-east-1');
82-
assertEquals(awsSpan!.data?.['sentry.origin'], 'auto.aws.orchestrion.aws_sdk');
82+
assertEquals(awsSpan!.data?.['sentry.origin'], 'auto.aws.aws_sdk');
8383
});

dev-packages/deno-integration-tests/suites/orchestrion-firebase/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,5 @@ Deno.test('firebase instrumentation: orchestrion @firebase/firestore:add-doc cha
6262
assertEquals(fsSpan!.data?.['db.namespace'], '[DEFAULT]');
6363
assertEquals(fsSpan!.data?.['db.system.name'], 'firebase.firestore');
6464
assertEquals(fsSpan!.data?.['firebase.firestore.options.projectId'], 'demo-project');
65-
assertEquals(fsSpan!.data?.['sentry.origin'], 'auto.firebase.orchestrion.firestore');
65+
assertEquals(fsSpan!.data?.['sentry.origin'], 'auto.firebase.firestore');
6666
});

dev-packages/deno-integration-tests/suites/orchestrion-generic-pool/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ Deno.test('generic-pool instrumentation: orchestrion:generic-pool:acquire channe
5151
poolSpan,
5252
`expected a generic-pool.acquire span, got descriptions: ${parent.spans?.map(s => s.description).join(', ')}`,
5353
);
54-
assertEquals(poolSpan!.data?.['sentry.origin'], 'auto.db.orchestrion.generic_pool');
54+
assertEquals(poolSpan!.data?.['sentry.origin'], 'auto.db.generic_pool');
5555
});

dev-packages/deno-integration-tests/suites/orchestrion-google-genai/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ Deno.test('google-genai instrumentation: orchestrion @google/genai:generate-cont
5858
assertEquals(aiSpan!.data?.['gen_ai.request.model'], 'gemini-1.5-flash');
5959
assertEquals(aiSpan!.data?.['gen_ai.response.model'], 'gemini-1.5-flash-002');
6060
assertEquals(aiSpan!.data?.['gen_ai.usage.total_tokens'], 15);
61-
assertEquals(aiSpan!.data?.['sentry.origin'], 'auto.ai.orchestrion.google_genai');
61+
assertEquals(aiSpan!.data?.['sentry.origin'], 'auto.ai.google_genai');
6262
});

dev-packages/deno-integration-tests/suites/orchestrion-hapi/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ Deno.test('hapi instrumentation: orchestrion:@hapi/hapi:route channel wraps the
4747
assertEquals(hapiSpan!.description, 'GET /hello');
4848
assertEquals(hapiSpan!.data?.['hapi.type'], 'router');
4949
assertEquals(hapiSpan!.data?.['http.route'], '/hello');
50-
assertEquals(hapiSpan!.data?.['sentry.origin'], 'auto.http.orchestrion.hapi');
50+
assertEquals(hapiSpan!.data?.['sentry.origin'], 'auto.http.hapi');
5151
});

dev-packages/deno-integration-tests/suites/orchestrion-kafkajs/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ Deno.test('kafkajs instrumentation: orchestrion:kafkajs:send_batch channel produ
4646
assertEquals(kafkaSpan!.description, 'send my-topic');
4747
assertEquals(kafkaSpan!.data?.['messaging.system'], 'kafka');
4848
assertEquals(kafkaSpan!.data?.['messaging.destination.name'], 'my-topic');
49-
assertEquals(kafkaSpan!.data?.['sentry.origin'], 'auto.kafkajs.orchestrion.producer');
49+
assertEquals(kafkaSpan!.data?.['sentry.origin'], 'auto.kafkajs.producer');
5050
});

dev-packages/deno-integration-tests/suites/orchestrion-koa/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ Deno.test('koa instrumentation: orchestrion:koa:use channel wraps middleware int
4747
const koaSpan = parent.spans?.find(s => s.op === 'middleware.koa');
4848
assertExists(koaSpan, `expected a middleware.koa child span, got ops: ${parent.spans?.map(s => s.op).join(', ')}`);
4949
assertEquals(koaSpan!.description, 'myMiddleware');
50-
assertEquals(koaSpan!.data?.['sentry.origin'], 'auto.http.orchestrion.koa');
50+
assertEquals(koaSpan!.data?.['sentry.origin'], 'auto.http.koa');
5151
});

0 commit comments

Comments
 (0)