-
Notifications
You must be signed in to change notification settings - Fork 848
Comparing changes
Open a pull request
base repository: prometheus/client_python
base: v0.24.1
head repository: prometheus/client_python
compare: v0.25.0
- 6 commits
- 20 files changed
- 4 contributors
Commits on Jan 21, 2026
-
Migrate to Github Actions (#1153)
* Migrate to Github Actions * Pin github actions versions --------- Signed-off-by: Chris Marchbanks <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a854135 - Browse repository at this point
Copy the full SHA a854135View commit details
Commits on Feb 9, 2026
-
Fix server shutdown documentation (#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 #1068 Signed-off-by: Varun Chawla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1cf53fe - Browse repository at this point
Copy the full SHA 1cf53feView commit details -
Fix spaces in grouping key values for push_to_gateway (#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 #1064 Signed-off-by: Varun Chawla <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 671f75c - Browse repository at this point
Copy the full SHA 671f75cView commit details
Commits on Feb 18, 2026
-
Support MultiProcessCollector in RestrictedRegistry. (#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 <[email protected]> * 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 <[email protected]> * Fix comments Signed-off-by: Mathias Kende <[email protected]> --------- Signed-off-by: Mathias Kende <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8673912 - Browse repository at this point
Copy the full SHA 8673912View commit details
Commits on Apr 9, 2026
-
docs: add API reference for all metric types (#1159)
* docs: add API reference for all metric types Adds constructor parameter tables, method documentation, and runnable real-world examples for Counter, Gauge, Histogram, Summary, Info, and Enum. The _index.md quick-pick table now covers all six types. Also fixes labels.md which was missing remove(), remove_by_labels(), and clear() -- the metric pages were already linking to it for those methods. Closes #1021 Signed-off-by: k1chik <[email protected]> * docs: address review feedback on counter example and table header Revert quick-start counter example to use 'my_failures' (no _total suffix) since the library appends it automatically. Rename 'Value goes' column to 'Behavior' in the metric type overview table for clarity across all six types. Signed-off-by: k1chik <[email protected]> * docs: rename table column to 'Update model' Signed-off-by: k1chik <[email protected]> --------- Signed-off-by: k1chik <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for daa1626 - Browse repository at this point
Copy the full SHA daa1626View commit details -
Signed-off-by: Chris Marchbanks <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2cd1738 - Browse repository at this point
Copy the full SHA 2cd1738View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.24.1...v0.25.0