Title: Is it possible to add a custom metadata identifier when using Exemplars? · Issue #1994 · prometheus/client_java · GitHub
Open Graph Title: Is it possible to add a custom metadata identifier when using Exemplars? · Issue #1994 · prometheus/client_java
X Title: Is it possible to add a custom metadata identifier when using Exemplars? · Issue #1994 · prometheus/client_java
Description: Hello. We are currently upgrading from Prometheus old client 0.x to 1.x. In the previous version, when using ExemplarSampler and Exemplar, the structure allowed us to include separate custom metadata, so in our system we used one additio...
Open Graph Description: Hello. We are currently upgrading from Prometheus old client 0.x to 1.x. In the previous version, when using ExemplarSampler and Exemplar, the structure allowed us to include separate custom metada...
X Description: Hello. We are currently upgrading from Prometheus old client 0.x to 1.x. In the previous version, when using ExemplarSampler and Exemplar, the structure allowed us to include separate custom metada...
Opengraph URL: https://github.com/prometheus/client_java/issues/1994
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Is it possible to add a custom metadata identifier when using Exemplars?","articleBody":"Hello. We are currently upgrading from Prometheus old client 0.x to 1.x.\n\nIn the previous version, when using ExemplarSampler and Exemplar, the structure allowed us to include separate custom metadata, so in our system we used one additional identifier for management purposes.\n\nHowever, while reviewing the 1.x version during the upgrade, it appears that the SpanContext and Exemplar classes only provide trace_id and span_id as identifiers, and do not seem to allow adding separate custom metadata. It is possible that I may have missed an extension point.\n\nIs there any way to include a separate custom metadata identifier when using Exemplars?","author":{"url":"https://github.com/Rebwon","@type":"Person","name":"Rebwon"},"datePublished":"2026-04-13T13:18:03Z","url":"https://github.com/prometheus/client_java/issues/1994"}
| 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:ab7255d7-38af-e381-3fc1-8f7e3618fe71 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF78:1A8547:1C937:27892:6AFBB26D |
| html-safe-nonce | 60ae66fa72b60b799f3356241fd9c8657fecb9cf412fdbd91addf8b87d8d8945 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjc4OjFBODU0NzoxQzkzNzoyNzg5Mjo2QUZCQjI2RCIsInZpc2l0b3JfaWQiOiIyMTUxOTkyMDc2OTY1NDkxMzEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4f17886e1c9b00527e31d460031d86e55015f772ba7cff9c50a9088b31b04d17 |
| hovercard-subject-tag | issue:4254986582 |
| 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/1994/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7839e674bab9b519a431518eab89058427ebf0ab19bb14d6d7462cf11d86fd76/prometheus/client_java/issues/1994 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7839e674bab9b519a431518eab89058427ebf0ab19bb14d6d7462cf11d86fd76/prometheus/client_java/issues/1994 |
| og:image:alt | Hello. We are currently upgrading from Prometheus old client 0.x to 1.x. In the previous version, when using ExemplarSampler and Exemplar, the structure allowed us to include separate custom metada... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Rebwon |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b2ef9c1578c18d8ed27027940544c958743213cf4461659f14d3ccdf51e162c |
| 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 | e4cce0e99cf61481a318ff12c2e8580153a6c7c6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width