-
Notifications
You must be signed in to change notification settings - Fork 431
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
Request for additional destination.cloud.region field #1282
Comments
There's an existing field, |
The difference here is that we're talking about the cloud in which a destination service (e.g. AWS S3) is running. Perhaps we could allow |
And certain resources are associated with certain regions. For example, a bucket in s3 will be in a particular region, so the region is conceptually part of the destination. |
I read through the linked spec, but I'm not fully grasping the difference in this intended use case. Is there an example event you could link to or share using what's proposed? Staying with AWS S3 as the example, I'm comparing some existing use of For this use case, would a As a related side note, looking back at the description in the ECS docs for |
Perhaps these tests in the ruby s3 client repo would help clarify what I'm trying to describe in the AWS spec. The user is able to create a S3 client configured with a particular region but it's not necessarily the same region where the client is running. Further, individual API requests may be made to interact with resources in different regions. So given a client client = Aws::S3::Client.new(region: 'us-west-2') and a request client.get_object(bucket: 'my-bucket', key: 'obj') We would want to capture where the app with the ruby client is running in With the same client, a request can be made as: client.get_object(bucket: 'arn:aws:s3:us-east-1:123456789012:accesspoint:myendpoint', key: 'obj') In this case, we would want to capture a destination as |
Hi @ebeahan did you have a chance to read my previous comment? |
@estolfo sorry for the delay.
Thanks, the additional context here is helpful. I still have a couple of outstanding concerns around
|
@ebeahan I agree that only adding I've tried to find how e.g. beats uses I guess another option could always be that we decide that this particular use case is too specific to APM and not standardize it within ECS. |
The challenge around a
Any thought about this as a possible approach? |
Hi @ebeahan, |
@estolfo and I discussed the next steps outside this issue, and we considered the possibility of capturing the destination cloud as I think the discussion has concluded here, but feel free to re-open if there's more to discuss. |
@ebeahan and @estolfo I couldn't find an RFC proposal for this. Has this been driven forward? We have an implementation issue open to add this new field (elastic/apm-server#5050). |
@simitt I haven't written the proposal yet. Thanks for the ping- I can prioritize writing it so that the apm server can move forward with its open issue. |
No pressure from apm-server side, was just interested in the current state. We will hold off with this for now. |
@estolfo Stage 2 in ECS is intended to be for experimental use. If everyone is satisfied with how they are, we (ECS team) can help move forward with Stage 3. |
Hi ECS team
In working on a spec for the APM agents to instrument some AWS services, I've not found a field to record the AWS region.
I've proposed
context.destination.region
as a new field. I haven't worked on a spec for similar Azure services but we will have an Azure spec soon. I presume we would want to collect the region attribute somewhere for those as well.Would it make sense to add a
destination.region
attribute to ECS?Thanks!
The text was updated successfully, but these errors were encountered: