AddBreadcrumb records a new breadcrumb.
AddGlobalEventProcessor adds processor to the global list of event processors.
No description provided by the author
No description provided by the author
CaptureCheckIn captures a (cron) monitor check-in.
CaptureEvent captures an event on the currently active client if any.
CaptureException captures an error.
CaptureMessage captures an arbitrary message.
ConfigureScope is a shorthand for CurrentHub().ConfigureScope.
ContinueFromHeaders returns a span option that updates the span to continue an existing TraceID and propagates the Dynamic Sampling context.
ContinueFromRequest returns a span option that updates the span to continue an existing trace.
ContinueFromTrace returns a span option that updates the span to continue an existing TraceID.
CrontabSchedule defines the MonitorSchedule with a cron format.
CurrentHub returns an instance of previously initialized Hub stored in the global namespace.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExtractStacktrace creates a new Stacktrace based on the given error.
Flush waits until the underlying Transport sends any buffered events to the Sentry server, blocking for at most the given timeout.
GetHubFromContext tries to retrieve Hub instance from the given Context struct or return nil if one is not found.
No description provided by the author
No description provided by the author
HasHubOnContext checks whether Hub instance is bound to a given Context struct.
No description provided by the author
HTTPtoSpanStatus converts an HTTP status code to a SpanStatus.
Init initializes the SDK with options.
IntervalSchedule defines the MonitorSchedule with an interval format.
No description provided by the author
No description provided by the author
LastEventID returns an ID of last captured event.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewClient creates and returns an instance of Client configured using ClientOptions.
timestamp: A unix timestamp (full seconds elapsed since 1970-01-01 00:00 UTC).
timestamp: A unix timestamp (full seconds elapsed since 1970-01-01 00:00 UTC).
NewDsn creates a Dsn by parsing rawURL.
NewEvent creates a new Event.
NewFrame assembles a stacktrace frame out of runtime.Frame.
timestamp: A unix timestamp (full seconds elapsed since 1970-01-01 00:00 UTC).
NewHTTPSyncTransport returns a new pre-configured instance of HTTPSyncTransport.
NewHTTPTransport returns a new pre-configured instance of HTTPTransport.
NewHub returns an instance of a Hub with provided Client and Scope bound.
NewRequest returns a new Sentry Request from the given http.Request.
NewScope creates a new Scope.
timestamp: A unix timestamp (full seconds elapsed since 1970-01-01 00:00 UTC).
NewStacktrace creates a stacktrace using runtime.Callers.
ParseTraceParentContext parses a sentry-trace header and builds a TraceParentContext from the parsed values.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PopScope is a shorthand for CurrentHub().PopScope.
PushScope is a shorthand for CurrentHub().PushScope.
No description provided by the author
Recover captures a panic.
RecoverWithContext captures a panic and passes relevant context object.
No description provided by the author
SetHubOnContext stores given Hub instance on the Context struct and returns a new Context.
SpanFromContext returns the last span stored in the context, or nil if no span is set on the context.
StartSpan starts a new span to describe an operation.
StartTransaction will create a transaction (root span) if there's no existing transaction in the context otherwise, it will return the existing transaction.
No description provided by the author
No description provided by the author
TransactionFromContext returns the root span of the current transaction.
No description provided by the author
WithDescription sets the description of a span.
WithOpName sets the operation name for a given span.
WithScope is a shorthand for CurrentHub().WithScope.
WithSpanOrigin sets the origin of the span.
WithSpanSampled updates the sampling flag for a given span.
WithTransactionName option sets the name of the current transaction.
WithTransactionSource sets the source of the transaction name.