René's URL Explorer Experiment


Title: Use specific exception for duplicate timeseries by kajinamit · Pull Request #1074 · prometheus/client_python · GitHub

Open Graph Title: Use specific exception for duplicate timeseries by kajinamit · Pull Request #1074 · prometheus/client_python

X Title: Use specific exception for duplicate timeseries by kajinamit · Pull Request #1074 · prometheus/client_python

Description: Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.

Open Graph Description: Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.

X Description: Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.

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

X: @github

direct link

Domain: patch-diff.githubusercontent.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:a3c39e06-d681-52da-2adc-48e15953d89c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE0D2:10C3ED:19B238:2315FB:696FF84B
html-safe-nonce55ab083f57067bb32aa9b05727d514741978302b766eb46b8ffed7bf1935257d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEQyOjEwQzNFRDoxOUIyMzg6MjMxNUZCOjY5NkZGODRCIiwidmlzaXRvcl9pZCI6IjY1MTcwOTgwMTg1MzkzMDUwMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdf94e796eb51739b60c8ddd05153920dc0da820b92e891c4c69f4e7a8b9c8246
hovercard-subject-tagpull_request:2195409830
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/1074/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0b5f857756df5a01faabe9c6d2cf61d53a27df98ffa6ca36aea39eac54220c18/prometheus/client_python/pull/1074
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0b5f857756df5a01faabe9c6d2cf61d53a27df98ffa6ca36aea39eac54220c18/prometheus/client_python/pull/1074
og:image:altUse sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekajinamit
hostnamegithub.com
expected-hostnamegithub.com
None61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359
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
release91ceb31fcdebd150222e05551caf4a28f9532341
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1074
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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1074
Sign up https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
prometheus https://patch-diff.githubusercontent.com/prometheus
client_pythonhttps://patch-diff.githubusercontent.com/prometheus/client_python
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Fork 841 https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Star 4.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python
Code https://patch-diff.githubusercontent.com/prometheus/client_python
Issues 108 https://patch-diff.githubusercontent.com/prometheus/client_python/issues
Pull requests 28 https://patch-diff.githubusercontent.com/prometheus/client_python/pulls
Discussions https://patch-diff.githubusercontent.com/prometheus/client_python/discussions
Actions https://patch-diff.githubusercontent.com/prometheus/client_python/actions
Projects 0 https://patch-diff.githubusercontent.com/prometheus/client_python/projects
Wiki https://patch-diff.githubusercontent.com/prometheus/client_python/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/prometheus/client_python/security
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
Insights https://patch-diff.githubusercontent.com/prometheus/client_python/pulse
Code https://patch-diff.githubusercontent.com/prometheus/client_python
Issues https://patch-diff.githubusercontent.com/prometheus/client_python/issues
Pull requests https://patch-diff.githubusercontent.com/prometheus/client_python/pulls
Discussions https://patch-diff.githubusercontent.com/prometheus/client_python/discussions
Actions https://patch-diff.githubusercontent.com/prometheus/client_python/actions
Projects https://patch-diff.githubusercontent.com/prometheus/client_python/projects
Wiki https://patch-diff.githubusercontent.com/prometheus/client_python/wiki
Security https://patch-diff.githubusercontent.com/prometheus/client_python/security
Insights https://patch-diff.githubusercontent.com/prometheus/client_python/pulse
Sign up for GitHub https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_python%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#issue-comment-box
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
kajinamit:specific-exchttps://patch-diff.githubusercontent.com/kajinamit/client_python/tree/specific-exc
Use specific exception for duplicate timeseries https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#top
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
kajinamit:specific-exchttps://patch-diff.githubusercontent.com/kajinamit/client_python/tree/specific-exc
Conversation 4 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
Commits 1 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/commits
Checks 1 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/checks
Files changed https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/files
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/kajinamit
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
Nov 22, 2024https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#issue-2684245755
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
https://patch-diff.githubusercontent.com/kajinamit
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/6e89bc839f19eb4d10672ea3ab7c2d1ee7d59fc5..c9a7636ec80ca29afd89d6e7391194d8b90b5dee
6e89bc8https://patch-diff.githubusercontent.com/prometheus/client_python/commit/6e89bc839f19eb4d10672ea3ab7c2d1ee7d59fc5
c9a7636https://patch-diff.githubusercontent.com/prometheus/client_python/commit/c9a7636ec80ca29afd89d6e7391194d8b90b5dee
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/6e89bc839f19eb4d10672ea3ab7c2d1ee7d59fc5..c9a7636ec80ca29afd89d6e7391194d8b90b5dee
November 22, 2024 19:09https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#event-15402715861
https://patch-diff.githubusercontent.com/csmarchbanks
csmarchbankshttps://patch-diff.githubusercontent.com/csmarchbanks
Dec 6, 2024 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#pullrequestreview-2485134850
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/files
csmarchbankshttps://patch-diff.githubusercontent.com/csmarchbanks
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#pullrequestreview-2485134850
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
prometheus_client/registry.pyhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/files#diff-683812fc1c7c1545d3032466c8129f41d25d69de5bf9173ac09d958809bf432e
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
https://patch-diff.githubusercontent.com/kajinamit
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/c9a7636ec80ca29afd89d6e7391194d8b90b5dee..858d79a98456bd4a9542fb3779c119778486c34c
c9a7636https://patch-diff.githubusercontent.com/prometheus/client_python/commit/c9a7636ec80ca29afd89d6e7391194d8b90b5dee
858d79ahttps://patch-diff.githubusercontent.com/prometheus/client_python/commit/858d79a98456bd4a9542fb3779c119778486c34c
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/c9a7636ec80ca29afd89d6e7391194d8b90b5dee..858d79a98456bd4a9542fb3779c119778486c34c
December 10, 2024 08:49https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#event-15596973223
https://patch-diff.githubusercontent.com/kajinamit
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
Dec 10, 2024https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#issuecomment-2530857703
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
https://patch-diff.githubusercontent.com/kajinamit
Use specific exception for duplicate timeserieshttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/commits/26c0fca3635899df7ce410b04c9c3c0580ffff3f
26c0fcahttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/commits/26c0fca3635899df7ce410b04c9c3c0580ffff3f
https://patch-diff.githubusercontent.com/kajinamit
kajinamithttps://patch-diff.githubusercontent.com/kajinamit
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/858d79a98456bd4a9542fb3779c119778486c34c..26c0fca3635899df7ce410b04c9c3c0580ffff3f
858d79ahttps://patch-diff.githubusercontent.com/prometheus/client_python/commit/858d79a98456bd4a9542fb3779c119778486c34c
26c0fcahttps://patch-diff.githubusercontent.com/prometheus/client_python/commit/26c0fca3635899df7ce410b04c9c3c0580ffff3f
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/858d79a98456bd4a9542fb3779c119778486c34c..26c0fca3635899df7ce410b04c9c3c0580ffff3f
August 30, 2025 03:15https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074#event-19422108748
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_python%2Fpull%2F1074
https://patch-diff.githubusercontent.com/csmarchbanks
csmarchbanks https://patch-diff.githubusercontent.com/csmarchbanks
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074/files/c9a7636ec80ca29afd89d6e7391194d8b90b5dee
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1074
https://patch-diff.githubusercontent.com/kajinamit
https://patch-diff.githubusercontent.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.