fix(domain-events-infra): increase default span ratio
This commit is contained in:
parent
a0e523e64c
commit
88a5de766c
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ export class OpenTelemetrySDK implements OpenTelemetrySDKInterface {
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
const ratio = this.options.spanRatio ?? 0.01
|
const ratio = this.options.spanRatio ?? 0.1
|
||||||
|
|
||||||
this.sdk = new OpenTelemetrySDKNode.NodeSDK({
|
this.sdk = new OpenTelemetrySDKNode.NodeSDK({
|
||||||
sampler: new OpenTelemetrySDKNode.tracing.TraceIdRatioBasedSampler(ratio),
|
sampler: new OpenTelemetrySDKNode.tracing.TraceIdRatioBasedSampler(ratio),
|
||||||
|
|
Loading…
Reference in a new issue