Skip to content

Conversation

@tmater
Copy link
Contributor

@tmater tmater commented Oct 29, 2025

Add Request ID to CloudWatch Events

Summary

Adds request ID tracking to AWS CloudWatch events to enable correlation between events and request logs.

Details

  • CloudWatch events now include "request_id" field in the JSON output when available
  • Follows the same pattern as InMemoryBufferEventListener for consistency

Testing

Updated AwsCloudWatchEventListenerTest to mock ContainerRequestContext and verify request ID appears in CloudWatch event messages

- Implement getRequestId() in PropertyMapEventListener base class
- Include request_id in CloudWatch event properties
@tmater
Copy link
Contributor Author

tmater commented Nov 3, 2025

Looks like #2962 is addressing this TODO as well.
I am closing this one.

@tmater tmater closed this Nov 3, 2025
@github-project-automation github-project-automation bot moved this from PRs In Progress to Done in Basic Kanban Board Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant