Skip to content

SdkTelemetryProvider

A destination for the SDK’s anonymous init and error events, alongside or instead of RevTurbine (see RevTurbineInitOptions.sdkTelemetryProviders). send must not be relied on to run to completion: a throw or a rejection is swallowed (one console.warn per provider per session).

name: string

Names the provider in its one failure warning.

send(events): void | Promise<void>

Receive events that already passed the SDK’s de-duplication, cap and gates: the SdkMetaEvent shape POST /api/sdk/meta takes (sdk_init, sdk_error, sdk_validation_warning, resolution_failure). Never a user, tenant, token or URL.

object[]

void | Promise<void>