{"id":17106279,"url":"https://github.com/aereal/go-problem-reporter","last_synced_at":"2025-08-18T03:36:16.867Z","repository":{"id":41843401,"uuid":"408045349","full_name":"aereal/go-problem-reporter","owner":"aereal","description":"go-problem-reporter captures HTTP responses that conform to RFC7807 Problem Details from your web application and sends to error reporting services.","archived":false,"fork":false,"pushed_at":"2025-08-10T15:04:16.000Z","size":26,"stargazers_count":2,"open_issues_count":10,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-10T17:16:35.513Z","etag":null,"topics":["go","go-http-middleware","golang-library","problemdetails"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aereal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-19T05:58:34.000Z","updated_at":"2024-05-28T04:00:45.000Z","dependencies_parsed_at":"2023-01-21T21:01:50.532Z","dependency_job_id":"be035c3f-4b63-4842-96c7-15cda679e9b5","html_url":"https://github.com/aereal/go-problem-reporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aereal/go-problem-reporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aereal%2Fgo-problem-reporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aereal%2Fgo-problem-reporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aereal%2Fgo-problem-reporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aereal%2Fgo-problem-reporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aereal","download_url":"https://codeload.github.com/aereal/go-problem-reporter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aereal%2Fgo-problem-reporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940584,"owners_count":24671674,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","go-http-middleware","golang-library","problemdetails"],"created_at":"2024-10-14T15:44:25.548Z","updated_at":"2025-08-18T03:36:16.841Z","avatar_url":"https://github.com/aereal.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![status][ci-status-badge]][ci-status]\n[![PkgGoDev][pkg-go-dev-badge]][pkg-go-dev]\n\n# go-problem-reporter\n\ngo-problem-reporter captures HTTP responses that conform to [RFC7807 Problem Details][rfc7807] from your web application and sends to error reporting services.\n\nCurrently supported services:\n\n- [Sentry][]\n\n## Synopsis\n\n```go\npackage main\n\nimport (\n  \"github.com/getsentry/sentry-go\"\n  \"github.com/moogar0880/problems\"\n  sentryhttp \"github.com/getsentry/sentry-go/http\"\n  sentryreporter \"github.com/aereal/go-problem-reporter/sentry\"\n)\n\nfunc main() {\n  h := http.HandlerFunc(func(rw http.ResponseWriter, r *http.Request) {\n    p := problems.NewDetailedProblem(http.StatusInternalServerError, \"some details\"),\n    problems.StatusProblemHandler(p).ServeHTTP(rw, r)\n  })\n  mw := sentryreporter.New(sentryreporter.Options{WaitForDelivery: true})\n  withSentryHub := sentryhttp.New(sentryhttp.Options{}).Handle\n  \u0026http.Server{\n    Handler: withSentryHub(mw(h)),\n  }\n}\n```\n\n## Installation\n\n```sh\ngo get github.com/aereal/go-problem-reporter\n```\n\n## License\n\nSee LICENSE file.\n\n[pkg-go-dev]: https://pkg.go.dev/github.com/aereal/go-problem-reporter\n[pkg-go-dev-badge]: https://pkg.go.dev/badge/aereal/go-problem-reporter\n[ci-status-badge]: https://github.com/aereal/go-problem-reporter/workflows/CI/badge.svg?branch=main\n[ci-status]: https://github.com/aereal/go-problem-reporter/actions/workflows/CI\n[rfc7807]: https://datatracker.ietf.org/doc/html/rfc7807\n[Sentry]: https://sentry.io/welcome/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faereal%2Fgo-problem-reporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faereal%2Fgo-problem-reporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faereal%2Fgo-problem-reporter/lists"}