patrickkerrigan / php-xray

A PHP instrumentation library for AWS X-Ray
BSD 3-Clause "New" or "Revised" License
63 stars 26 forks source link

feat: allow setup aws.account_id for segments & subsegments #8

Closed WaylandAce closed 3 years ago

WaylandAce commented 3 years ago

Segments:

account_id – If your application sends segments to a different AWS account, record the ID of the account running your application.

Subsegments:

account_id – If your application accesses resources in a different account, or sends segments to a different account, record the ID of the account that owns the AWS resource that your application accessed.

AWS Documentation: https://docs.aws.amazon.com/xray/latest/devguide/xray-api-segmentdocuments.html

patrickkerrigan commented 3 years ago

Thanks again for the PRs! Your changes should now be available in 1.3.0