@nativescript-community/sentry
    Preparing search index...

    Class NativescriptTracing

    Tracing integration for React Native.

    Implements

    • Integration
    Index

    Constructors

    Properties

    name: string
    nativeFramesInstrumentation?: NativeFramesInstrumentation
    options: NativescriptTracingOptions

    NativescriptTracing options

    stallTrackingInstrumentation?: StallTrackingInstrumentation
    useAppStartWithProfiler: boolean
    id: string

    Methods

    • Called by the NativescriptProfiler component on first component mount.

      Parameters

      • endTimestamp: number

      Returns void

    • To be called on a transaction finish. Cannot have async methods.

      Parameters

      • transaction: Transaction
      • OptionalendTimestamp: number

      Returns void

    • Registers routing and request instrumentation.

      Parameters

      • addGlobalEventProcessor: (callback: EventProcessor) => void
      • getCurrentHub: () => Hub

      Returns void

    • Starts a new transaction for a user interaction.

      Parameters

      • userInteractionId: { elementId: string; op: string }

        Consists of op representation UI Event and elementId unique element identifier on current screen.

      Returns Transaction