{"id":13794032,"url":"https://github.com/gin-contrib/sentry","last_synced_at":"2025-05-12T20:31:21.543Z","repository":{"id":57480436,"uuid":"78802321","full_name":"gin-contrib/sentry","owner":"gin-contrib","description":"Middleware to integrate with sentry crash reporting.","archived":true,"fork":false,"pushed_at":"2019-11-19T14:20:47.000Z","size":15,"stargazers_count":61,"open_issues_count":0,"forks_count":8,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-04-14T09:59:03.440Z","etag":null,"topics":["crash-report","crash-reporting","gin-middleware","sentry"],"latest_commit_sha":null,"homepage":null,"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/gin-contrib.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}},"created_at":"2017-01-13T01:16:10.000Z","updated_at":"2023-01-28T16:36:36.000Z","dependencies_parsed_at":"2022-09-26T17:41:14.007Z","dependency_job_id":null,"html_url":"https://github.com/gin-contrib/sentry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gin-contrib%2Fsentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gin-contrib%2Fsentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gin-contrib%2Fsentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gin-contrib%2Fsentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gin-contrib","download_url":"https://codeload.github.com/gin-contrib/sentry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253816745,"owners_count":21968876,"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","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":["crash-report","crash-reporting","gin-middleware","sentry"],"created_at":"2024-08-03T23:00:34.913Z","updated_at":"2025-05-12T20:31:21.201Z","avatar_url":"https://github.com/gin-contrib.png","language":"Go","readme":"# sentry\n\n[![Build Status](https://travis-ci.org/gin-contrib/sentry.svg?branch=master)](https://travis-ci.org/gin-contrib/sentry)\n[![Go Report Card](https://goreportcard.com/badge/github.com/gin-contrib/sentry)](https://goreportcard.com/report/github.com/gin-contrib/sentry)\n[![GoDoc](https://godoc.org/github.com/gin-contrib/sentry?status.svg)](https://godoc.org/github.com/gin-contrib/sentry)\n[![Join the chat at https://gitter.im/gin-gonic/gin](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/gin-gonic/gin)\n\n---\n\n\u003e The `sentry` middleware is no longer maintained and was superseded by the `sentry-go` SDK.\n\u003e Learn more about the project on [GitHub](https://github.com/getsentry/sentry-go) and check out the new [gin middleware](https://github.com/getsentry/sentry-go/tree/master/gin).\n\n---\n\n## Example\n\nSee the [example](example/main.go)\n\n[embedmd]:# (example/main.go go)\n```go\npackage main\n\nimport (\n\t\"github.com/getsentry/raven-go\"\n\t\"github.com/gin-contrib/sentry\"\n\t\"github.com/gin-gonic/gin\"\n)\n\nfunc init() {\n\traven.SetDSN(\"https://\u003ckey\u003e:\u003csecret\u003e@app.getsentry.com/\u003cproject\u003e\")\n}\n\nfunc main() {\n\tr := gin.Default()\n\tr.Use(sentry.Recovery(raven.DefaultClient, false))\n\t// only send crash reporting\n\t// r.Use(sentry.Recovery(raven.DefaultClient, true))\n\tr.Run(\":8080\")\n}\n```\n","funding_links":[],"categories":["Middlewares"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgin-contrib%2Fsentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgin-contrib%2Fsentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgin-contrib%2Fsentry/lists"}