Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prometheus/client_python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.23.1
Choose a base ref
...
head repository: prometheus/client_python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.24.0
Choose a head ref
  • 9 commits
  • 23 files changed
  • 9 contributors

Commits on Sep 19, 2025

  1. Add an AIOHTTP exporter (#1139)

    * Always run the asgi tests
    
    Since the client now requires a minimum of Python 3.9, we don't need to
    have this feature gate in place any more
    
    Signed-off-by: Lexi Robinson <lexi@lexi.org.uk>
    
    * Add an AIOHTTP exporter
    
    Unfortunately the AIOHTTP library doesn't support ASGI and apparently
    has no plans to do so which makes the ASGI exporter not suitable for
    anyone using it to run their python server.
    
    Where possible this commit follows the existing ASGI implementation and
    runs the same tests for consistency.
    
    Signed-off-by: Lexi Robinson <lexi@lexi.org.uk>
    
    ---------
    
    Signed-off-by: Lexi Robinson <lexi@lexi.org.uk>
    Lexicality authored Sep 19, 2025
    Configuration menu
    Copy the full SHA
    10db862 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2025

  1. Add remove_matching() method for metric label deletion (#1121)

    * Add remove_matching() method for metric label deletion
    
    Signed-off-by: Hazel <hazel@hazel.localdomain>
    
    * Rename function name, and the parameter's name
    
    Signed-off-by: Hazel <hazel@hazel.localdomain>
    
    * Make remove_by_labels() consistent with remove(): return None
    
    Signed-off-by: Hazel <hazel@hazel.localdomain>
    
    ---------
    
    Signed-off-by: Hazel <hazel@hazel.localdomain>
    Co-authored-by: Hazel <hazel@hazel.localdomain>
    hazel-shen and Hazel authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    378510b View commit details
    Browse the repository at this point in the history
  2. Add support for Python 3.14 (#1142)

    * Add Python version 3.14 to CircleCI config
    
    Signed-off-by: Naoyuki Sano <nsano@ae.em-net.ne.jp>
    
    * Update tox.ini
    
    Signed-off-by: Naoyuki Sano <nsano@ae.em-net.ne.jp>
    
    * Add support for Python 3.14 in pyproject.toml
    
    Signed-off-by: Naoyuki Sano <nsano@ae.em-net.ne.jp>
    
    * Update pyproject.toml
    
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    Signed-off-by: Naoyuki Sano <nsano@ae.em-net.ne.jp>
    
    ---------
    
    Signed-off-by: Naoyuki Sano <nsano@ae.em-net.ne.jp>
    Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
    nsano-rururu and Copilot authored Oct 28, 2025
    Configuration menu
    Copy the full SHA
    1783ca8 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2025

  1. fix(multiprocess): avoid double-building child metric names (#1035) (#…

    …1146)
    
    * fix(multiprocess): avoid double-building child metric names (#1035)
    
    Signed-off-by: hazel-shen <mail@hazel.style>
    
    * test: ensure child metrics retain parent namespace/subsystem/unit
    
    Signed-off-by: hazel-shen <mail@hazel.style>
    
    ---------
    
    Signed-off-by: hazel-shen <mail@hazel.style>
    hazel-shen authored Nov 17, 2025
    Configuration menu
    Copy the full SHA
    e8f8bae View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2025

  1. Don't interleave histogram metrics in multi-process collector (#1148)

    The OpenMetrics exposition format requires that samples for a given
    Metric (i.e. metric name and label set) are not interleaved, but the way
    that the multi-process collector handled accumulating histogram metrics
    could end up interleaving them.  Restructure it slightly to guarantee
    that all the samples for a given Metric are kept together.
    
    Fixes: #1147
    
    Signed-off-by: Colin Watson <cjwatson@debian.org>
    cjwatson authored Nov 26, 2025
    Configuration menu
    Copy the full SHA
    a264ec0 View commit details
    Browse the repository at this point in the history
  2. Relax registry type annotations for exposition (#1149)

    * Turn Collector into a Protocol
    
    We require Python >= 3.9 now, so there's no reason to avoid this any
    more.
    
    Signed-off-by: Colin Watson <cjwatson@debian.org>
    
    * Relax registry type annotations for exposition
    
    Anything with a suitable `collect` method will do: for instance, it's
    sometimes useful to be able to define a class whose `collect` method
    yields all metrics from a registry whose names have a given prefix, and
    such a class doesn't need to inherit from `CollectorRegistry`.
    
    Signed-off-by: Colin Watson <cjwatson@debian.org>
    
    ---------
    
    Signed-off-by: Colin Watson <cjwatson@debian.org>
    cjwatson authored Nov 26, 2025
    Configuration menu
    Copy the full SHA
    13df124 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2025

  1. Added compression support in pushgateway (#1144)

    * feat(): Added compression support in pushgateway
    
    Signed-off-by: ritesh-avesha <ritesh@aveshasystems.com>
    
    * fix(): Incorporated changes for PR review comments
    
    Signed-off-by: ritesh-avesha <ritesh@aveshasystems.com>
    
    * fix(): Incorporated changes for PR review comments, lint issues
    
    Signed-off-by: ritesh-avesha <ritesh@aveshasystems.com>
    
    * fix(): lint issues
    
    Signed-off-by: ritesh-avesha <ritesh@aveshasystems.com>
    
    ---------
    
    Signed-off-by: ritesh-avesha <ritesh@aveshasystems.com>
    ritesh-avesha authored Dec 12, 2025
    Configuration menu
    Copy the full SHA
    7b99592 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2026

  1. Add Django exporter (#1088) (#1143)

    Signed-off-by: Julie Rymer <rymerjulie.pro@gmail.com>
    Chadys authored Jan 5, 2026
    Configuration menu
    Copy the full SHA
    e1cdc20 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. Release 0.24.0

    Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
    csmarchbanks committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    c5024d3 View commit details
    Browse the repository at this point in the history
Loading