Documentation ¶
Index ¶
- func EnhanceSentryEvent(event *sentry.Event, hint *sentry.EventHint) *sentry.Event
- func Flush(maxWaiTime time.Duration)
- func SkipDuringUnwind()
- type Reporter
- func (r *Reporter) ReportException(i interface{}) error
- func (r *Reporter) ReportExceptionWithContext(i interface{}, context map[string]interface{}) error
- func (r *Reporter) ReportMessage(msg string) error
- func (r *Reporter) ReportMessageWithContext(msg string, context map[string]interface{}) error
- func (r *Reporter) SetClientFromManager(cm pmapi.Manager)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnhanceSentryEvent ¶
func EnhanceSentryEvent(event *sentry.Event, hint *sentry.EventHint) *sentry.Event
EnhanceSentryEvent swaps type with value and removes panic handlers from the stacktrace.
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
NewReporter creates new sentry reporter with appName and appVersion to report.
func (*Reporter) ReportException ¶
func (*Reporter) ReportExceptionWithContext ¶
func (*Reporter) ReportMessage ¶
func (*Reporter) ReportMessageWithContext ¶
func (*Reporter) SetClientFromManager ¶
Click to show internal directories.
Click to hide internal directories.