Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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: veeceey/client_python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
Loading
...
head repository: prometheus/client_python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Loading
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 8 files changed
  • 2 contributors

Commits on Feb 9, 2026

  1. Fix server shutdown documentation (prometheus#1155)

    Add server.server_close() call to shutdown example to properly
    release the port. Without this call, attempting to restart the
    server on the same port results in "Address already in use" error.
    
    Fixes prometheus#1068
    
    Signed-off-by: Varun Chawla <varun_6april@hotmail.com>
    veeceey authored Feb 9, 2026
    Configuration menu
    Copy the full SHA
    1cf53fe View commit details
    Browse the repository at this point in the history
  2. Fix spaces in grouping key values for push_to_gateway (prometheus#1156)

    Use base64 encoding for grouping key values containing spaces,
    similar to how values with slashes are handled. This prevents
    spaces from being converted to '+' signs by quote_plus().
    
    Fixes prometheus#1064
    
    Signed-off-by: Varun Chawla <varun_6april@hotmail.com>
    veeceey authored Feb 9, 2026
    Configuration menu
    Copy the full SHA
    671f75c View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2026

  1. Support MultiProcessCollector in RestrictedRegistry. (prometheus#1150)

    * Support MultiProcessCollector in RestrictedRegistry.
    
    This change makes it so that the RestrictedRegistry will always attempt to collect metrics from a collector for which it couldn’t find any metrics name. Although this can be used generally, this is meant to be used with MultiProcessCollector.
    
    This changes the current behavior of the code but should be somehow safe as it enables filtering in case where it was not working previously. If this is an issue, an alternative approach with an explicit flag could be used (set either in the MultiProcessCollector or in the registry).
    
    The intent here is to allow collecting a subset of metrics from production fastapi servers (running in multiprocess mode). So not having to change the library usage in these servers is advantageous to have filtering work out-of-the-box with this change.
    
    Signed-off-by: Mathias Kende <mathias.kende@mistral.ai>
    
    * Make the new support for collectors without names be explicit.
    
    This adds a parameters to the constructor of CollectorRegistry to allow that new behavior rather than make it be the default.
    
    Signed-off-by: Mathias Kende <mathias.kende@mistral.ai>
    
    * Fix comments
    
    Signed-off-by: Mathias Kende <mathias.kende@mistral.ai>
    
    ---------
    
    Signed-off-by: Mathias Kende <mathias.kende@mistral.ai>
    mathias-kende authored Feb 18, 2026
    Configuration menu
    Copy the full SHA
    8673912 View commit details
    Browse the repository at this point in the history
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.