Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource attribute cloud.platform is being wrongly set for ECS on EC2 #1547

Open
robenie-cwt opened this issue Nov 17, 2024 · 1 comment
Open

Comments

@robenie-cwt
Copy link

Component(s)

aws-resources

What happened?

Description

When deploying an application using ECS on EC2, the resource attribute cloud.platform is being set as aws_ec2 instead of aws_ecs

Steps to Reproduce

  1. Instrument the application using the OTel Java Agent 2.9.0
  2. Deploy to AWS ECS using EC2

Deploy an application in AWS ECS using EC2. Also

Expected Result

The resource attribute should have

  1. The cloud.platform set as aws_ecs
  2. Have all of the Amazon ECS Attributes set as well

Actual Result

  1. The cloud.platform set as aws_ec2
  2. None of the Amazon ECS Attributes are set

Component version

2.9.0

Log output

No response

Additional context

No response

@trask
Copy link
Member

trask commented Nov 18, 2024

cc @wangzlei @srprash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants