René's URL Explorer Experiment


Title: Add remove_matching() method for metric label deletion by hazel-shen · Pull Request #1121 · prometheus/client_python · GitHub

Open Graph Title: Add remove_matching() method for metric label deletion by hazel-shen · Pull Request #1121 · prometheus/client_python

X Title: Add remove_matching() method for metric label deletion by hazel-shen · Pull Request #1121 · prometheus/client_python

Description: Description Fixes #1118 This PR introduces a new remove_by_labels() method to allow removing metric samples by matching a set of label values. Changes Added remove_by_labels() to MetricWrapperBas...

Open Graph Description: Description Fixes #1118 This PR introduces a new remove_by_labels() method to allow removing metric samples by matching a set of label values. Changes Added remove_by_labels() to MetricWrapperBas...

X Description: Description Fixes #1118 This PR introduces a new remove_by_labels() method to allow removing metric samples by matching a set of label values. Changes Added remove_by_labels() to MetricWrapperBas...

Opengraph URL: https://github.com/prometheus/client_python/pull/1121

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5a31289b-f018-33cb-227e-8c52f7aae712
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0EA:1254A9:52C32A:732311:696A7655
html-safe-nonce7103af02917b8fc4eb1c65c5d7c61bca458a1b5f16fae062b2697bb64247f6ce
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEVBOjEyNTRBOTo1MkMzMkE6NzMyMzExOjY5NkE3NjU1IiwidmlzaXRvcl9pZCI6IjcwNzMxMTU1ODQyNDQyNjA2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7b1fd97a77f0328632cdc143e9c4e83139c897a07a4a8f8716486b7f19d852c7
hovercard-subject-tagpull_request:2742093068
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/prometheus/client_python/1121/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6e7910e5c24b43287181f0e24e5097653ec5770fefe88efa3332b719d0e727cc/prometheus/client_python/pull/1121
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6e7910e5c24b43287181f0e24e5097653ec5770fefe88efa3332b719d0e727cc/prometheus/client_python/pull/1121
og:image:altDescription Fixes #1118 This PR introduces a new remove_by_labels() method to allow removing metric samples by matching a set of label values. Changes Added remove_by_labels() to MetricWrapperBas...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehazel-shen
hostnamegithub.com
expected-hostnamegithub.com
Nonecfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d
turbo-cache-controlno-preview
go-importgithub.com/prometheus/client_python git https://github.com/prometheus/client_python.git
octolytics-dimension-user_id3380462
octolytics-dimension-user_loginprometheus
octolytics-dimension-repository_id30618733
octolytics-dimension-repository_nwoprometheus/client_python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id30618733
octolytics-dimension-repository_network_root_nwoprometheus/client_python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6a0b6893c221f98f607598e939299fdf5763435d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/prometheus/client_python/pull/1121#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1121
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1121
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=prometheus%2Fclient_python
Reloadhttps://github.com/prometheus/client_python/pull/1121
Reloadhttps://github.com/prometheus/client_python/pull/1121
Reloadhttps://github.com/prometheus/client_python/pull/1121
prometheus https://github.com/prometheus
client_pythonhttps://github.com/prometheus/client_python
Notifications https://github.com/login?return_to=%2Fprometheus%2Fclient_python
Fork 841 https://github.com/login?return_to=%2Fprometheus%2Fclient_python
Star 4.3k https://github.com/login?return_to=%2Fprometheus%2Fclient_python
Code https://github.com/prometheus/client_python
Issues 108 https://github.com/prometheus/client_python/issues
Pull requests 28 https://github.com/prometheus/client_python/pulls
Discussions https://github.com/prometheus/client_python/discussions
Actions https://github.com/prometheus/client_python/actions
Projects 0 https://github.com/prometheus/client_python/projects
Wiki https://github.com/prometheus/client_python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/prometheus/client_python/security
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
Insights https://github.com/prometheus/client_python/pulse
Code https://github.com/prometheus/client_python
Issues https://github.com/prometheus/client_python/issues
Pull requests https://github.com/prometheus/client_python/pulls
Discussions https://github.com/prometheus/client_python/discussions
Actions https://github.com/prometheus/client_python/actions
Projects https://github.com/prometheus/client_python/projects
Wiki https://github.com/prometheus/client_python/wiki
Security https://github.com/prometheus/client_python/security
Insights https://github.com/prometheus/client_python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/prometheus/client_python/pull/1121#issue-comment-box
csmarchbankshttps://github.com/csmarchbanks
prometheus:masterhttps://github.com/prometheus/client_python/tree/master
hazel-shen:feature/remove-matchinghttps://github.com/hazel-shen/client_python/tree/feature/remove-matching
Add remove_matching() method for metric label deletion https://github.com/prometheus/client_python/pull/1121#top
csmarchbankshttps://github.com/csmarchbanks
prometheus:masterhttps://github.com/prometheus/client_python/tree/master
hazel-shen:feature/remove-matchinghttps://github.com/hazel-shen/client_python/tree/feature/remove-matching
Conversation 7 https://github.com/prometheus/client_python/pull/1121
Commits 3 https://github.com/prometheus/client_python/pull/1121/commits
Checks 1 https://github.com/prometheus/client_python/pull/1121/checks
Files changed https://github.com/prometheus/client_python/pull/1121/files
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
https://github.co/hiddenchars
https://github.com/prometheus/client_python/pull/{{ revealButtonHref }}
https://github.com/hazel-shen
hazel-shenhttps://github.com/hazel-shen
Aug 13, 2025https://github.com/prometheus/client_python/pull/1121#issue-3317605937
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
#1118https://github.com/prometheus/client_python/issues/1118
@csmarchbankshttps://github.com/csmarchbanks
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
Add remove_matching() method for metric label deletionhttps://github.com/prometheus/client_python/pull/1121/commits/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b
edb0e7chttps://github.com/prometheus/client_python/pull/1121/commits/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b
https://github.com/TheGameProfi
TheGameProfihttps://github.com/TheGameProfi
Aug 15, 2025 https://github.com/prometheus/client_python/pull/1121#pullrequestreview-3124365238
View reviewed changes https://github.com/prometheus/client_python/pull/1121/files/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b
https://github.com/csmarchbanks
csmarchbankshttps://github.com/csmarchbanks
Aug 15, 2025 https://github.com/prometheus/client_python/pull/1121#pullrequestreview-3125117086
View reviewed changes https://github.com/prometheus/client_python/pull/1121/files/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b
csmarchbankshttps://github.com/csmarchbanks
https://github.com/prometheus/client_python/pull/1121#pullrequestreview-3125117086
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
prometheus_client/metrics.pyhttps://github.com/prometheus/client_python/pull/1121/files/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b#diff-c146acd4b81d5b8995b2567ff78b9c11df02c051971f7e66f44bc6f765031273
csmarchbankshttps://github.com/csmarchbanks
Aug 15, 2025https://github.com/prometheus/client_python/pull/1121#discussion_r2279860261
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
hazel-shenhttps://github.com/hazel-shen
Aug 18, 2025https://github.com/prometheus/client_python/pull/1121#discussion_r2281962736
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
prometheus_client/metrics.pyhttps://github.com/prometheus/client_python/pull/1121/files/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b#diff-c146acd4b81d5b8995b2567ff78b9c11df02c051971f7e66f44bc6f765031273
csmarchbankshttps://github.com/csmarchbanks
Aug 15, 2025https://github.com/prometheus/client_python/pull/1121#discussion_r2279860946
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
hazel-shenhttps://github.com/hazel-shen
Aug 18, 2025https://github.com/prometheus/client_python/pull/1121#discussion_r2281964037
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
August 18, 2025 17:03https://github.com/prometheus/client_python/pull/1121#commits-pushed-ac8b74e
Rename function name, and the parameter's namehttps://github.com/prometheus/client_python/pull/1121/commits/ac8b74e1105fd5391194f4cda85e3e9929cf7041
ac8b74ehttps://github.com/prometheus/client_python/pull/1121/commits/ac8b74e1105fd5391194f4cda85e3e9929cf7041
Make remove_by_labels() consistent with remove(): return Nonehttps://github.com/prometheus/client_python/pull/1121/commits/fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
fc3fc1ehttps://github.com/prometheus/client_python/pull/1121/commits/fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
https://github.com/hazel-shen
hazel-shenhttps://github.com/hazel-shen
force-pushedhttps://github.com/prometheus/client_python/compare/213940c774937375d87837865442d66f155fb43b..fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
213940chttps://github.com/prometheus/client_python/commit/213940c774937375d87837865442d66f155fb43b
fc3fc1ehttps://github.com/prometheus/client_python/commit/fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
Compare https://github.com/prometheus/client_python/compare/213940c774937375d87837865442d66f155fb43b..fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
August 18, 2025 10:19https://github.com/prometheus/client_python/pull/1121#event-19200577393
https://github.com/TheGameProfi
TheGameProfihttps://github.com/TheGameProfi
Oct 7, 2025https://github.com/prometheus/client_python/pull/1121#issuecomment-3376720948
@csmarchbankshttps://github.com/csmarchbanks
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
https://github.com/csmarchbanks
csmarchbankshttps://github.com/csmarchbanks
Oct 28, 2025 https://github.com/prometheus/client_python/pull/1121#pullrequestreview-3389543811
View reviewed changes https://github.com/prometheus/client_python/pull/1121/files/fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
csmarchbankshttps://github.com/csmarchbanks
https://github.com/prometheus/client_python/pull/1121#pullrequestreview-3389543811
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
https://github.com/csmarchbanks
csmarchbankshttps://github.com/csmarchbanks
378510bhttps://github.com/prometheus/client_python/commit/378510b8ae91d23383cd1c7e0be180b374a1c84c
Oct 28, 2025https://github.com/prometheus/client_python/pull/1121#event-20557894506
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1121
https://github.com/csmarchbanks
csmarchbanks https://github.com/csmarchbanks
https://github.com/prometheus/client_python/pull/1121/files/fc3fc1ee69fbd0bdd17779c28081ef5175bda6a3
https://github.com/TheGameProfi
TheGameProfi https://github.com/TheGameProfi
https://github.com/prometheus/client_python/pull/1121/files/edb0e7c8ca38491f0ee28c244ecf2daf09a6638b
Implement deletion of Gauge metrics based on partially specified labels https://github.com/prometheus/client_python/issues/1118
Please reload this pagehttps://github.com/prometheus/client_python/pull/1121
https://github.com/hazel-shen
https://github.com/TheGameProfi
https://github.com/csmarchbanks
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.