Skip to content

Commit c7fce0a

Browse files
committed
Use underscore in span origin: auto.aws.orchestrion.aws_sdk
Span origins only allow letters, digits, underscores, and dots per segment; matches the auto.ai.orchestrion.google_genai precedent.
1 parent 34dad35 commit c7fce0a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/server-utils/src/integrations/tracing-channel/aws-sdk/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*/
1111

1212
/** The span origin every aws-sdk channel span carries, mirroring the uniform OTel `auto.otel.aws`. */
13-
export const AWS_SDK_ORIGIN = 'auto.aws.orchestrion.aws-sdk';
13+
export const AWS_SDK_ORIGIN = 'auto.aws.orchestrion.aws_sdk';
1414

1515
export const ATTR_RPC_SYSTEM = 'rpc.system';
1616
export const AWS_REQUEST_ID = 'aws.request.id';

packages/server-utils/src/integrations/tracing-channel/aws-sdk/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ const _awsChannelIntegration = (() => {
232232
* Subscribes to the `orchestrion:@smithy/smithy-client:send` (and equivalent) diagnostics_channel
233233
* the orchestrion code transform injects into the AWS SDK's smithy `Client.prototype.send`, emitting
234234
* spans identical to the OTel `@opentelemetry/instrumentation-aws-sdk` integration (with a distinct
235-
* `auto.aws.orchestrion.aws-sdk` origin). Requires the orchestrion runtime hook or bundler plugin —
235+
* `auto.aws.orchestrion.aws_sdk` origin). Requires the orchestrion runtime hook or bundler plugin —
236236
* wire it up via `experimentalUseDiagnosticsChannelInjection()`.
237237
*
238238
* @experimental

0 commit comments

Comments
 (0)