René's URL Explorer Experiment


Title: MapperConfig does not allow : in regex · Issue #645 · prometheus/client_java · GitHub

Open Graph Title: MapperConfig does not allow : in regex · Issue #645 · prometheus/client_java

X Title: MapperConfig does not allow : in regex · Issue #645 · prometheus/client_java

Description: Hi, Thanks for the custom mapper config on the dropwizard export. It makes creating tags really easy ❤️ I found a restriction in the regex that makes it impossible for me to create a certain configuration. : are not allowed and we have m...

Open Graph Description: Hi, Thanks for the custom mapper config on the dropwizard export. It makes creating tags really easy ❤️ I found a restriction in the regex that makes it impossible for me to create a certain config...

X Description: Hi, Thanks for the custom mapper config on the dropwizard export. It makes creating tags really easy ❤️ I found a restriction in the regex that makes it impossible for me to create a certain config...

Opengraph URL: https://github.com/prometheus/client_java/issues/645

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MapperConfig does not allow : in regex","articleBody":"Hi,\r\n\r\nThanks for the custom mapper config on the dropwizard export. It makes creating tags really easy :heart: \r\n\r\nI found a restriction in the regex that makes it impossible for me to create a certain configuration. `:` are not allowed and we have metrics that contain `ip:port` in the metric name.\r\n\r\nhttps://github.com/prometheus/client_java/blob/29dfd0a2bf9b93282764d31447b843a1d36d4f10/simpleclient_dropwizard/src/main/java/io/prometheus/client/dropwizard/samplebuilder/MapperConfig.java#L25\r\n\r\nThis is what the mapper config would look like\r\n\r\n```java\r\n// this port is dynamically set from the outside\r\nfinal int httpPort = 8080\r\nfinal MapperConfig vertxServerHttp = new MapperConfig(\r\n     // the IP address is always 0.0.0.0\r\n    \"vertx.http.servers.0.0.0.0:\" + httpPort + \".*\", \"vertx.http.servers.${4}\",\r\n     ImmutableMap.of(\"endpoint\", \"http\")\r\n);\r\n```\r\n\r\nSo the metric currentely ends up like this in prometheus\r\n\r\n```\r\nvertx_http_servers_0_0_0_0:8080_metric\r\n```\r\n\r\nwhich gets messy as ports change.\r\n\r\n## Suggestion\r\n\r\nAdd `:` to the global regex.\r\n\r\nI don't know what implications this would have\r\n\r\n","author":{"url":"https://github.com/muuki88","@type":"Person","name":"muuki88"},"datePublished":"2021-03-24T14:12:15Z","url":"https://github.com/prometheus/client_java/issues/645"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d725f50b-61c9-8c46-e69a-8cd7ed942936
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA820:5E1B7:2B72EB:3ABB3E:6AFBB197
html-safe-noncefca584218234cbf10a0799cbf8cb8711b3595d2a0f5c7959bcc01c1870e07549
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODIwOjVFMUI3OjJCNzJFQjozQUJCM0U6NkFGQkIxOTciLCJ2aXNpdG9yX2lkIjoiMjA4NjQzODg1NDQxNTA2OTU5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacc6e68466683d17e5bad8454dc15d7202229e0df25e292b51710c664c3c1ddb83
hovercard-subject-tagissue:839765821
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/prometheus/client_java/645/issue_layout
twitter:imagehttps://opengraph.githubassets.com/39ff59e664055a61f0740eae6f8ba7d284aa670cc716aefc0098a438789b91fa/prometheus/client_java/issues/645
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/39ff59e664055a61f0740eae6f8ba7d284aa670cc716aefc0098a438789b91fa/prometheus/client_java/issues/645
og:image:altHi, Thanks for the custom mapper config on the dropwizard export. It makes creating tags really easy ❤️ I found a restriction in the regex that makes it impossible for me to create a certain config...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemuuki88
hostnamegithub.com
expected-hostnamegithub.com
None2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c
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
releasee4cce0e99cf61481a318ff12c2e8580153a6c7c6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/prometheus/client_java/issues/645#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_java%2Fissues%2F645
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_java%2Fissues%2F645
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=prometheus%2Fclient_java
Reloadhttps://github.com/prometheus/client_java/issues/645
Reloadhttps://github.com/prometheus/client_java/issues/645
Reloadhttps://github.com/prometheus/client_java/issues/645
prometheushttps://github.com/prometheus
client_javahttps://github.com/prometheus/client_java
Codehttps://github.com/prometheus/client_java
Issues12 (12)https://github.com/prometheus/client_java/issues
Pull requests18 (18)https://github.com/prometheus/client_java/pulls
Actionshttps://github.com/prometheus/client_java/actions
Projectshttps://github.com/prometheus/client_java/projects
Security and qualityhttps://github.com/prometheus/client_java/security
Insightshttps://github.com/prometheus/client_java/pulse
https://github.com/prometheus/client_java
New issuehttps://github.com/login?return_to=https://github.com/prometheus/client_java/issues/645
New issuehttps://github.com/login?return_to=https://github.com/prometheus/client_java/issues/645
MapperConfig does not allow : in regexhttps://github.com/prometheus/client_java/issues/645#top
stalehttps://github.com/prometheus/client_java/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/muuki88
muuki88https://github.com/muuki88
on Mar 24, 2021https://github.com/prometheus/client_java/issues/645#issue-839765821
client_java/simpleclient_dropwizard/src/main/java/io/prometheus/client/dropwizard/samplebuilder/MapperConfig.javahttps://github.com/prometheus/client_java/blob/29dfd0a2bf9b93282764d31447b843a1d36d4f10/simpleclient_dropwizard/src/main/java/io/prometheus/client/dropwizard/samplebuilder/MapperConfig.java#L25
29dfd0ahttps://github.com/prometheus/client_java/commit/29dfd0a2bf9b93282764d31447b843a1d36d4f10
muuki88https://github.com/muuki88
on Mar 24, 2021https://github.com/prometheus/client_java/issues/645#event-4502207644
https://github.com/fstab
fstabhttps://github.com/fstab
on Apr 26, 2021https://github.com/prometheus/client_java/issues/645#issuecomment-827141837
https://github.com/muuki88
muuki88https://github.com/muuki88
on Apr 27, 2021https://github.com/prometheus/client_java/issues/645#issuecomment-827370618
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Mar 5, 2026https://github.com/prometheus/client_java/issues/645#issuecomment-4002628256
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
stalehttps://github.com/prometheus/client_java/issues?q=state%3Aopen%20label%3A%22stale%22
on Mar 5, 2026https://github.com/prometheus/client_java/issues/645#event-23285362495
LiamClarkeNZhttps://github.com/LiamClarkeNZ
on Mar 25, 2026https://github.com/prometheus/client_java/issues/645#event-23873442286
Relax metric name validation in Dropwizard5 CustomMappingSampleBuilderhttps://github.com/LiamClarkeNZ/client_java/commit/0c81193c02a954b6f611724a017a965f0fe78dd3
0c81193https://github.com/LiamClarkeNZ/client_java/commit/0c81193c02a954b6f611724a017a965f0fe78dd3
Relax metric name validation in Dropwizard5 CustomMappingSampleBuilderhttps://github.com/LiamClarkeNZ/client_java/commit/674691523089727f8ec45d117e45068ebeb6ca01
6746915https://github.com/LiamClarkeNZ/client_java/commit/674691523089727f8ec45d117e45068ebeb6ca01
zeitlingerhttps://github.com/zeitlinger
on Mar 30, 2026https://github.com/prometheus/client_java/issues/645#event-24036423973
fix: Relax metric name validation in Dropwizard5 (#1985)https://github.com/prometheus/client_java/commit/deb782f9fce60ffb1308a98b661c0a1ccb79a82b
#1985https://github.com/prometheus/client_java/pull/1985
deb782fhttps://github.com/prometheus/client_java/commit/deb782f9fce60ffb1308a98b661c0a1ccb79a82b
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Apr 4, 2026https://github.com/prometheus/client_java/issues/645#issuecomment-4186594246
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
not plannedhttps://github.com/prometheus/client_java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Anot-planned
on Apr 4, 2026https://github.com/prometheus/client_java/issues/645#event-24193713361
Sign up for freehttps://github.com/signup?return_to=https://github.com/prometheus/client_java/issues/645
Sign in to commenthttps://github.com/login?return_to=https://github.com/prometheus/client_java/issues/645
stalehttps://github.com/prometheus/client_java/issues?q=state%3Aopen%20label%3A%22stale%22
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.