Skip to content

Connectum API Reference / @connectum/testing / index / TelemetryOptions

Interface: TelemetryOptions ​

Defined in: testing/src/telemetry.ts:22

How a scenario gets telemetry of its own.

Properties ​

shutdownProvider ​

shutdownProvider: () => Promise<void>

Defined in: testing/src/telemetry.ts:29

shutdownProvider from @connectum/otel. It is passed in rather than imported so that @connectum/testing does not depend on @connectum/otel, and so that the function that is reset is the one the code under test uses.

Returns ​

Promise<void>