コンテンツにスキップ

setTracingIdGenerator

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

function setTracingIdGenerator(idGenerator?): void;

Set the trace and span ID generator for the global tracing provider.

Parameter Type Description

idGenerator?

Partial<Readonly<{ generateSpanId: () => string; generateTraceId: () => string; }>>

Custom ID generator methods, or undefined to restore defaults.

void