Skip to main content
Previewvendurehq/vendure/feat/4563-refund-destinations

TelemetryPluginOptions

Configuration options for the TelemetryPlugin.

Signature

loggerOptions

The options for the OtelLogger.

For example, to also include logging to the console, you can use the following:

Ts

methodHooks

propertyArray<MethodHookConfig<any>>Experimental

Status: Developer Preview

This API may change in a future release.

Method hooks allow you to add extra telemetry actions to specific methods. To define hooks on a method, use the registerMethodHooks function.

Example

Ts