sentry

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tracer

type Tracer struct {
}

Tracer is our driver struct; it might have config or references if needed.

func New

func New() (*Tracer, error)

New creates a SentryTracer, typically with some init config.

func (*Tracer) CurrentTransaction

func (st *Tracer) CurrentTransaction(ctx context.Context) drivers.Transaction

CurrentTransaction tries to retrieve the transaction from context. If not found, returns nil.

func (*Tracer) StartTransaction

func (st *Tracer) StartTransaction(ctx context.Context, operation, description string) drivers.Transaction

StartTransaction from the Sentry perspective: we start a new Sentry transaction.

Jump to

Keyboard shortcuts

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