-
Notifications
You must be signed in to change notification settings - Fork 817
Comparing changes
Open a pull request
base repository: prometheus/client_python
base: v0.22.0
head repository: prometheus/client_python
compare: master
- 13 commits
- 16 files changed
- 5 contributors
Commits on May 28, 2025
-
BugFix: Skip validating and parsing comment lines early (#1108) (#1109)
Signed-off-by: Wissam Abu Ahmad <wabuahma@redhat.com>
Configuration menu - View commit details
-
Copy full SHA for 938b73e - Browse repository at this point
Copy the full SHA 938b73eView commit details
Commits on Jun 2, 2025
-
Use License Expressions in pyproject.toml (#1111)
With the release of PEP-639 the best practice for specifying the license is now to use a license expression in the license field and specify any license files in license-files rather than the table-based approach from PEP-621. Including the license in the classifiers is also no longer allowed when using PEP-639 and has been removed. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f294cbb - Browse repository at this point
Copy the full SHA f294cbbView commit details -
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d24220a - Browse repository at this point
Copy the full SHA d24220aView commit details
Commits on Jun 12, 2025
-
Part of #1013 Signed-off-by: Owen Williams <owen.williams@grafana.com>
Configuration menu - View commit details
-
Copy full SHA for 831ed02 - Browse repository at this point
Copy the full SHA 831ed02View commit details -
Merge pull request #1102 from prometheus/owilliams/utf8-02
UTF-8 Content Negotiation
Configuration menu - View commit details
-
Copy full SHA for a6726a4 - Browse repository at this point
Copy the full SHA a6726a4View commit details -
Fix including test data (#1113)
Readd parts of `MANIFEST.in` responsible for including the test data in the source distribution. Without that, setuptools includes only `.py` files from the test tree, leading to test failures. Fixes #1112 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Configuration menu - View commit details
-
Copy full SHA for 6f19d31 - Browse repository at this point
Copy the full SHA 6f19d31View commit details
Commits on Jul 3, 2025
-
Add benchmark for text_string_to_metric_families
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 09b0826 - Browse repository at this point
Copy the full SHA 09b0826View commit details -
When searching for label end start the search after the label start
This saves ~10% in the benchmark. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for fb5f6d7 - Browse repository at this point
Copy the full SHA fb5f6d7View commit details -
Enumerate over text when finding unquoted char
Enumerating rather than using a while loop saves significant CPU when looking for an unquoted character. This ends up improving the benchmark ~20% on its own. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 119f1c2 - Browse repository at this point
Copy the full SHA 119f1c2View commit details -
Avoid unnecessary iterating across the same term
Split the term into the label name and label value portions in one swoop rather than starting from the beginning to find an = character after already going through the full term. This saves ~5% on the benchmark. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 2a2ca52 - Browse repository at this point
Copy the full SHA 2a2ca52View commit details
Commits on Jul 8, 2025
-
Add benchmark for text_string_to_metric_families (#1116)
Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f915160 - Browse repository at this point
Copy the full SHA f915160View commit details -
Merge pull request #1117 from prometheus/optimize-parser
Optimize parser
Configuration menu - View commit details
-
Copy full SHA for 26da805 - Browse repository at this point
Copy the full SHA 26da805View commit details
Commits on Jul 11, 2025
-
Add support to
write_to_textfile
for custom tmpdir (#1115)* Add support to write_to_textfile for custom tmpdir While the try/except block does prevent most of the temp files from persisting, if there is a non catchable exception, those temp files continue to pollute the directory. Optionally set the temp directory would let us write to something like /tmp, so the target directory isn't polluted Signed-off-by: Aaditya Dhruv <aadityadhruv@mailbox.org> * Modify write_to_textfile to ensure tmpdir is on same filesystem The tmpdir must be on the same filesystem to ensure an atomic operation takes place. If this is not enforced, there could be partial writes which can lead to partial/incorrect metrics being exported Signed-off-by: Aaditya Dhruv <aadityadhruv@mailbox.org> --------- Signed-off-by: Aaditya Dhruv <aadityadhruv@mailbox.org>
Configuration menu - View commit details
-
Copy full SHA for 7368028 - Browse repository at this point
Copy the full SHA 7368028View 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.22.0...master