Spaces:
Paused
Paused
Download node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js from Huzaifa1313/prof1: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/spaces/Huzaifa1313/prof1/resolve/main/node_modules/%40opentelemetry/api/build/esm/trace/SamplingResult.js
- Command line
-
hf download hf://spaces/Huzaifa1313/prof1/node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js
-
curl -L -o SamplingResult.js https://huggingface.co/spaces/Huzaifa1313/prof1/resolve/main/node_modules/%40opentelemetry/api/build/esm/trace/SamplingResult.js
1.03 kB
| /* | |
| * Copyright The OpenTelemetry Authors | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| /** | |
| * @deprecated use the one declared in @opentelemetry/sdk-trace-base instead. | |
| * A sampling decision that determines how a {@link Span} will be recorded | |
| * and collected. | |
| * | |
| * @since 1.0.0 | |
| */ | |
| export var SamplingDecision; | |
| (function (SamplingDecision) { | |
| /** | |
| * `Span.isRecording() === false`, span will not be recorded and all events | |
| * and attributes will be dropped. | |
| */ | |
| SamplingDecision[SamplingDecision["NOT_RECORD"] = 0] = "NOT_RECORD"; | |
| /** | |
| * `Span.isRecording() === true`, but `Sampled` flag in {@link TraceFlags} | |
| * MUST NOT be set. | |
| */ | |
| SamplingDecision[SamplingDecision["RECORD"] = 1] = "RECORD"; | |
| /** | |
| * `Span.isRecording() === true` AND `Sampled` flag in {@link TraceFlags} | |
| * MUST be set. | |
| */ | |
| SamplingDecision[SamplingDecision["RECORD_AND_SAMPLED"] = 2] = "RECORD_AND_SAMPLED"; | |
| })(SamplingDecision || (SamplingDecision = {})); | |
| //# sourceMappingURL=SamplingResult.js.map |