Documentation ¶
Overview ¶
Package sentryintegration provides a set of drop-in replacement for some of popular Go packages to have it auto instrumented by Sentry dependency.
Why not just use OpenTelemetry dependency? Well if you're already uses Sentry and not dependend by OpenTelemetry at all, and to fight the current issue that by using OpenTelemetry span processor the SDK will capture 100% of spans, whatever value you're setting on at the front initialization wouldn't be respected.
Directories ¶
Path | Synopsis |
---|---|
Package httpclient provides a tracer implementation for net/http.RoundTripper.
|
Package httpclient provides a tracer implementation for net/http.RoundTripper. |
Package pgxtracer provides a tracer implementation for pgx.
|
Package pgxtracer provides a tracer implementation for pgx. |
redistracer provides a hook that you can use with redis/go-redis package.
|
redistracer provides a hook that you can use with redis/go-redis package. |
slogbreadcrumb sends everything that's emitted to slog as Sentry breadcrumb, rather than Sentry event (or error).
|
slogbreadcrumb sends everything that's emitted to slog as Sentry breadcrumb, rather than Sentry event (or error). |
sqltracer implements a sql driver that wraps the original driver and adds Sentry tracing capabilities to all queries.
|
sqltracer implements a sql driver that wraps the original driver and adds Sentry tracing capabilities to all queries. |
Click to show internal directories.
Click to hide internal directories.