Title: Return an explicit 500 if there's an exception generating metrics by FauxFaux · Pull Request #85 · prometheus/client_python · GitHub
Open Graph Title: Return an explicit 500 if there's an exception generating metrics by FauxFaux · Pull Request #85 · prometheus/client_python
X Title: Return an explicit 500 if there's an exception generating metrics by FauxFaux · Pull Request #85 · prometheus/client_python
Description: The current behaviour observed in #84 is pretty bad. This implements the simplest possible fix: if there's any exception of any kind generating metrics, log it as we are now, but change the response code to a 500. send_error is used, which dumps a random bit of html into the response, which doesn't seem like a problem. send_response(500) could be used instead, to get a 500 with a blank body.
Open Graph Description: The current behaviour observed in #84 is pretty bad. This implements the simplest possible fix: if there's any exception of any kind generating metrics, log it as we are now, but change the res...
X Description: The current behaviour observed in #84 is pretty bad. This implements the simplest possible fix: if there's any exception of any kind generating metrics, log it as we are now, but change the...
Opengraph URL: https://github.com/prometheus/client_python/pull/85
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2915c14c-7f66-b2e9-c4f7-21b06343b758 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF76:FFF42:17F220C:1F29DAB:6990910A |
| html-safe-nonce | ad6665256f0cb81481d9a93953906f4253cd95a801fe227ec4b733955dad82c4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjc2OkZGRjQyOjE3RjIyMEM6MUYyOURBQjo2OTkwOTEwQSIsInZpc2l0b3JfaWQiOiI2MDUxMjc4MzI5NjEyMzc0MjgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c34921e206e7e7743554070aba97e027067124f69ec989674889a65f615fde4d |
| hovercard-subject-tag | pull_request:74049111 |
| 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/prometheus/client_python/pull/85/files |
| twitter:image | https://avatars.githubusercontent.com/u/328180?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/328180?s=400&v=4 |
| og:image:alt | The current behaviour observed in #84 is pretty bad. This implements the simplest possible fix: if there's any exception of any kind generating metrics, log it as we are now, but change the res... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width