Skip to main content

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
Was this chapter helpful?
Report Issue
Edited Feb 23, 2026ยทEdit this page