Documentation ¶
Index ¶
- Constants
- func Close()
- func Error(err error, tags ...map[string]string)
- func ErrorSentryFlushTimeoutExceeded() error
- func ErrorUserIDNotSpecified() error
- func Event(name string, properties ...map[string]interface{})
- func EventFromException(exception error) *sentry.Event
- func EventNotify(name string, properties ...map[string]interface{})
- func Init(telemetryConfig Config) error
- func RecordEmail(email string)
- func RecordOperatorID(clientID string, operatorID string)
- type BackoffMode
- type Config
Constants ¶
View Source
const ( ErrUserIDNotSpecified = "telemetry.user_id_not_specified" ErrSentryFlushTimeoutExceeded = "telemetry.sentry_flush_timeout_exceeded" )
Variables ¶
This section is empty.
Functions ¶
func ErrorSentryFlushTimeoutExceeded ¶ added in v0.15.0
func ErrorSentryFlushTimeoutExceeded() error
func ErrorUserIDNotSpecified ¶ added in v0.15.0
func ErrorUserIDNotSpecified() error
func EventFromException ¶ added in v0.15.0
func EventFromException(exception error) *sentry.Event
func EventNotify ¶ added in v0.12.0
func RecordEmail ¶ added in v0.12.0
func RecordEmail(email string)
func RecordOperatorID ¶ added in v0.12.0
Types ¶
type BackoffMode ¶ added in v0.13.0
type BackoffMode int
const ( NoBackoff BackoffMode = iota BackoffDuplicateMessages BackoffAnyMessages )
Click to show internal directories.
Click to hide internal directories.