Closed renovate[bot] closed 8 months ago
Descriptor | Linter | Files | Fixed | Errors | Elapsed time |
---|---|---|---|---|---|
β ACTION | actionlint | 5 | 0 | 0.09s | |
β BASH | bash-exec | 2 | 0 | 0.03s | |
β BASH | shellcheck | 2 | 0 | 0.03s | |
β BASH | shfmt | 2 | 0 | 0.0s | |
β DOCKERFILE | hadolint | 2 | 0 | 0.17s | |
β JSON | eslint-plugin-jsonc | 17 | 0 | 2.73s | |
β JSON | jsonlint | 17 | 0 | 0.63s | |
β JSON | npm-package-json-lint | yes | no | 0.65s | |
β JSON | prettier | 17 | 0 | 2.1s | |
β MARKDOWN | markdownlint | 3 | 0 | 0.68s | |
β PYTHON | bandit | 31 | 0 | 1.74s | |
β PYTHON | black | 31 | 0 | 2.05s | |
β PYTHON | flake8 | 31 | 0 | 1.03s | |
β PYTHON | isort | 31 | 0 | 0.48s | |
β PYTHON | mypy | 31 | 0 | 11.26s | |
β PYTHON | pyright | 31 | 0 | 11.33s | |
β PYTHON | ruff | 31 | 0 | 0.07s | |
β REPOSITORY | checkov | yes | no | 17.14s | |
β REPOSITORY | gitleaks | yes | no | 0.09s | |
β REPOSITORY | git_diff | yes | no | 0.01s | |
β REPOSITORY | grype | yes | no | 14.81s | |
β REPOSITORY | kics | yes | no | 37.68s | |
β REPOSITORY | secretlint | yes | no | 1.12s | |
β REPOSITORY | syft | yes | no | 0.5s | |
β REPOSITORY | trivy | yes | no | 10.19s | |
β REPOSITORY | trivy-sbom | yes | no | 5.44s | |
β REPOSITORY | trufflehog | yes | no | 10.07s | |
β YAML | prettier | 15 | 0 | 1.18s | |
β YAML | yamllint | 15 | 0 | 0.74s |
See detailed report in MegaLinter reports
You could have same capabilities but better runtime performances if you request a new MegaLinter flavor.
:tada: This PR is included in version 3.1.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
This PR contains the following updates:
==6.1.0
->==7.0.0
Release Notes
trallnag/prometheus-fastapi-instrumentator (prometheus-fastapi-instrumentator)
### [`v7.0.0`](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/blob/HEAD/CHANGELOG.md#700--2023-07-15) [Compare Source](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/compare/v6.1.0...v7.0.0) Major release with a single breaking change: Python 3.7 is not supported anymore. Beyond that, three improvements based on various pull requests. ##### Added - **Instrumentator now works without FastAPI**. This is possible because every FastAPI app is also a Starlette app (but not the other way around). Or to be more specific: FastAPI uses Starlette for things like routing and middleware this package relies on. The change is backwards compatible, even type checkers like mypy should continue working. Thanks to [@mvanderlee](https://togithub.com/mvanderlee) for proposing this in [#280](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/issues/280) and implementing it in [#288](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/pull/288). - **Middleware also records duration without streaming** in addition to the already existing total latency (i.e. the time consumed for streaming is not included in the duration value). The differentiation can be valuable as it shows the time to first byte. This mode is opt-in and can be enabled / used in several ways: The `Instrumentator()` constructor, the `metrics.default()` closure, and the `metrics.latency()` closure now come with the flag `should_exclude_streaming_duration`. The attribute `modified_duration_without_streaming` has been added to the `metrics.Info` class. Instances of `metrics.Info` are passed to instrumentation functions, where the added value can be used to set metrics. Thanks to [@dosuken123](https://togithub.com/dosuken123) for proposing this in [#291](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/issues/291) and implementing it in [#290](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/pull/290). - **Relaxed type of `get_route_name` argument to `HTTPConnection`**. This allows developers to use the `get_route_name` function for getting the name of websocket routes as well. Thanks to [@pajowu](https://togithub.com/pajowu) for proposing and implementing this feature in [#276](https://togithub.com/trallnag/prometheus-fastapi-instrumentator/pull/276). ##### Removed - **BREAKING:** Dropped support for Python 3.7 which is has reached end-of-life.Configuration
π Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.