Skip to content

chore(deps): bump prometheus-fastapi-instrumentator from 7.1.0 to 8.1.0 - #518

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/prometheus-fastapi-instrumentator-8.1.0
Open

chore(deps): bump prometheus-fastapi-instrumentator from 7.1.0 to 8.1.0#518
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/prometheus-fastapi-instrumentator-8.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 5, 2026

Copy link
Copy Markdown
Contributor

Bumps prometheus-fastapi-instrumentator from 7.1.0 to 8.1.0.

Release notes

Sourced from prometheus-fastapi-instrumentator's releases.

8.1.0 / 2026-07-26

Added

  • Added new optional parameter should_include_root_path to the Instrumentator constructor. When set to True, the default exported Prometheus metrics will include the FastAPI app's effective root_path in the handler label. Defaults to False to maintain backwards compatibility. Requested in #390 and implemented in #391.

Fixed

  • Fixed resolving route names with root path set in FastAPI app. Raised in #387 and implemented in #391.
  • Fixed incorrect handling of nested apps / routes in some corner cases introduced with 8.0.1. Raised in #389 and implemented in #391.

8.0.2 / 2026-06-23

Fixed

  • Replaced deprecated asyncio.iscoroutinefunction() with inspect.iscoroutinefunction() in Instrumentator.add() to avoid warnings on Python 3.12+ in #378.

8.0.1 / 2026-06-22

Fixed

  • Fixed resolving route names for routers registered via include_router() on FastAPI 0.116+ leading to AttributeError getting raised on every request. The internal route name resolution now also handles _IncludedRouter and recurses into the included router's own routes so the Prometheus label reflects the leaf endpoint. Thanks to @​adeebmirza in #371 for fixing it.
  • Fixed hitting mounts with slash redirection collecting wrong handler name. Thanks to @​lbonn for raising and fixing this issue in #369.

8.0.0 / 2026-05-29

  • BREAKING: Ported project to Starlette v1. This includes new required minimum versions of Python, Starlette, and FastAPI. Bumped starlette dependency from >=0.30.0,<1.0.0 to >=1.0.0,<2.0.0. Bumped requires-python from >=3.8 to >=3.10 (starlette dropped support). Bumped fastapi dev dependency to ^0.133.0 (first version supporting starlette v1). Adjusted middleware app parameter type from Starlette to ASGIApp. Thanks to @​bgermann in #357 for implementing it.
Changelog

Sourced from prometheus-fastapi-instrumentator's changelog.

8.1.0 / 2026-07-26

Added

  • Added new optional parameter should_include_root_path to the Instrumentator constructor. When set to True, the default exported Prometheus metrics will include the FastAPI app's effective root_path in the handler label. Defaults to False to maintain backwards compatibility. Requested in #390 and implemented in #391.

Fixed

  • Fixed resolving route names with root path set in FastAPI app. Raised in #387 and implemented in #391.
  • Fixed incorrect handling of nested apps / routes in some corner cases introduced with 8.0.1. Raised in #389 and implemented in #391.

8.0.2 / 2026-06-23

Fixed

  • Replaced deprecated asyncio.iscoroutinefunction() with inspect.iscoroutinefunction() in Instrumentator.add() to avoid warnings on Python 3.12+ in #378.

8.0.1 / 2026-06-22

Fixed

  • Fixed resolving route names for routers registered via include_router() on FastAPI 0.116+ leading to AttributeError getting raised on every request. The internal route name resolution now also handles _IncludedRouter and recurses into the included router's own routes so the Prometheus label reflects the leaf endpoint. Thanks to @​adeebmirza in #371 for fixing it.
  • Fixed hitting mounts with slash redirection collecting wrong handler name. Thanks to @​lbonn for raising and fixing this issue in #369.

... (truncated)

Commits
  • 2fca3e8 chore: Prepare release v8.1.0
  • d4ccc4e test: Add a few tests for fastapi behavior
  • 079140d test: Add tests for subapp instrumentation behavior
  • 9762104 test: Add flag for root path handling
  • 1aac4ce test: Add flag for root path handling
  • 35d56b3 test: Add flag for root path handling
  • 906e1b7 Adjust test name
  • ad58830 Rewrite from scratch
  • d1fa789 x
  • 38530af fix: Yet another regression
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [prometheus-fastapi-instrumentator](https://github.com/trallnag/prometheus-fastapi-instrumentator) from 7.1.0 to 8.1.0.
- [Release notes](https://github.com/trallnag/prometheus-fastapi-instrumentator/releases)
- [Changelog](https://github.com/trallnag/prometheus-fastapi-instrumentator/blob/master/CHANGELOG.md)
- [Commits](trallnag/prometheus-fastapi-instrumentator@v7.1.0...v8.1.0)

---
updated-dependencies:
- dependency-name: prometheus-fastapi-instrumentator
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies, python. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants