Preparing search index...
The search index is not available
Sentry JavaScript SDKs
Sentry JavaScript SDKs
@sentry-internal/tracing
getActiveTransaction
Function getActiveTransaction
get
Active
Transaction
<
T
>
(
maybeHub
?
)
:
T
|
undefined
Grabs active transaction off scope, if any
Type Parameters
T
extends
Transaction
<
T
>
Parameters
Optional
maybeHub
:
Hub
Returns
T
|
undefined
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Sentry
Java
Script SDKs
@sentry/angular -
v7.57.0
@sentry/angular-
ivy -
v7.57.0
@sentry/browser -
v7.57.0
@sentry-
internal/browser-
integration-
tests
@sentry/core -
v7.57.0
@sentry-
internal/e2e-
tests
@sentry/ember
@sentry-
internal/eslint-
config-
sdk
@sentry-
internal/eslint-
plugin-
sdk
@sentry/gatsby -
v7.57.0
@sentry/hub -
v7.57.0
@sentry-
internal/integration-
shims
@sentry/integrations -
v7.57.0
@sentry/nextjs
@sentry/node -
v7.57.0
@sentry-
internal/node-
integration-
tests
@sentry/opentelemetry-
node -
v7.57.0
@sentry-
internal/overhead-
metrics
@sentry/react -
v7.57.0
@sentry/remix -
v7.57.0
@sentry/replay -
v7.57.0
@sentry-
internal/replay-
worker -
v7.57.0
@sentry/serverless -
v7.57.0
@sentry/svelte -
v7.57.0
@sentry/sveltekit -
v7.57.0
@sentry/tracing -
v7.57.0
@sentry-
internal/tracing -
v7.57.0
Span
Status
Apollo
Browser
Tracing
Express
GraphQL
Idle
Transaction
Mongo
Mysql
Postgres
Prisma
Span
Transaction
Request
Instrumentation
Options
add
Extension
Methods
add
Tracing
Headers
To
Fetch
Request
extract
Traceparent
Data
get
Active
Transaction
has
Tracing
Enabled
instrument
Outgoing
Requests
span
Statusfrom
Http
Code
start
Idle
Transaction
strip
Url
Query
And
Fragment
@sentry/types -
v7.57.0
@sentry/utils -
v7.57.0
@sentry/vue -
v7.57.0
@sentry/wasm -
v7.57.0
Generated using
TypeDoc
Grabs active transaction off scope, if any