René's URL Explorer Experiment


Title: Fix the situation where metric collection stops when NPE occours by codings-dan · Pull Request #710 · prometheus/client_java · GitHub

Open Graph Title: Fix the situation where metric collection stops when NPE occours by codings-dan · Pull Request #710 · prometheus/client_java

X Title: Fix the situation where metric collection stops when NPE occours by codings-dan · Pull Request #710 · prometheus/client_java

Description: We use Prometheus to monitor Alluxio system metrics. When some metrics are empty for various reasons, the system no longer monitors the metrics. We can catch this exception, so as not to affect the...

Open Graph Description: We use Prometheus to monitor Alluxio system metrics. When some metrics are empty for various reasons, the system no longer monitors the metrics. We can catch this exception, so as not to affect the...

X Description: We use Prometheus to monitor Alluxio system metrics. When some metrics are empty for various reasons, the system no longer monitors the metrics. We can catch this exception, so as not to affect the...

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

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:0207da66-c892-c5bd-471d-e29d3b9b5c04
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBF54:16BB7B:3FC972:549EC7:697309AA
html-safe-nonce70cb1c44f681aba3c1574f52181e25ff4929de2f58c11244ae817efd5ba9a12a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjU0OjE2QkI3QjozRkM5NzI6NTQ5RUM3OjY5NzMwOUFBIiwidmlzaXRvcl9pZCI6IjQzODIxMTY3NzU1MjUwMjYyMTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca0c9b5f187d68f79fa3109a1a847dbc718c00564146779a79a219a3c32d6a51f
hovercard-subject-tagpull_request:760032990
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/710/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/048bad29b7f5cb14ed260f1aa52d6d5d249eb502b60304d99bc57cb504efb091/prometheus/client_java/pull/710
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/048bad29b7f5cb14ed260f1aa52d6d5d249eb502b60304d99bc57cb504efb091/prometheus/client_java/pull/710
og:image:altWe use Prometheus to monitor Alluxio system metrics. When some metrics are empty for various reasons, the system no longer monitors the metrics. We can catch this exception, so as not to affect the...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecodings-dan
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/710#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%2F710
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%2F710
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/710
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
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/710#issue-comment-box
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
prometheus:mainhttps://patch-diff.githubusercontent.com/prometheus/client_java/tree/main
codings-dan:npehttps://patch-diff.githubusercontent.com/codings-dan/client_java/tree/npe
Fix the situation where metric collection stops when NPE occours https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#top
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
prometheus:mainhttps://patch-diff.githubusercontent.com/prometheus/client_java/tree/main
codings-dan:npehttps://patch-diff.githubusercontent.com/codings-dan/client_java/tree/npe
Conversation 10 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
Commits 2 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/commits
Checks 0 https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/checks
Files changed https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/files
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_java/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
Oct 18, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issue-1028590963
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
fix nullpointer exceptionhttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/commits/14337f7d06eb150dcc952ccedbe4b4a365d51859
14337f7https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/commits/14337f7d06eb150dcc952ccedbe4b4a365d51859
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/5e34615e3adb6e8b632e24ae82350c6afe715d14..14337f7d06eb150dcc952ccedbe4b4a365d51859
5e34615https://patch-diff.githubusercontent.com/prometheus/client_java/commit/5e34615e3adb6e8b632e24ae82350c6afe715d14
14337f7https://patch-diff.githubusercontent.com/prometheus/client_java/commit/14337f7d06eb150dcc952ccedbe4b4a365d51859
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/5e34615e3adb6e8b632e24ae82350c6afe715d14..14337f7d06eb150dcc952ccedbe4b4a365d51859
October 18, 2021 03:58https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#event-5475438766
https://patch-diff.githubusercontent.com/fstab
fstabhttps://patch-diff.githubusercontent.com/fstab
Oct 18, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-945646275
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
add sampleNameFilter to collect metrichttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/commits/98293b1dc0260dca26372fc097841a5d66e97f82
98293b1https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710/commits/98293b1dc0260dca26372fc097841a5d66e97f82
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/ed92b5faeb041ba160cafb14278750422afb9f9c..98293b1dc0260dca26372fc097841a5d66e97f82
ed92b5fhttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/ed92b5faeb041ba160cafb14278750422afb9f9c
98293b1https://patch-diff.githubusercontent.com/prometheus/client_java/commit/98293b1dc0260dca26372fc097841a5d66e97f82
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/ed92b5faeb041ba160cafb14278750422afb9f9c..98293b1dc0260dca26372fc097841a5d66e97f82
October 18, 2021 15:40https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#event-5479406305
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
Oct 18, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-945912368
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/fstab
fstabhttps://patch-diff.githubusercontent.com/fstab
Oct 18, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-946091771
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
Oct 19, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-946649961
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/fstab
fstabhttps://patch-diff.githubusercontent.com/fstab
Oct 19, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-947113239
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
Oct 22, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-949576885
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/fstab
fstabhttps://patch-diff.githubusercontent.com/fstab
Oct 24, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-950295911
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
Oct 26, 2021https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-951485717
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/dhoard
dhoardhttps://patch-diff.githubusercontent.com/dhoard
Jan 7, 2022https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-1007443255
@codings-danhttps://github.com/codings-dan
@fstabhttps://github.com/fstab
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
codings-danhttps://patch-diff.githubusercontent.com/codings-dan
Jan 10, 2022https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#issuecomment-1008774095
@dhoardhttps://github.com/dhoard
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/fstab
fstabhttps://patch-diff.githubusercontent.com/fstab
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_java/compare/3d6f699b5e9f12b35ce506f32215ac3dd8dd80c0..c83877ab01539a34f172d72405db0f1b9b29cc60
3d6f699https://patch-diff.githubusercontent.com/prometheus/client_java/commit/3d6f699b5e9f12b35ce506f32215ac3dd8dd80c0
c83877ahttps://patch-diff.githubusercontent.com/prometheus/client_java/commit/c83877ab01539a34f172d72405db0f1b9b29cc60
Compare https://patch-diff.githubusercontent.com/prometheus/client_java/compare/3d6f699b5e9f12b35ce506f32215ac3dd8dd80c0..c83877ab01539a34f172d72405db0f1b9b29cc60
January 30, 2022 21:12https://patch-diff.githubusercontent.com/prometheus/client_java/pull/710#event-5977030479
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%2F710
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_java/pull/710
https://patch-diff.githubusercontent.com/codings-dan
https://patch-diff.githubusercontent.com/fstab
https://patch-diff.githubusercontent.com/dhoard
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.