コンテンツにスキップ

setTracingContextStorage

このコンテンツはまだ日本語訳がありません。

function setTracingContextStorage(storage?): void;

Sets the context storage implementation used for tracing.

Use this before starting traces in runtimes that cannot rely on the SDK’s default AsyncLocalStorage implementation. Pass undefined to restore the default storage.

Parameter Type

storage?

TracingContextStorage<any>

void