sentryctx

package module
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBreadcrumb

func AddBreadcrumb(ctx context.Context, breadcrumb *sentry.Breadcrumb, hint *sentry.BreadcrumbHint)

func BindClient

func BindClient(ctx context.Context, client *sentry.Client)

func CaptureCheckIn

func CaptureCheckIn(ctx context.Context, checkIn *sentry.CheckIn, monitorConfig *sentry.MonitorConfig) *sentry.EventID

func CaptureEvent

func CaptureEvent(ctx context.Context, event *sentry.Event) *sentry.EventID

func CaptureException

func CaptureException(ctx context.Context, exception error) *sentry.EventID

func CaptureMessage

func CaptureMessage(ctx context.Context, message string) *sentry.EventID

func Client

func Client(ctx context.Context) *sentry.Client

func Clone

func Clone(ctx context.Context) *sentry.Hub

func ConfigureScope

func ConfigureScope(ctx context.Context, f func(scope *sentry.Scope))

func Flush

func Flush(ctx context.Context, timeout time.Duration) bool

func GetBaggage

func GetBaggage(ctx context.Context) string

func GetTraceparent

func GetTraceparent(ctx context.Context) string

func LastEventID

func LastEventID(ctx context.Context) sentry.EventID

func PopScope

func PopScope(ctx context.Context)

func PushScope

func PushScope(ctx context.Context) *sentry.Scope

func Recover

func Recover(ctx context.Context, err interface{}) *sentry.EventID

func RecoverWithContext

func RecoverWithContext(ctx context.Context, err interface{}) *sentry.EventID

func Scope

func Scope(ctx context.Context) *sentry.Scope

func WithScope

func WithScope(ctx context.Context, f func(scope *sentry.Scope))

Types

This section is empty.

Jump to

Keyboard shortcuts

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