PluggableAppTelemetryProvider()
Home > @gooddata/sdk-ui-pluggable-application > PluggableAppTelemetryProvider
PluggableAppTelemetryProvider() function
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.
React provider exposing telemetry callbacks enriched with the module's runtime metadata.
Signature:
export declare function PluggableAppTelemetryProvider(input: IPluggableAppTelemetryProviderProps): import("react/jsx-runtime").JSX.Element;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
{ onTelemetryEvent, moduleReactVersion, moduleSdkVersion, children } |
(not declared) | |
|
input |
Returns:
import("react/jsx-runtime").JSX.Element
Remarks
Components consume the enriched callbacks via usePluggableAppTelemetry() and never handle the module metadata themselves — it lives in the provider's closure. No-ops safely when onTelemetryEvent is absent (e.g. standalone runs outside the host).