fix(domain-events-infra): increase default span ratio

This commit is contained in:
Karol Sójko 2024-01-03 10:45:35 +01:00
parent a0e523e64c
commit 88a5de766c
No known key found for this signature in database
GPG key ID: C2F813669419D05F

View file

@ -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({
sampler: new OpenTelemetrySDKNode.tracing.TraceIdRatioBasedSampler(ratio),