Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency prometheus-client to v0.21.0 #79

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
prometheus-client ==0.5.0 -> ==0.21.0 age adoption passing confidence

Release Notes

prometheus/client_python (prometheus-client)

v0.21.0: 0.21.0 / 2024-09-20

Compare Source

What's Changed

[CHANGE] Reject invalid (not GET or OPTION) HTTP methods. #​1019
[ENHANCEMENT] Allow writing metrics when holding a lock for the metric in the same thread. #​1014
[BUGFIX] Check for and error on None label values. #​1012
[BUGFIX] Fix timestamp comparison. #​1038

v0.20.0: 0.20.0 / 2024-02-14

Compare Source

What's Changed

  • [CHANGE/BUGFIX] Update OpenMetrics Content Type to 1.0.0. #​997
  • [FEATURE] Enable graceful shutdown for start_{http,wsgi}_server by returning the server and thread. #​999
  • [FEATURE] Allow resetting counter metrics. #​1005
  • [BUGFIX] wsgi server: address family discovery is not quite right. #​1006

v0.19.0: 0.19.0 / 2023-11-20

Compare Source

What's Changed

[FEATURE] support HTTPS/TLS in start_http_server. #​946
[BUGFIX] fix: error in determining timestamp less than. #​979

v0.18.0: 0.18.0 / 2023-10-30

Compare Source

