René's URL Explorer Experiment


Title: Improve histogram, summary performance under contention by striping observationCount by jack-berg · Pull Request #1794 · prometheus/client_java · GitHub

Open Graph Title: Improve histogram, summary performance under contention by striping observationCount by jack-berg · Pull Request #1794 · prometheus/client_java

X Title: Improve histogram, summary performance under contention by striping observationCount by jack-berg · Pull Request #1794 · prometheus/client_java

Description: Was working on improving the performance of opentelemetry-java metrics under high contention, and realized that the same strategy I identified to help over there helps for the prometheus implementa...

Open Graph Description: Was working on improving the performance of opentelemetry-java metrics under high contention, and realized that the same strategy I identified to help over there helps for the prometheus implementa...

X Description: Was working on improving the performance of opentelemetry-java metrics under high contention, and realized that the same strategy I identified to help over there helps for the prometheus implementa...

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

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:08ce9512-4de3-165e-01ab-6132221fdc5f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC60C:11F8A0:4EF8DEC:6B2902F:6973174D
html-safe-nonced1f3bdc8f65d988059d84bec16ecadc2ec428564b64540b4a1ad5b8ce054a98e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjBDOjExRjhBMDo0RUY4REVDOjZCMjkwMkY6Njk3MzE3NEQiLCJ2aXNpdG9yX2lkIjoiMzY2NjY1NzEzMzMzMjczMTcyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac20d52cad9aaff7a355fb151c9fe0cc93b203d463fa9b096c4ea67a31f1d12037
hovercard-subject-tagpull_request:3193768300
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/1794/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/18a5017f14811269edba000b80f589b6a0f2e025877f28596993b92308887054/prometheus/client_java/pull/1794
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/18a5017f14811269edba000b80f589b6a0f2e025877f28596993b92308887054/prometheus/client_java/pull/1794
og:image:altWas working on improving the performance of opentelemetry-java metrics under high contention, and realized that the same strategy I identified to help over there helps for the prometheus implementa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejack-berg
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/1794#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%2F1794
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%2F1794
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/1794
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
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/1794#issue-comment-box
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
prometheus:mainhttps://patch-diff.githubusercontent.com/prometheus/client_java/tree/main
jack-berg:stripe-buffer-observation-countshttps://patch-diff.githubusercontent.com/jack-berg/client_java/tree/stripe-buffer-observation-counts
Improve histogram, summary performance under contention by striping observationCount https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#top
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
prometheus:mainhttps://patch-diff.githubusercontent.com/prometheus/client_java/tree/main
jack-berg:stripe-buffer-observation-countshttps://patch-diff.githubusercontent.com/jack-berg/client_java/tree/stripe-buffer-observation-counts
Conversation 1 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
Commits 1 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/commits
Checks 7 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/checks
Files changed https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/files
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_java/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/jack-berg
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
Jan 21, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#issue-3836563577
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
https://patch-diff.githubusercontent.com/jack-berg
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/8cd7e501817a0f4c00e1d4a733858f59a7a67408..4c2146cb561bb7e6abebcceb2cf4bc6873088326
8cd7e50https://patch-diff.githubusercontent.com/prometheus/client_java/commit/8cd7e501817a0f4c00e1d4a733858f59a7a67408
4c2146chttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/4c2146cb561bb7e6abebcceb2cf4bc6873088326
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/8cd7e501817a0f4c00e1d4a733858f59a7a67408..4c2146cb561bb7e6abebcceb2cf4bc6873088326
January 21, 2026 14:35https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#event-22189890198
https://patch-diff.githubusercontent.com/jack-berg
Improve histogram, summary performance under contention by striping o…https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/commits/ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d
ad1e7cbhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/commits/ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d
https://patch-diff.githubusercontent.com/jack-berg
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/4c2146cb561bb7e6abebcceb2cf4bc6873088326..ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d
4c2146chttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/4c2146cb561bb7e6abebcceb2cf4bc6873088326
ad1e7cbhttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/4c2146cb561bb7e6abebcceb2cf4bc6873088326..ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d
January 21, 2026 14:39https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#event-22190003171
https://patch-diff.githubusercontent.com/jack-berg
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
Jan 21, 2026 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#pullrequestreview-3687716671
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/files/ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d
prometheus-metrics-core/src/main/java/io/prometheus/metrics/core/metrics/Buffer.javahttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794/files/ad1e7cbfe0072c7dbb06adb941c0afd0a178ab6d#diff-60aa8f23ad6277072a8ce8df8aa6b22a1bce9979eafa6c7994cc73ff9d5b966d
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
Jan 21, 2026https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#discussion_r2712971168
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
https://patch-diff.githubusercontent.com/jack-berg
jack-berghttps://patch-diff.githubusercontent.com/jack-berg
fstabhttps://patch-diff.githubusercontent.com/fstab
zeitlingerhttps://patch-diff.githubusercontent.com/zeitlinger
fstabhttps://patch-diff.githubusercontent.com/fstab
January 21, 2026 15:50https://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794#event-22191899073
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%2F1794
https://patch-diff.githubusercontent.com/zeitlinger
zeitlinger https://patch-diff.githubusercontent.com/zeitlinger
https://patch-diff.githubusercontent.com/fstab
fstab https://patch-diff.githubusercontent.com/fstab
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/1794
https://patch-diff.githubusercontent.com/jack-berg
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.