Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

e-conomic/csharp-grpc-sentry

Repository files navigation

Archived

Tech Leads: Repository archived due to inactivity in more than 6 months. Please remember to add a CODEOWNERS file to the root of the repository when unarchiving.

Sentry logging using gRPC interceptors

This repository implements gRPC inteceptors for logging exceptions to the Sentry.

Usage

Server

var server = new Server()
{
  Services =
  {
    TestService.BindService(new ServiceImp()).Intercept(new SentryInterceptor("DSN"))
  },
  Ports = { new ServerPort("localhost", Port, ServerCredentials.Insecure) }
};

Breadcrumbs

The library sets up continuation task for each call and in case that exception is thrown in the call, the continuation tasks loggs details about the call in form of breadcrumbs.

Example of breadcrumbs in Sentry

example

License

License can be found here

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •