Skip to content

[receiver/datadog] AWS SDK spans name and attributes don't comply with OTel Semconv #44723

@cyrille-leclerc

Description

@cyrille-leclerc

Component(s)

receiver/datadog

What happened?

Description

The OTel Collector Datadog receiver produces AWS SDK spans that violate OTel semantic conventions, causing important semantic information to be lost.

AWS SDK S3 span

ACTUAL EXPECTED
span.name: aws.request span.name: S3/headObject
- rpc.system: ws-api
aws.service: S3 rpc.service: S3
aws.operation: headObject rpc.method: headObject
aws.s3.bucket_name: my-bucket aws.s3.bucket: my-bucket
aws.response.request_id: 1234567890 aws.request_id: 1234567890

Steps to Reproduce

Expected Result

Actual Result

Collector version

v0.139.0

Environment information

Environment

OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")

OpenTelemetry Collector configuration

Log output

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions