IPluggableAppTelemetryCallbacks
Home > @gooddata/sdk-pluggable-application-model > IPluggableAppTelemetryCallbacks
IPluggableAppTelemetryCallbacks interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Telemetry callbacks provided by the shell to pluggable applications.
Signature:
export interface IPluggableAppTelemetryCallbacks
Remarks
Pluggable applications can use these methods to log events through the shell's centralized telemetry system. All events are automatically tagged with the source application ID.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(eventName: string, data?: Record<string, unknown>, options?: ITelemetryEventOptions) => void |
(ALPHA) Track a custom telemetry event from the pluggable application. | ||
|
(page: string) => void |
(ALPHA) Track a page view within the pluggable application. | ||
|
(variable: string, label: string, valueMs: number) => void |
(ALPHA) Track a timing measurement from the pluggable application. |