-
Notifications
You must be signed in to change notification settings - Fork 585
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
AWS ECS detector should detect otel CloudRegion/CloudAccountID/CloudAvailabilityZone/CloudResourceID #4874
Conversation
…vailabilityZone/CloudResourceID Some applications rely on the otel non-vendored cloud tags being populated in metrics/traces. For ECS workloads, we can populate these from the data that's already returned from the ECS Metadata API, so this can be used to add to the resource's attributes.
|
This looks like a duplicate of #4860 |
Ah, that PR didn't exist when I originally forked. If it does the same thing, then we should obviously do that one instead. |
In #4860 I did not implement |
My pitch is that it should be the containerId, because a task can contain multiple containers which may all be looking to publish otel data. ResourceId feels like it should represent the most granular ID of the metrics/trace/logs reporter. Not firmly wedded to this though! (I'm unable to open slack in my current context, so apologies, can't see that URL). |
The I opened this issue on the And by For reference, using the metadata v4 examples by AWS:
|
@andrew-rowson-lseg I am opening a PR for |
Closing in favor of #5091 |
Some applications rely on the otel non-vendored cloud tags being populated in metrics/traces. For ECS workloads, we can populate these from the data that's already returned from the ECS Metadata API, so this can be used to add to the resource's attributes.