UNPKG

603 BTypeScriptView Raw
1import { IdGenerator } from '../../trace/IdGenerator';
2/**
3 * @deprecated Use the one defined in @opentelemetry/sdk-trace-base instead.
4 */
5export declare class RandomIdGenerator implements IdGenerator {
6 /**
7 * Returns a random 16-byte trace ID formatted/encoded as a 32 lowercase hex
8 * characters corresponding to 128 bits.
9 */
10 generateTraceId: () => string;
11 /**
12 * Returns a random 8-byte span ID formatted/encoded as a 16 lowercase hex
13 * characters corresponding to 64 bits.
14 */
15 generateSpanId: () => string;
16}
17//# sourceMappingURL=RandomIdGenerator.d.ts.map
\No newline at end of file