Class BrowserProfilingIntegrationExperimental

Browser profiling integration. Stores any event that has contexts["profile"]["profile_id"] This exists because we do not want to await async profiler.stop calls as transaction.finish is called in a synchronous context. Instead, we handle sending the profile async from the promise callback and rely on being able to pull the event from the cache when we need to construct the envelope. This makes the integration less reliable as we might be dropping profiles when the cache is full.

Hierarchy

  • BrowserProfilingIntegration

Implements

Methods

Methods

  • Sets the integration up only once. This takes no options on purpose, options should be passed in the constructor

    Parameters

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

    Returns void

Generated using TypeDoc