sentryintegration

package module
v0.0.0-...-137323c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 0 Imported by: 0

README

Sentry Integrations for Go

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.

If there are any other packages that needs to be instrumented directly using Sentry-only dependency, please submit a GitHub issue.

License

MIT

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.
Package redistracer provides a tracer implementation for go-redis.
Package redistracer provides a tracer implementation for go-redis.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL