René's URL Explorer Experiment


Title: Metric pattern validation in simpleclient_dropwizard is overly strict · Issue #518 · prometheus/client_java · GitHub

Open Graph Title: Metric pattern validation in simpleclient_dropwizard is overly strict · Issue #518 · prometheus/client_java

X Title: Metric pattern validation in simpleclient_dropwizard is overly strict · Issue #518 · prometheus/client_java

Description: I am exposing metrics to Prometheus in an existing app that uses Dropwizard, and they have a wide variety of names. From app_metric_some_count to appMetric.someCount. For legacy monitoring reasons I am unable to rename these metrics. Whe...

Open Graph Description: I am exposing metrics to Prometheus in an existing app that uses Dropwizard, and they have a wide variety of names. From app_metric_some_count to appMetric.someCount. For legacy monitoring reasons ...

X Description: I am exposing metrics to Prometheus in an existing app that uses Dropwizard, and they have a wide variety of names. From app_metric_some_count to appMetric.someCount. For legacy monitoring reasons ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Metric pattern validation in simpleclient_dropwizard is overly strict","articleBody":"I am exposing metrics  to Prometheus in an existing app that uses Dropwizard, and they have a wide variety of names. From `app_metric_some_count` to `appMetric.someCount`. For legacy monitoring reasons I am unable to rename these metrics. \r\n\r\nWhen attempting to use a CustomMappingSampleBuilder to map these existing names to metric names that align with Prometheus best practices, I am unable to do so because both `MappingConfig` and `GraphiteNamePattern` (used within the `CustomMappingSampleBuilder`) expect via regex a very particular form of metric naming - `app_example` will not survive validation, but `app.example` will. \r\n\r\nGiven that Dropwizard itself does not enforce these metric naming conventions, I'm unsure as to why `simpleclient_dropwizard` does.","author":{"url":"https://github.com/LiamClarkeNZ","@type":"Person","name":"LiamClarkeNZ"},"datePublished":"2019-12-18T01:57:08Z","url":"https://github.com/prometheus/client_java/issues/518"}

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:71656c0e-aed2-6d37-de0c-601080471af9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D28:E627F:8F5F8:BABC4:6AFBAD17
html-safe-nonce9e2a8975777bae168d17bf867b1ab310339e9231747e97c3cec4b18443c5e661
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDI4OkU2MjdGOjhGNUY4OkJBQkM0OjZBRkJBRDE3IiwidmlzaXRvcl9pZCI6IjI2NTY4OTQ4MjE1MzE4ODg5MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfc12f219fbb8308041fa0dfd4527e7103fe3a3e7dda60b31d45ac8e55bca017e
hovercard-subject-tagissue:539406150
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/518/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ea99da1c6163869cf3bc9ddf18efdca88739bea62953e66def9b81b7506971a9/prometheus/client_java/issues/518
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ea99da1c6163869cf3bc9ddf18efdca88739bea62953e66def9b81b7506971a9/prometheus/client_java/issues/518
og:image:altI am exposing metrics to Prometheus in an existing app that uses Dropwizard, and they have a wide variety of names. From app_metric_some_count to appMetric.someCount. For legacy monitoring reasons ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameLiamClarkeNZ
hostnamegithub.com
expected-hostnamegithub.com
Nonee25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55
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
release08c8f17f9d27054a108b8b6254e405de0151f660
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/prometheus/client_java/issues/518#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fprometheus%2Fclient_java%2Fissues%2F518
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%2F518
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/518
Reloadhttps://github.com/prometheus/client_java/issues/518
Reloadhttps://github.com/prometheus/client_java/issues/518
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/518
New issuehttps://github.com/login?return_to=https://github.com/prometheus/client_java/issues/518
Metric pattern validation in simpleclient_dropwizard is overly stricthttps://github.com/prometheus/client_java/issues/518#top
stalehttps://github.com/prometheus/client_java/issues?q=state%3Aopen%20label%3A%22stale%22
https://github.com/LiamClarkeNZ
LiamClarkeNZhttps://github.com/LiamClarkeNZ
on Dec 18, 2019https://github.com/prometheus/client_java/issues/518#issue-539406150
https://github.com/brian-brazil
brian-brazilhttps://github.com/brian-brazil
on Dec 18, 2019https://github.com/prometheus/client_java/issues/518#issuecomment-566939224
https://github.com/LiamClarkeNZ
LiamClarkeNZhttps://github.com/LiamClarkeNZ
on Dec 19, 2019https://github.com/prometheus/client_java/issues/518#issuecomment-567717289
@brian-brazilhttps://github.com/brian-brazil
https://github.com/brian-brazil
brian-brazilhttps://github.com/brian-brazil
on Dec 19, 2019https://github.com/prometheus/client_java/issues/518#issuecomment-567720044
https://github.com/LiamClarkeNZ
LiamClarkeNZhttps://github.com/LiamClarkeNZ
on Dec 20, 2019https://github.com/prometheus/client_java/issues/518#issuecomment-567760940
…https://github.com/prometheus/client_java/issues/518
#518https://github.com/prometheus/client_java/issues/518
https://github.com/notifications/unsubscribe-auth/AC2Q2JCXCJFMXSH7NVXYOXDQZP6LJANCNFSM4J4EDD2Qhttps://github.com/notifications/unsubscribe-auth/AC2Q2JCXCJFMXSH7NVXYOXDQZP6LJANCNFSM4J4EDD2Q
https://github.com/LiamClarkeNZ
LiamClarkeNZhttps://github.com/LiamClarkeNZ
on Dec 24, 2019https://github.com/prometheus/client_java/issues/518#issuecomment-568623846
#519https://github.com/prometheus/client_java/pull/519
https://github.com/peetzen
peetzenhttps://github.com/peetzen
on Feb 1, 2020https://github.com/prometheus/client_java/issues/518#issuecomment-581023140
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Mar 5, 2026https://github.com/prometheus/client_java/issues/518#issuecomment-4002629807
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/518#event-23285370562
LiamClarkeNZhttps://github.com/LiamClarkeNZ
on Mar 25, 2026https://github.com/prometheus/client_java/issues/518#event-23873442269
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/518#event-24036423875
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 5, 2026https://github.com/prometheus/client_java/issues/518#issuecomment-4188410325
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 5, 2026https://github.com/prometheus/client_java/issues/518#event-24203876658
Sign up for freehttps://github.com/signup?return_to=https://github.com/prometheus/client_java/issues/518
Sign in to commenthttps://github.com/login?return_to=https://github.com/prometheus/client_java/issues/518
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.