Spaces:
Paused
Paused
Download node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts from Huzaifa1313/Prof_app: direct link, hf CLI and curl.
- Browser
- Download file 804 Bytes
-
https://huggingface.co/spaces/Huzaifa1313/Prof_app/resolve/main/node_modules/%40opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts
- Command line
-
hf download hf://spaces/Huzaifa1313/Prof_app/node_modules/@opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts
-
curl -L -o spancontext-utils.d.ts https://huggingface.co/spaces/Huzaifa1313/Prof_app/resolve/main/node_modules/%40opentelemetry/api/build/esnext/trace/spancontext-utils.d.ts
804 Bytes
| import type { Span } from './span'; | |
| import type { SpanContext } from './span_context'; | |
| /** | |
| * @since 1.0.0 | |
| */ | |
| export declare function isValidTraceId(traceId: string): boolean; | |
| /** | |
| * @since 1.0.0 | |
| */ | |
| export declare function isValidSpanId(spanId: string): boolean; | |
| /** | |
| * Returns true if this {@link SpanContext} is valid. | |
| * @return true if this {@link SpanContext} is valid. | |
| * | |
| * @since 1.0.0 | |
| */ | |
| 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 |