Documentation ¶
Overview ¶
Package performance provides helpers to get sentry performance monitoring working fast.
Index ¶
- func CreateSpan(transactionName string, operation string) *sentry.Span
- func CreateTransaction(name string, operation string) *sentry.Span
- func CreateTransactionWithContext(name string, operation string, ctx context.Context) *sentry.Span
- func GetSpan(transactionName string, operation string) *sentry.Span
- func GetTransaction(name string) *sentry.Span
- func Refresh()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSpan ¶
CreateSpan creates a span and attaches it to a transaction specified by its name (returns nil if transaction doesn't exist).
func CreateTransaction ¶
CreateTransaction creates a transaction that can be attached additional spans.
func CreateTransactionWithContext ¶ added in v1.2.0
CreateTransactionWithContext creates a transaction that can be attached additional spans and sets an existing context.
func GetTransaction ¶
func GetTransaction(name string) *sentry.Span
GetTransaction returns a transaction by its name (or nil if none exists).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.