Documentation ¶
Index ¶
- func Close() error
- func Init(dsn string, options ...Option) error
- type Option
- func WithDebug(enabled bool) Option
- func WithDist(dist string) Option
- func WithEnv(env string) Option
- func WithRelease(release string) Option
- func WithSampleRate(rate float64) Option
- func WithServerName(name string) Option
- func WithStacktrace(enabled bool) Option
- func WithTracing(enabled bool) Option
- func WithTracingSampleRate(rate float64) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(o *sentry.ClientOptions)
Option configures Sentry.
func WithEnv ¶
WithEnv sets sentry.ClientOptions Environment field to track the name of the environment.
func WithRelease ¶
func WithSampleRate ¶
func WithServerName ¶
func WithStacktrace ¶
func WithTracing ¶
func WithTracingSampleRate ¶
Click to show internal directories.
Click to hide internal directories.