[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

v0.17.1: 0.17.1 / 2023-07-19

Compare Source

[BUGFIX] Use #!/usr/bin/env python instead of #!usr/bin/python in bridge/graphite.py. #​928

v0.17.0: 0.17.0 / 2023-05-24

Compare Source

[ENHANCEMENT] Add additional typing. #​887, #​903
[BUGFIX] Fix typo in python_gc_objects_collected metadata. #​894
[BUGFIX] Do not include .pyc files in the build wheel. #​906

v0.16.0: 0.16.0 / 2023-01-23

Compare Source

[FEATURE] Support HELP text in multiprocess mode. #​804
[ENHANCEMENT] Reduce the mmap minimum size. #​853
[BUGFIX] Use the correct OpenMetrics encoder when application/openmetrics-text is requested in ASGI apps. #​864
[BUGFIX] Allow Prometheus format parser to handle a missing space after labels. #​872

v0.15.0: 0.15.0 / 2022-10-13

Compare Source

[CHANGE] Remove choose_formatter. choose_formatter only existed for v0.14.x and was deprecated in v0.14.1. https://github.com/prometheus/client_python/pull/846
[FEATURE] Support TLS auth when using push gateway with tls_auth_handler. https://github.com/prometheus/client_python/pull/841
[ENHANCEMENT] Add sum, livemin, and livemax multiprocess modes for Gauges. https://github.com/prometheus/client_python/pull/794

v0.14.1: 0.14.1 / 2022-04-08

Compare Source

[BUGFIX] Revert choose_encoder being renamed to choose_formatter to fix a breaking change. For the 0.14.x release cycle choose_formatter will still exist, but will be removed in 0.15.0. #​796

v0.14.0: 0.14.0 / 2022-04-05

Compare Source

[ENHANCEMENT] Continued typing improvements and coverage. #​759, #​771, #​781
[ENHANCEMENT] Allow binding to IPv6 addresses. #​657
[ENHANCEMENT] Negotiate gzip content-encoding, enabled by default. #​776
[ENHANCEMENT] Allow disabling _created metrics via the PROMETHEUS_DISABLE_CREATED_SERIES environment variable. #​774
[BUGFIX] Correct minor typo in exception raised when exemplar labels are too long. #​773

v0.13.1: 0.13.1 / 2022-01-28

Compare Source

[BUGFIX] Relax some type constraints that were too strict. #​754, #​755, #​756, #​758
[BUGFIX] Explicitly export functions with __all__. #​757

v0.13.0: 0.13.0 / 2022-01-25

Compare Source

[CHANGE] Drop support for Python versions 2.7, 3.4, and 3.5. #​718
[FEATURE] Support adding labels when using .time() #​730
[ENHANCEMENT] Begin to add type hints to functions. #​705
[ENHANCEMENT] Improved go-to-declaration behavior for editors. #​747
[BUGFIX] Remove trailing slashes from pushgateway URLS. #​722
[BUGFIX] Catch non-integer bucket/count values. #​726

v0.12.0: 0.12.0 / 2021-10-29

Compare Source

[FEATURE] Exemplar support (excludes multiprocess) #​669
[ENHANCEMENT] Add support for Python 3.10 #​706
[ENHANCEMENT] Restricted Registry will handle metrics added after restricting #​675, #​680
[ENHANCEMENT] Raise a more helpful error if a metric is not observable #​666
[BUGFIX] Fix instance_ip_grouping_key not working on MacOS #​687
[BUGFIX] Fix assertion error from favicion.ico with Python 2.7 #​715

v0.11.0: 0.11.0 / 2021-06-01

Compare Source

[CHANGE] Specify that the labelvalues argument on metric constructors is internal by renaming it to _labelvalues. If you are affected by this change, it is likely that the metric was not being registered. #​660
[BUGFIX] write_to_textfile will overwrite files in windows. If using python 3.4 or newer the replace will be atomic. #​650

v0.10.1: 0.10.1 / 2021-04-08

Compare Source

[BUGFIX] Support lowercase prometheus_multiproc_dir environment variable in mark_process_dead. #​644

v0.10.0: 0.10.0 / 2021-04-02

Compare Source

  • [CHANGE] Python 2.6 is no longer supported. #​592
  • [CHANGE] The prometheus_multiproc_dir environment variable is deprecated in favor of PROMETHEUS_MULTIPROC_DIR. #​624
  • [FEATURE] Follow redirects when pushing to Pushgateway using passthrough_redirect_handler. #​622
  • [FEATURE] Metrics support a clear() method to remove all children. #​642
  • [ENHANCEMENT] Tag support in GraphiteBridge. #​618

v0.9.0: 0.9.0 / 2020-11-26

Compare Source

[ENHANCEMENT] Add support for python3.9 (#​600)
[ENHANCEMENT] Various updates for latest OpenMetrics draft spec (#​576 #​577)

v0.8.0: 0.8.0 / 2020-05-25

Compare Source

[FEATURE] Added ASGI application (#​512)
[FEATURE] Add support for parsing timestamps in Prometheus exposition format. (#​483)
[FEATURE] Add target_info to registries (#​453)
[ENHANCEMENT] Handle empty and slashes in label values for pushgateway (#​547 #​442)
[ENHANCEMENT] Various updates for latest OpenMetrics draft spec (#​434 #​445 #​538 #​460 #​496)
[ENHANCEMENT] Add HELP output for auto-created metrics (#​471)
[ENHANCEMENT] Use mmap.PAGESIZE constant as value for first read. (#​505)
[ENHANCEMENT] Add __repr__ method to metric objects, make them debug friendly. (#​481)
[ENHANCEMENT] Add observability check to metrics (#​455 #​520)
[BUGFIX] Fix urlparse in python >= 3.7.6 (#​497)
[BUGFIX] Cleaning up name before appending unit on name (#​543)
[BUGFIX] Allow for OSError on Google App Engine (#​448)

v0.7.1: 0.7.1 / 2019-06-20

Compare Source

[BUGFIX] multiprocess: don't crash on missing gauge_live/sum files (#​424)
[BUGFIX] correctly bind method on Python 2.x (#​403)

v0.7.0: 0.7.0 / 2019-06-07

Compare Source

[ENHANCEMENT] Multiprocess exposition speed boost (#​421)
[ENHANCEMENT] optimize openmetrics text parsing (~4x perf) (#​402)
[ENHANCEMENT] Add python3.7 support (#​418)
[ENHANCEMENT] Change exemplar length limit to be only for label names+values (#​397)
[BUGFIX] Disable gcCollector for pypy (#​380)

v0.6.0: 0.6.0 / 2019-02-19

Compare Source

[ENHANCEMENT] Better exceptions on exposition failure (#​364)
[BUGFIX] Fix deadlock in gcCollector, metrics are now different (#​371)
[BUGFIX] Fix thread leak in Python 3.7 (#​356)
[BUGFIX] Make the format strings compatible with Python 2.6 (#​361)
[BUGFIX] parser: ensure samples are of type Sample (#​358)


Configuration

📅 Schedule: Branch creation - "before 4am" (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 this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

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