{"id":21446926,"url":"https://github.com/johnbellone/grpc-middleware-sentry","last_synced_at":"2025-04-09T08:08:49.402Z","repository":{"id":37903832,"uuid":"329684187","full_name":"johnbellone/grpc-middleware-sentry","owner":"johnbellone","description":"gRPC Go middleware for Sentry: server and client interceptors","archived":false,"fork":false,"pushed_at":"2025-03-18T03:43:14.000Z","size":849,"stargazers_count":45,"open_issues_count":3,"forks_count":17,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-02T07:11:15.752Z","etag":null,"topics":["go","golang","grpc","grpc-go","interceptor","library","middleware","sentry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnbellone.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-14T17:17:20.000Z","updated_at":"2025-03-22T02:51:39.000Z","dependencies_parsed_at":"2022-08-18T07:00:51.271Z","dependency_job_id":"abe1ea5d-2bab-4c42-8ce4-9b000d45f7e7","html_url":"https://github.com/johnbellone/grpc-middleware-sentry","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbellone%2Fgrpc-middleware-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbellone%2Fgrpc-middleware-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbellone%2Fgrpc-middleware-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnbellone%2Fgrpc-middleware-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnbellone","download_url":"https://codeload.github.com/johnbellone/grpc-middleware-sentry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247999860,"owners_count":21031046,"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":["go","golang","grpc","grpc-go","interceptor","library","middleware","sentry"],"created_at":"2024-11-23T03:08:19.434Z","updated_at":"2025-04-09T08:08:49.376Z","avatar_url":"https://github.com/johnbellone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go gRPC Middleware for Sentry\n[gRPC Go middleware][0] for [Sentry][1]: server and client interceptors\n\n## Middleware\n\n``` go\nimport (\n    \"github.com/getsentry/sentry-go\"\n\n    grpc_middleware \"github.com/grpc-ecosystem/go-grpc-middleware\"\n    grpc_sentry \"github.com/johnbellone/grpc-middleware-sentry\"\n)\n\nfunc main() {\n\terr = sentry.Init(sentry.ClientOptions{\n\t\tDsn: \"https://897a3ef46125472da3ab8766deb302fe7fc7ade3@ingest.sentry.io/42\",\n\t\tDebug: false,\n\t\tEnvironment: \"development\",\n\t\tRelease: \"my-project@0.1.0\",\n\t\tIgnoreErrors: []string{},\n\t})\n\tdefer sentry.Flush(2 * time.Second)\n\tif err != nil {\n\t\tlogger.Fatal(err.Error())\n\t}\n\n\ts := grpc.NewServer(\n\t\tgrpc.StreamInterceptor(grpc_middleware.ChainStreamServer(\n\t\t\tgrpc_sentry.StreamServerInterceptor(),\n\t\t)),\n\t\tgrpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(\n\t\t\tgrpc_sentry.UnaryServerInterceptor(),\n\t\t)),\n\t)\n}\n```\n\n[0]: https://github.com/grpc-ecosystem/go-grpc-middleware\n[1]: https://sentry.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbellone%2Fgrpc-middleware-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnbellone%2Fgrpc-middleware-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnbellone%2Fgrpc-middleware-sentry/lists"}