Documentation
¶
Overview ¶
Package sentry is a report sink for Sentry, and for the services that take its protocol, such as GlitchTip and Bugsink:
report.New(report.Options{Sinks: []report.Sink{sentry.New(sentry.Options{})}})
With no DSN it reads SENTRY_DSN. Reports keep their group as Sentry's fingerprint, so Sentry's issues match Tern's groups, and carry the trace they happened in.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct {
// DSN is the project's DSN: https://KEY@HOST/PROJECT. The default is
// SENTRY_DSN's.
DSN string
// ServerName names the machine. The default is its host name.
ServerName string
// Client sends the requests. The default is http.DefaultClient.
Client *http.Client
}
Options configures the sink.
Click to show internal directories.
Click to hide internal directories.