We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25c205a commit 329cf92Copy full SHA for 329cf92
packages/opentelemetry-tracing/src/config.ts
@@ -26,6 +26,7 @@ import {
26
import { ENVIRONMENT } from '@opentelemetry/core/src/utils/environment';
27
28
const env = getEnv();
29
+const FALLBACK_OTEL_TRACES_SAMPLER = TracesSamplerValues.AlwaysOn;
30
31
/**
32
* Default configuration. For fields with primitive values, any user-provided
@@ -42,8 +43,6 @@ export const DEFAULT_CONFIG = {
42
43
},
44
};
45
-const FALLBACK_OTEL_TRACES_SAMPLER = TracesSamplerValues.AlwaysOn;
46
-
47
48
* Based on environment, builds a sampler, complies with specification.
49
* @param env optional, by default uses getEnv(), but allows passing a value to reuse parsed environment
0 commit comments