Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventReporter

EventReporter is responsible to get an event, buffer and send events to the ingestion service endpoint.

Hierarchy

  • EventReporter

Implemented by

Index

Methods

reportEvent

  • reportEvent(ts: number, name: EventName, attributes?: {}): Promise<void>
  • Reports an event with a name, timestamp and any optional attributes.

    Parameters

    • ts: number
    • name: EventName
    • Optional attributes: {}
      • [key: string]: string | number

    Returns Promise<void>

start

  • start(): void

stop

  • stop(): void

Generated using TypeDoc