Releases: prometheus/client_python
Releases · prometheus/client_python
v0.24.0
What's Changed
- Add an AIOHTTP exporter by @Lexicality in #1139
- Add remove_matching() method for metric label deletion by @hazel-shen in #1121
- fix(multiprocess): avoid double-building child metric names (#1035) by @hazel-shen in #1146
- Don't interleave histogram metrics in multi-process collector by @cjwatson in #1148
- Relax registry type annotations for exposition by @cjwatson in #1149
- Added compression support in pushgateway by @ritesh-avesha in #1144
- Add Django exporter (#1088) by @Chadys in #1143
Full Changelog: v0.23.1...v0.24.0
v0.23.1
v0.23.0
What's Changed
- UTF-8 Content Negotiation by @ywwg in #1102
- Re include test data by @mgorny in #1113
- Improve parser performance by @csmarchbanks in #1117
- Add support to
write_to_textfilefor custom tmpdir by @aadityadhruv in #1115 - OM text exposition for NH by @vesari in #1087
- Fix bug which caused metric publishing to not accept query string parameters in ASGI app by @hacksparr0w in #1125
- Emit native histograms only when OM 2.0.0 is requested by @vesari in #1128
- fix: remove space after comma in openmetrics exposition by @theSuess in #1132
- Fix issue parsing double spaces after # HELP/# TYPE by @csmarchbanks in #1134
New Contributors
- @mgorny made their first contribution in #1113
- @aadityadhruv made their first contribution in #1115
- @hacksparr0w made their first contribution in #1125
- @theSuess made their first contribution in #1132
Full Changelog: v0.22.1...v0.23.0
v0.22.1
What's Changed
- BugFix: Skip validating and parsing comment lines early (#1108) by @wissamir in #1109
- Use License Expressions in pyproject.toml by @csmarchbanks in #1111
Full Changelog: v0.22.0...v0.22.1
v0.22.0
What's Changed
- Add support for native histograms in OM parser by @vesari in #1040
- Add exemplar support to CounterMetricFamily [Fix #1062] by @lod in #1063
- Fix
write_to_textfileleaves back temp files on errors by @ethanschen in #1066 - Support UTF-8 in metric creation, parsing, and exposition by @ywwg in #1070
- Fix incorrect use of reentrant locks by @suligap in #1076
- Remove Python 3.8 support by @kajinamit in #1075
- Check if labelvalues is in _metrics before deletion in MetricWrapperBase.remove() by @GlorifiedPig in #1077
- Add support for Python 3.13 by @Pliner in #1080
- Correct nh sample span structure and parsing by @vesari in #1082
- Migrate from setup.py to pyproject.toml by @csmarchbanks in #1084
- Changed pushgateway.md by @mallika-mur in #1083
- Fix order-dependent flaky tests related to UTF-8 support by @dg98 in #1093
- Update versions for docs Github actions by @csmarchbanks in #1096
- Documentation Updates by @ethanschen in #1097
- Add note on gauge.set_function not working with multiprocessing by @aapeliv in #1098
- Don't send an empty HTTP header for /favicon.ico by @noselasd in #1101
Full Changelog: v0.21.0...v0.22.0
0.21.1 / 2024-12-03
What's Changed
[BUGFIX] Revert incorrect use of reentrant locks. #1076
0.21.0 / 2024-09-20
0.20.0 / 2024-02-14
What's Changed
0.19.0 / 2023-11-20
0.18.0 / 2023-10-30
[CHANGE] Remove support for Python versions < 3.8. #936
[FEATURE] Add mostrecent aggregation to Gauge. #967
[ENHANCEMENT] Typing improvements. #935, #970
[ENHANCEMENT] Allow enabling or disabling _created metrics from code. #973
[BUGFIX] Change #!/usr/bin/python to #!/usr/bin/env python in remaining places. #945