Package io.sentry

Interface ITransactionProfiler

All Known Implementing Classes:
NoOpTransactionProfiler

@Internal public interface ITransactionProfiler
Used for performing operations when a transaction is started or ended.
  • Method Details

    • isRunning

      boolean isRunning()
    • start

      void start()
    • bindTransaction

      void bindTransaction(@NotNull @NotNull ITransaction transaction)
    • onTransactionFinish

      @Nullable @Nullable ProfilingTraceData onTransactionFinish(@NotNull @NotNull ITransaction transaction, @Nullable @Nullable List<PerformanceCollectionData> performanceCollectionData, @NotNull @NotNull SentryOptions options)
    • close

      void close()
      Cancel the profiler and stops it. Used on SDK close.