-
Notifications
You must be signed in to change notification settings - Fork 606
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
Implement aws.ecs.* resource attributes #1212
Conversation
597537d
to
43244d3
Compare
479314e
to
fd7aa97
Compare
There's discussion on open-telemetry/opentelemetry-java#4574 (comment) whether the ARNs like the one this PR builds are actually correct. Until we are use, let's not merge :D |
Update: The uncertainty about ARNs seems sorted out |
As done in the opentelemetry-go-contrib can we add we add test cases that utilize the fargate examples responses? |
Running the ECS UNIT tests ( |
@Kausik-A, I am running the tests locally with |
Done in d945a61 |
b91d370
to
ad00913
Compare
@Kausik-A I squashed, rebased and run the tests again; care to have a look? |
51bf4ad
to
2de26c8
Compare
@Kausik-A fixed the linter warnings and rebased due to changelog conflicts |
@Kausik-A would you be willing to add yourself to CODEOWNERS for this package since @NathanielRN hasn't been very active here? |
@srikanthccv are you referring to being codeowners for opentelemetry-sdk-extension-aws? |
Yes, then your review counts into merge requirements. |
Yeah, I can do that |
@Kausik-A have a look please? |
LGTM! @srikanthccv can you take a look at this permission-request-PR so that I can approve this? |
@srikanthccv can you approve the running workflow for this PR? I still can't seem to add my review. |
You can leave your approval review on the changes. |
Add support for the aws.ecs.* and aws.logs.* resource attributes in the `AwsEcsResourceDetector` detector when the ECS Metadata v4 is available
09b66c5
to
fbe2c80
Compare
@Kausik-A I fixed hopefully the last linting issue |
@mmanciop please fix the conflicts ✌️ |
@ocelotl done |
...xtension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/ecs.py
Outdated
Show resolved
Hide resolved
...xtension/opentelemetry-sdk-extension-aws/src/opentelemetry/sdk/extension/aws/resource/ecs.py
Outdated
Show resolved
Hide resolved
…y/sdk/extension/aws/resource/ecs.py Co-authored-by: Anthony Mirabella <[email protected]>
…y/sdk/extension/aws/resource/ecs.py Co-authored-by: Anthony Mirabella <[email protected]>
Description
Implement the experimental AWS ECS resource attributes using the Metadata v4 Endpoint.
Type of change
How Has This Been Tested?
General logic on Amazon ECS has been extensively tested by Lumigo in their OpenTelemetry Python Distro, which has shipped this detection logic for some time already.
Does This PR Require a Core Repo Change?
Checklist:
See contributing.md for styleguide, changelog guidelines, and more.