-
Notifications
You must be signed in to change notification settings - Fork 433
improv: override Tracer auto-capture response/exception via env vars #259
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
improv: override Tracer auto-capture response/exception via env vars #259
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #259 +/- ##
===========================================
- Coverage 99.81% 99.74% -0.08%
===========================================
Files 76 78 +2
Lines 2763 2777 +14
Branches 113 114 +1
===========================================
+ Hits 2758 2770 +12
- Misses 4 5 +1
- Partials 1 2 +1
Continue to review full report at Codecov.
|
Addressed all your comments and some other oversights I've noticed too - Here's the doc too. Over to you @nmoutschen |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* develop: chore: move env names to constant file (#264) docs: fix import (#267) feat: Add AppConfig parameter provider (#236) chore: update stale bot improv: override Tracer auto-capture response/exception via env vars (#259) docs: add info about extras layer (#260) feat: support extra parameter in Logger messages (#257) chore: general simplifications and cleanup (#255)
Issue #, if available: Feature parity with Java powertools PR aws-powertools/powertools-lambda-java#249
Description of changes:
Adds env var support to override default behaviour in Tracer of auto-capturing both response and error:
"true", "True", "TRUE"
)"true", "True", "TRUE"
)Checklist
Breaking change checklist
RFC issue #:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.