UNPKG

435 BTypeScriptView Raw
1/**
2 * @deprecated Use the one defined in @opentelemetry/sdk-trace-base instead.
3 * IdGenerator provides an interface for generating Trace Id and Span Id.
4 */
5export interface IdGenerator {
6 /** Returns a trace ID composed of 32 lowercase hex characters. */
7 generateTraceId(): string;
8 /** Returns a span ID composed of 16 lowercase hex characters. */
9 generateSpanId(): string;
10}
11//# sourceMappingURL=IdGenerator.d.ts.map
\No newline at end of file