Skip to content

Commit 63b05e5

Browse files
committed
chore: Prepare release v7.1.0
1 parent 9dc048b commit 63b05e5

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@ and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0).
99

1010
Nothing.
1111

12+
## [7.1.0](https://github.com/trallnag/prometheus-fastapi-instrumentator/compare/v7.0.2...v7.1.0) / 2025-03-19
13+
14+
### Added
15+
16+
- Included metrics closure creators have new optional parameter `custom_labels`
17+
to set additional custom static labels. Parameter has not been added to the
18+
`Instrumentator()` constructor. Thanks to
19+
[@iocentos](https://github.com/iocentos) for requesting this in
20+
[#279](https://github.com/trallnag/prometheus-fastapi-instrumentator/issues/279)
21+
and [@martian711](https://github.com/martian711) in
22+
[#287](https://github.com/trallnag/prometheus-fastapi-instrumentator/pull/287)
23+
as well as [@Budlee](https://github.com/Budlee) in
24+
[#326](https://github.com/trallnag/prometheus-fastapi-instrumentator/pull/326)
25+
for implementing it.
26+
1227
## [7.0.2](https://github.com/trallnag/prometheus-fastapi-instrumentator/compare/v7.0.1...v7.0.2) / 2025-01-14
1328

1429
### Fixed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[project]
66
name = "prometheus-fastapi-instrumentator"
7-
version = "7.0.2"
7+
version = "7.1.0"
88
description = "Instrument your FastAPI app with Prometheus metrics"
99
authors = [
1010
{name = "Tim Schwenke", email = "[email protected]"}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from .instrumentation import PrometheusFastApiInstrumentator
22

3-
__version__ = "7.0.2"
3+
__version__ = "7.1.0"
44

55
Instrumentator = PrometheusFastApiInstrumentator

0 commit comments

Comments
 (0)