sentry

package
v0.1.144 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package sentry implements sentry-related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CaptureException added in v0.0.286

func CaptureException(err error, opts ...CaptureOption)

func CaptureExceptionWithAppInfo added in v0.0.477

func CaptureExceptionWithAppInfo(ctx context.Context, err error, featureName string, appCompact *api.AppCompact)

func CaptureMessage added in v0.0.286

func CaptureMessage(msg string, opts ...CaptureOption)

func Flush added in v0.0.287

func Flush()

func Recover

func Recover(v interface{})

Recover records the given panic to sentry.

Types

type CaptureOption added in v0.0.286

type CaptureOption func(scope *sentry.Scope)

func WithContext added in v0.0.286

func WithContext(key string, val sentry.Context) CaptureOption

func WithContexts added in v0.0.286

func WithContexts(contexts map[string]sentry.Context) CaptureOption

func WithExtra added in v0.0.288

func WithExtra(key string, val interface{}) CaptureOption

func WithTag added in v0.0.286

func WithTag(key, value string) CaptureOption

func WithTraceID added in v0.1.136

func WithTraceID(ctx context.Context) CaptureOption

type Context added in v0.0.485

type Context = sentry.Context

Re-export an alias here for use convenience

Jump to

Keyboard shortcuts

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