This MR contains the following updates:
Small release with a small breaking change leading to an increase of the major version according to 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.
Ask or discuss anything quick about the release in the discussion #239.
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
Opt-in via new parameter
body_handlersadded to instrumentator constructor. Parameter takes list of pattern strings to match handlers. For old behavior, pass argument
[r".*"]to match all handlers:
instrumentator = Instrumentator(body_handlers=[r".*"])
Motivation for change: Collecting body negatively impacts performance of responses with largish body.
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.