IModuleTelemetryMetadata
Home > @gooddata/sdk-ui-pluggable-application > IModuleTelemetryMetadata
IModuleTelemetryMetadata 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.
Metadata describing the module runtime that owns the telemetry callbacks.
Signature:
export interface IModuleTelemetryMetadata
Remarks
Attached to every IPluggableAppTelemetryCallbacks.trackEvent payload so events can be attributed to the module's own React / SDK versions. These may differ from the host's (which the host attaches as hostReactVersion / hostSdkVersion) when a module bundles its own React instead of consuming the host's shared singleton.
Capture the versions at the module's mount entry — import { version } from "react" and import { LIB_VERSION } from "@gooddata/sdk-pluggable-application-model" — and pass them in. Reading them inside this shared library would resolve to the host's copies under module federation.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
string |
(ALPHA) (Optional) Version of React that rendered the module, e.g. | ||
|
string |
(ALPHA) (Optional) Version of the GoodData SDK the module is built against, e.g. |