withTelemetry()
Home > @gooddata/sdk-backend-spi > IAnalyticalBackend > withTelemetry
IAnalyticalBackend.withTelemetry() method
Sets telemetry information that SHOULD be sent to backend to track component usage.
Signature:
withTelemetry(componentName: string, props: object): IAnalyticalBackend;
Parameters
Parameter | Type | Description |
---|---|---|
componentName | string | name of component |
props | object | props |
Returns:
a new instance of backend, set up with the provided telemetry