Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
17 lines
727 B
Plaintext
17 lines
727 B
Plaintext
import { Span } from './span';
|
|
import { SpanContext } from './span_context';
|
|
export declare function isValidTraceId(traceId: string): boolean;
|
|
export declare function isValidSpanId(spanId: string): boolean;
|
|
/**
|
|
* Returns true if this {@link SpanContext} is valid.
|
|
* @return true if this {@link SpanContext} is valid.
|
|
*/
|
|
export declare function isSpanContextValid(spanContext: SpanContext): boolean;
|
|
/**
|
|
* Wrap the given {@link SpanContext} in a new non-recording {@link Span}
|
|
*
|
|
* @param spanContext span context to be wrapped
|
|
* @returns a new non-recording {@link Span} with the provided context
|
|
*/
|
|
export declare function wrapSpanContext(spanContext: SpanContext): Span;
|
|
//# sourceMappingURL=spancontext-utils.d.ts.map |