Title: Use specific exception for duplicate timeseries by kajinamit · Pull Request #1074 · prometheus/client_python · GitHub
Open Graph Title: Use specific exception for duplicate timeseries by kajinamit · Pull Request #1074 · prometheus/client_python
X Title: Use specific exception for duplicate timeseries by kajinamit · Pull Request #1074 · prometheus/client_python
Description: Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.
Open Graph Description: Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.
X Description: Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry.
Opengraph URL: https://github.com/prometheus/client_python/pull/1074
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a3c39e06-d681-52da-2adc-48e15953d89c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0D2:10C3ED:19B238:2315FB:696FF84B |
| html-safe-nonce | 55ab083f57067bb32aa9b05727d514741978302b766eb46b8ffed7bf1935257d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEQyOjEwQzNFRDoxOUIyMzg6MjMxNUZCOjY5NkZGODRCIiwidmlzaXRvcl9pZCI6IjY1MTcwOTgwMTg1MzkzMDUwMzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | df94e796eb51739b60c8ddd05153920dc0da820b92e891c4c69f4e7a8b9c8246 |
| hovercard-subject-tag | pull_request:2195409830 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/prometheus/client_python/1074/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/0b5f857756df5a01faabe9c6d2cf61d53a27df98ffa6ca36aea39eac54220c18/prometheus/client_python/pull/1074 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b5f857756df5a01faabe9c6d2cf61d53a27df98ffa6ca36aea39eac54220c18/prometheus/client_python/pull/1074 |
| og:image:alt | Use sub-class of ValueError instead of ValueError, so that we can distinguish issues caused by wrong input (like invalid name format) from duplicate metrics being registered into the same registry. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kajinamit |
| hostname | github.com |
| expected-hostname | github.com |
| None | 61db99bbb6a7517db80567029869280bdefa9fa883092d6c2aa07ec4ea15f359 |
| turbo-cache-control | no-preview |
| go-import | github.com/prometheus/client_python git https://github.com/prometheus/client_python.git |
| octolytics-dimension-user_id | 3380462 |
| octolytics-dimension-user_login | prometheus |
| octolytics-dimension-repository_id | 30618733 |
| octolytics-dimension-repository_nwo | prometheus/client_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 30618733 |
| octolytics-dimension-repository_network_root_nwo | prometheus/client_python |
| 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 | 91ceb31fcdebd150222e05551caf4a28f9532341 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width