Title: Match a Graphite metric with only one level and add a prefix · Issue #461 · prometheus/client_java · GitHub
Open Graph Title: Match a Graphite metric with only one level and add a prefix · Issue #461 · prometheus/client_java
X Title: Match a Graphite metric with only one level and add a prefix · Issue #461 · prometheus/client_java
Description: When using DropwizardExports, if we want to add a base prefix name to a metric we can do this: MapperConfig depth3 = new MapperConfig(); depth3.setMatch("*.*.*"); //mathches depth1.depth2.depth3 depth3.setName("basename" + "_${0}" + "_${...
Open Graph Description: When using DropwizardExports, if we want to add a base prefix name to a metric we can do this: MapperConfig depth3 = new MapperConfig(); depth3.setMatch("*.*.*"); //mathches depth1.depth2.depth3 de...
X Description: When using DropwizardExports, if we want to add a base prefix name to a metric we can do this: MapperConfig depth3 = new MapperConfig(); depth3.setMatch("*.*.*"); //mathches depth1.depth2...
Opengraph URL: https://github.com/prometheus/client_java/issues/461
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Match a Graphite metric with only one level and add a prefix","articleBody":"When using DropwizardExports, if we want to add a base prefix name to a metric we can do this:\r\n\r\n```\r\nMapperConfig depth3 = new MapperConfig();\r\ndepth3.setMatch(\"*.*.*\"); //mathches depth1.depth2.depth3\r\ndepth3.setName(\"basename\" + \"_${0}\" + \"_${1}\" + \"_${2}\");\r\n```\r\nHowever, a metric with a single depth(no dot in its name) cannot be matched (because the matcher expects at least one dot), and thus in this case we cannot add a custom base prefix. Is there a way to achieve this functionality?\r\n\r\nThanks in advance,\r\nNick\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/nkafr","@type":"Person","name":"nkafr"},"datePublished":"2019-03-05T08:37:10Z","url":"https://github.com/prometheus/client_java/issues/461"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8452a05c-5fd3-4795-fd3d-c8c7a1c8c400 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B67C:C4A52:7644E:9CE08:6AFBAC97 |
| html-safe-nonce | 5bf60230c01de2da48de941d66fc022a2acda38dbd6fdbf0714d6931e2165855 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNjdDOkM0QTUyOjc2NDRFOjlDRTA4OjZBRkJBQzk3IiwidmlzaXRvcl9pZCI6IjI4OTU3MDMxMDU1ODAxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 30d2ac5a5eeafd354a002b2ec5e090796490c30e3b61b08c690efe47afc2327d |
| hovercard-subject-tag | issue:417177682 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/prometheus/client_java/461/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6756a7631b7f9cb47566f61bea490eca5236b4e152f1e5f186202775e6d73a7b/prometheus/client_java/issues/461 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6756a7631b7f9cb47566f61bea490eca5236b4e152f1e5f186202775e6d73a7b/prometheus/client_java/issues/461 |
| og:image:alt | When using DropwizardExports, if we want to add a base prefix name to a metric we can do this: MapperConfig depth3 = new MapperConfig(); depth3.setMatch("*.*.*"); //mathches depth1.depth2.depth3 de... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nkafr |
| hostname | github.com |
| expected-hostname | github.com |
| None | e25fbd830d3e6ad0e8935c105cf4fdc70c593dffcd27bb45b790ae4fece5ea55 |
| turbo-cache-control | no-preview |
| go-import | github.com/prometheus/client_java git https://github.com/prometheus/client_java.git |
| octolytics-dimension-user_id | 3380462 |
| octolytics-dimension-user_login | prometheus |
| octolytics-dimension-repository_id | 7997879 |
| octolytics-dimension-repository_nwo | prometheus/client_java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7997879 |
| octolytics-dimension-repository_network_root_nwo | prometheus/client_java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 08c8f17f9d27054a108b8b6254e405de0151f660 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width