Skip to content

fix(deps): update dependency prometheus-fastapi-instrumentator to v6 - autoclosed

renovate requested to merge renovate/prometheus-fastapi-instrumentator-6.x into master

This MR contains the following updates:

Package Change Age Adoption Passing Confidence
prometheus-fastapi-instrumentator ^5.11.1 -> ^6.0.0 age adoption passing confidence

Release Notes



Compare Source

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 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:

    instrumentator = Instrumentator(body_handlers=[r".*"])

    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.


📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.

  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports