René's URL Explorer Experiment


Title: Prevent exception in HttpServer exporter when using custom root metrics path by Donnerbart · Pull Request #1772 · prometheus/client_java · GitHub

Open Graph Title: Prevent exception in HttpServer exporter when using custom root metrics path by Donnerbart · Pull Request #1772 · prometheus/client_java

X Title: Prevent exception in HttpServer exporter when using custom root metrics path by Donnerbart · Pull Request #1772 · prometheus/client_java

Description: The behavior of HttpServer.createContext() was changed between Java 11 and 21. In the current JDKs the server doesn't allow to register multiple contexts with the same path. So if you configure HTT...

Open Graph Description: The behavior of HttpServer.createContext() was changed between Java 11 and 21. In the current JDKs the server doesn't allow to register multiple contexts with the same path. So if you configure...

X Description: The behavior of HttpServer.createContext() was changed between Java 11 and 21. In the current JDKs the server doesn't allow to register multiple contexts with the same path. So if you confi...

Opengraph URL: https://github.com/prometheus/client_java/pull/1772

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:81f92b7e-848b-8519-0fe4-e7db69628e5d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA8D4:2A7914:4BB5F34:66A369F:697312AF
html-safe-nonceb351feb6acb0ba8020ba10821bd29b013af06a829b74896460d84cad545e7746
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEQ0OjJBNzkxNDo0QkI1RjM0OjY2QTM2OUY6Njk3MzEyQUYiLCJ2aXNpdG9yX2lkIjoiNDY3MTc3NTcwOTMzODk5NzQyMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc64134f512cca0af576f15e13d4697e4cee692420cccdbcad47e5844925ccd00
hovercard-subject-tagpull_request:3154683625
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_java/1772/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/159a15ff4c65407450056ede3b50486a50e39800edfe22e3f3a4850f226abd52/prometheus/client_java/pull/1772
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/159a15ff4c65407450056ede3b50486a50e39800edfe22e3f3a4850f226abd52/prometheus/client_java/pull/1772
og:image:altThe behavior of HttpServer.createContext() was changed between Java 11 and 21. In the current JDKs the server doesn't allow to register multiple contexts with the same path. So if you configure...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameDonnerbart
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/prometheus/client_java git https://github.com/prometheus/client_java.git
octolytics-dimension-user_id3380462
octolytics-dimension-user_loginprometheus
octolytics-dimension-repository_id7997879
octolytics-dimension-repository_nwoprometheus/client_java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id7997879
octolytics-dimension-repository_network_root_nwoprometheus/client_java
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
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#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_java%2Fpull%2F1772
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_java%2Fpull%2F1772
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_java
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
prometheus https://patch-diff.githubusercontent.com/prometheus
client_javahttps://patch-diff.githubusercontent.com/prometheus/client_java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_java
Fork 830 https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_java
Star 2.3k https://patch-diff.githubusercontent.com/login?return_to=%2Fprometheus%2Fclient_java
Code https://patch-diff.githubusercontent.com/prometheus/client_java
Issues 103 https://patch-diff.githubusercontent.com/prometheus/client_java/issues
Pull requests 28 https://patch-diff.githubusercontent.com/prometheus/client_java/pulls
Actions https://patch-diff.githubusercontent.com/prometheus/client_java/actions
Projects 0 https://patch-diff.githubusercontent.com/prometheus/client_java/projects
Security 0 https://patch-diff.githubusercontent.com/prometheus/client_java/security
Insights https://patch-diff.githubusercontent.com/prometheus/client_java/pulse
Code https://patch-diff.githubusercontent.com/prometheus/client_java
Issues https://patch-diff.githubusercontent.com/prometheus/client_java/issues
Pull requests https://patch-diff.githubusercontent.com/prometheus/client_java/pulls
Actions https://patch-diff.githubusercontent.com/prometheus/client_java/actions
Projects https://patch-diff.githubusercontent.com/prometheus/client_java/projects
Security https://patch-diff.githubusercontent.com/prometheus/client_java/security
Insights https://patch-diff.githubusercontent.com/prometheus/client_java/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fprometheus%2Fclient_java%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_java%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issue-comment-box
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
prometheus:mainhttps://patch-diff.githubusercontent.com/prometheus/client_java/tree/main
Donnerbart:bugfix/fix-exception-when-custom-root-metrics-pathhttps://patch-diff.githubusercontent.com/Donnerbart/client_java/tree/bugfix/fix-exception-when-custom-root-metrics-path
Prevent exception in HttpServer exporter when using custom root metrics path https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#top
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
prometheus:mainhttps://patch-diff.githubusercontent.com/prometheus/client_java/tree/main
Donnerbart:bugfix/fix-exception-when-custom-root-metrics-pathhttps://patch-diff.githubusercontent.com/Donnerbart/client_java/tree/bugfix/fix-exception-when-custom-root-metrics-path
Conversation 9 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
Commits 1 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/commits
Checks 7 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/checks
Files changed https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/files
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_java/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/Donnerbart
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
Jan 8, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issue-3791199038
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/zeitlinger
zeitlingerhttps://patch-diff.githubusercontent.com/zeitlinger
Jan 12, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issuecomment-3738165955
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/Donnerbart
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
Jan 13, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issuecomment-3743086555
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/jaydeluca
jaydelucahttps://patch-diff.githubusercontent.com/jaydeluca
Jan 15, 2026 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#pullrequestreview-3665635275
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/files
...orter-httpserver/src/test/java/io/prometheus/metrics/exporter/httpserver/HTTPServerTest.javahttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/files#diff-c5c2cdc04572f6033ea66e1b7cd4859178b7da6adea0f8fc46993ae83ce8fa6c
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/jaydeluca
jaydelucahttps://patch-diff.githubusercontent.com/jaydeluca
Jan 15, 2026 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#pullrequestreview-3667553269
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/files
https://patch-diff.githubusercontent.com/Donnerbart
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/b5ecdd1dbcecd8739fb795632eea8253718a1954..2377a3f93b809437f41d5a13758e50d041686d6c
b5ecdd1https://patch-diff.githubusercontent.com/prometheus/client_java/commit/b5ecdd1dbcecd8739fb795632eea8253718a1954
2377a3fhttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/2377a3f93b809437f41d5a13758e50d041686d6c
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/b5ecdd1dbcecd8739fb795632eea8253718a1954..2377a3f93b809437f41d5a13758e50d041686d6c
January 20, 2026 08:11https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#event-22154720229
https://patch-diff.githubusercontent.com/zeitlinger
zeitlingerhttps://patch-diff.githubusercontent.com/zeitlinger
Jan 20, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issuecomment-3773153035
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/Donnerbart
fix: prevent exception when using custom root metrics pathhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/commits/b55455f574ec2fa3b7ad9e81b977a3dc47c941d4
b55455fhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/commits/b55455f574ec2fa3b7ad9e81b977a3dc47c941d4
https://patch-diff.githubusercontent.com/Donnerbart
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/2377a3f93b809437f41d5a13758e50d041686d6c..b55455f574ec2fa3b7ad9e81b977a3dc47c941d4
2377a3fhttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/2377a3f93b809437f41d5a13758e50d041686d6c
b55455fhttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/b55455f574ec2fa3b7ad9e81b977a3dc47c941d4
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/2377a3f93b809437f41d5a13758e50d041686d6c..b55455f574ec2fa3b7ad9e81b977a3dc47c941d4
January 21, 2026 08:13https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#event-22181405577
https://patch-diff.githubusercontent.com/Donnerbart
Donnerbarthttps://patch-diff.githubusercontent.com/Donnerbart
Jan 21, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issuecomment-3776734210
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/zeitlinger
zeitlingerhttps://patch-diff.githubusercontent.com/zeitlinger
Jan 21, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772#issuecomment-3776885814
@Donnerbarthttps://github.com/Donnerbart
#1781https://github.com/prometheus/client_java/pull/1781
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
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_java%2Fpull%2F1772
https://patch-diff.githubusercontent.com/jaydeluca
jaydeluca https://patch-diff.githubusercontent.com/jaydeluca
https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772/files/2377a3f93b809437f41d5a13758e50d041686d6c
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1772
https://patch-diff.githubusercontent.com/Donnerbart
https://patch-diff.githubusercontent.com/zeitlinger
https://patch-diff.githubusercontent.com/jaydeluca
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.