generated from amazon-archives/__template_MIT-0
- Notifications
You must be signed in to change notification settings - Fork 458
Closed
Labels
feature-requestfeature requestfeature request
Description
Is your feature request related to a problem? Please describe.
Customers like @michaelbrewer would like the ability to override Tracer default behaviour by not adding Lambda handler, or a method's response as X-Ray subsegment metadata - While X-Ray metadata isn't indexed or searchable, it might contain sensitive information that can violate one's compliance.
Describe the solution you'd like
A new keyword argument for both capture_method and capture_lambda_handler:
@tracer.capture_lambda_handler(capture_response=False) def handler(event, context): ... @tracer.capture_method(capture_response=False) def a_function(): ...Describe alternatives you've considered
- Encrypt or mask sensitive information from response
Additional context
michaelbrewer
Metadata
Metadata
Assignees
Labels
feature-requestfeature requestfeature request
Type
Projects
Status
Triage