Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSentryPropagator ¶
func NewSentryPropagator() propagation.TextMapPropagator
func NewSentrySpanProcessor ¶
func NewSentrySpanProcessor() otelSdkTrace.SpanProcessor
Types ¶
type SentrySpanMap ¶
type SentrySpanMap struct {
// contains filtered or unexported fields
}
SentrySpanMap is a mapping between OpenTelemetry spans and Sentry spans. It helps Sentry span processor and propagator to keep track of unfinished Sentry spans and to establish parent-child links between spans.
func (*SentrySpanMap) Clear ¶
func (ssm *SentrySpanMap) Clear()
func (*SentrySpanMap) Delete ¶
func (ssm *SentrySpanMap) Delete(otelSpandID otelTrace.SpanID)
func (*SentrySpanMap) Get ¶
func (ssm *SentrySpanMap) Get(otelSpandID otelTrace.SpanID) (*sentry.Span, bool)
func (*SentrySpanMap) Len ¶
func (ssm *SentrySpanMap) Len() int
func (*SentrySpanMap) Set ¶
func (ssm *SentrySpanMap) Set(otelSpandID otelTrace.SpanID, sentrySpan *sentry.Span)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.