Skip to content

AWS SDK request id is using aws.requestId instead of aws.request_id defined in semantic conventions #12311

@pingleig

Description

@pingleig

Describe the bug

In semantic convention registry, the attribute name for request id is aws.request_id schema, while the SDK generated spans are using aws.requestId

Both v1 and v2 SDK are using aws.requestId

Permlinks

v1

v2

Steps to reproduce

N/A the attribute names are defined in code. Though I found this while using Application Signal's SDK on EKS calling S3 aws-observability/aws-otel-java-instrumentation#894

Expected behavior

aws.request_id in snake_case

Actual behavior

aws.requestId in camelCase

Javaagent or library instrumentation version

N/A

Environment

N/A

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcontribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcome

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions