TelemetryPluginOptions
Configuration options for the TelemetryPlugin.
loggerOptions
property
OtelLoggerOptionsThe options for the OtelLogger.
For example, to also include logging to the console, you can use the following:
methodHooks
property
Array<MethodHookConfig<any>>ExperimentalStatus: 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
Was this chapter helpful?