sentryotel

package module
v0.18.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: BSD-2-Clause Imports: 10 Imported by: 14

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)

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL