René's URL Explorer Experiment


Title: chore: refactor label parser by sylwit · Pull Request #1032 · prometheus/client_python · GitHub

Open Graph Title: chore: refactor label parser by sylwit · Pull Request #1032 · prometheus/client_python

X Title: chore: refactor label parser by sylwit · Pull Request #1032 · prometheus/client_python

Description: Refactor label parser to make it more readable and and faster

Open Graph Description: Refactor label parser to make it more readable and and faster

X Description: Refactor label parser to make it more readable and and faster

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

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:0e5fe771-d1f3-ab74-1edb-659170b0817f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD21A:378979:24127D5:31F6F2D:696FF7FC
html-safe-noncec91802c706923f29557f008cc7f87f651e96e461fd87700446ec72b593221d50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjFBOjM3ODk3OToyNDEyN0Q1OjMxRjZGMkQ6Njk2RkY3RkMiLCJ2aXNpdG9yX2lkIjoiNzY4NjQwODM5MjQ5ODIxNDkwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac037a27b63f97952b229fce4c5972c97377af8d7ecb161d1df1cd969d99ad033e
hovercard-subject-tagpull_request:1867732623
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/1032/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/12fa1f695065fd4f81b1139db6a6464218397407f0a4290002edd820304c14a3/prometheus/client_python/pull/1032
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/12fa1f695065fd4f81b1139db6a6464218397407f0a4290002edd820304c14a3/prometheus/client_python/pull/1032
og:image:altRefactor label parser to make it more readable and and faster
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesylwit
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/1032#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%2F1032
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%2F1032
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/1032
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
Reloadhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
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/1032
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/1032#issue-comment-box
sylwithttps://patch-diff.githubusercontent.com/sylwit
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
sylwit:feature/refactor_parserhttps://patch-diff.githubusercontent.com/sylwit/prometheus_client_python/tree/feature/refactor_parser
chore: refactor label parser https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#top
sylwithttps://patch-diff.githubusercontent.com/sylwit
prometheus:masterhttps://patch-diff.githubusercontent.com/prometheus/client_python/tree/master
sylwit:feature/refactor_parserhttps://patch-diff.githubusercontent.com/sylwit/prometheus_client_python/tree/feature/refactor_parser
Conversation 1 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
Commits 2 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/commits
Checks 0 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/checks
Files changed https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/files
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/prometheus/client_python/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/sylwit
sylwithttps://patch-diff.githubusercontent.com/sylwit
May 13, 2024https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#issue-2294044113
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
https://patch-diff.githubusercontent.com/sylwit
chore: refactor label parserhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/commits/cc86745a4d6bdb78ac1b4ee080df36142233a2e0
cc86745https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/commits/cc86745a4d6bdb78ac1b4ee080df36142233a2e0
https://patch-diff.githubusercontent.com/sylwit
sylwithttps://patch-diff.githubusercontent.com/sylwit
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/40234493c53bd19448275a7b6f5817a504f0dfa6..cc86745a4d6bdb78ac1b4ee080df36142233a2e0
4023449https://patch-diff.githubusercontent.com/prometheus/client_python/commit/40234493c53bd19448275a7b6f5817a504f0dfa6
cc86745https://patch-diff.githubusercontent.com/prometheus/client_python/commit/cc86745a4d6bdb78ac1b4ee080df36142233a2e0
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/40234493c53bd19448275a7b6f5817a504f0dfa6..cc86745a4d6bdb78ac1b4ee080df36142233a2e0
May 13, 2024 23:52https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#event-12794129579
https://patch-diff.githubusercontent.com/sylwit
sylwithttps://patch-diff.githubusercontent.com/sylwit
May 13, 2024 https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#pullrequestreview-2053995073
View reviewed changes https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/files/cc86745a4d6bdb78ac1b4ee080df36142233a2e0
prometheus_client/parser.pyhttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/files/cc86745a4d6bdb78ac1b4ee080df36142233a2e0#diff-dd5e1aa22b034305a781c535bc266f3084e21e8c7a834ae4ab84da07575dbfbf
sylwithttps://patch-diff.githubusercontent.com/sylwit
May 13, 2024https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#discussion_r1599221022
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
https://patch-diff.githubusercontent.com/sylwit
sylwithttps://patch-diff.githubusercontent.com/sylwit
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/a84f6d39216c59e3b6cd6c1106478d4acebcac2e..7205ac54a0b0b0fe0853eb4de00958df171e5696
a84f6d3https://patch-diff.githubusercontent.com/prometheus/client_python/commit/a84f6d39216c59e3b6cd6c1106478d4acebcac2e
7205ac5https://patch-diff.githubusercontent.com/prometheus/client_python/commit/7205ac54a0b0b0fe0853eb4de00958df171e5696
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/a84f6d39216c59e3b6cd6c1106478d4acebcac2e..7205ac54a0b0b0fe0853eb4de00958df171e5696
May 14, 2024 03:06https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#event-12795275593
https://patch-diff.githubusercontent.com/sylwit
chore: compatibility with python 3.8https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/commits/139d601aa8af97e3171ee3ac990a32a9505d4f3d
139d601https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032/commits/139d601aa8af97e3171ee3ac990a32a9505d4f3d
https://patch-diff.githubusercontent.com/sylwit
sylwithttps://patch-diff.githubusercontent.com/sylwit
force-pushedhttps://patch-diff.githubusercontent.com/prometheus/client_python/compare/7205ac54a0b0b0fe0853eb4de00958df171e5696..139d601aa8af97e3171ee3ac990a32a9505d4f3d
7205ac5https://patch-diff.githubusercontent.com/prometheus/client_python/commit/7205ac54a0b0b0fe0853eb4de00958df171e5696
139d601https://patch-diff.githubusercontent.com/prometheus/client_python/commit/139d601aa8af97e3171ee3ac990a32a9505d4f3d
Compare https://patch-diff.githubusercontent.com/prometheus/client_python/compare/7205ac54a0b0b0fe0853eb4de00958df171e5696..139d601aa8af97e3171ee3ac990a32a9505d4f3d
May 14, 2024 03:16https://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032#event-12795333152
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%2F1032
Please reload this pagehttps://patch-diff.githubusercontent.com/prometheus/client_python/pull/1032
https://patch-diff.githubusercontent.com/sylwit
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.