AzureMonitorOpenTelemetryOptions extends DistroOptions which contains the InstrumentationOptions interface, which we cannot modify. Therefore we need to cast DistroInstrumentationOptions passed to the shim config by the client to InstrumentationOptions which includes the console and winston instrumentation options.
AzureMonitorOpenTelemetryOptions
extendsDistroOptions
which contains theInstrumentationOptions
interface, which we cannot modify. Therefore we need to castDistroInstrumentationOptions
passed to the shim config by the client toInstrumentationOptions
which includes the console and winston instrumentation options.1269