Interface to be implemented by collectors.

Collectors collect data and inform the client of events.

For instance a collector may notify the telemetry instance of HTTP navigation or of UI events. A collector can be created independently of a Recorder and can begin collecting immediately. It may queue information until it can be registered with a recorder.

Hierarchy

  • Collector

Methods

  • Register the collector with a recorder.

    Parameters

    • recorder: Recorder

      Recorder to report events or breadcrumbs to.

    • sessionId: string

      The current session ID.

    Returns void

  • Unregister the collector. It will stop sending events to the recorder.

    Returns void

Generated using TypeDoc