Release 6.0.0 / 2023-03-20 #239
trallnag
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Small release with a small breaking change leading to a big version change following semantic versioning.
Breaking change only affects users that have custom instrumentations that access
info.response.body
, a feature introduced with 5.10.0 few weeks ago. See below for more information.Added
BREAKING: Disabled passing response body to instrumentation functions. Moved behind whitelist that is empty by default. Changes a feature introduced with 5.10.0. Only affects users that have custom instrumentations that access
info.response.body
.Opt-in via new parameter
body_handlers
added to instrumentator constructor. Parameter takes list of pattern strings to match handlers. For old behavior, pass argument[r".*"]
to match all handlers:Motivation for change: Collecting body negatively impacts performance of responses with largish body.
Thanks to @bbeattie-phxlabs for raising this issue in #234 and implementing it in #233 / #238.
This discussion was created from the release 6.0.0 / 2023-03-20.
Beta Was this translation helpful? Give feedback.
All reactions