Skip to content

Conversation

@JeevanYewale
Copy link

Fixes #2348

Implements automatic TenantId logging for AWS Lambda Tenant Isolation feature.

Changes

  • Add TENANT_ID field to PowertoolsLoggedFields
  • Extract TenantId from Lambda context using reflection
  • Support for both Log4j2 and Logback backends
  • Zero code changes required for users

Impact

Enhances observability for multi-tenant serverless applications by automatically including tenant_id in JSON logs.

Signed-off-by: Jeevan Yewale <jeevanyewale4@gmial.com>
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add TenantId to Logger default properties

1 participant