fix(revisions): add trace id sampler
This commit is contained in:
parent
6abdd73a31
commit
bf9072dbd4
2 changed files with 1 additions and 0 deletions
Binary file not shown.
|
@ -176,6 +176,7 @@ export class ContainerConfigLoader {
|
|||
|
||||
if (!isConfiguredForHomeServerOrSelfHosting) {
|
||||
const sdk = new OpenTelemetrySDK.NodeSDK({
|
||||
sampler: new OpenTelemetrySDK.tracing.TraceIdRatioBasedSampler(0.01),
|
||||
textMapPropagator: new AWSXRayPropagator(),
|
||||
instrumentations: [
|
||||
new HttpInstrumentation(),
|
||||
|
|
Loading…
Reference in a new issue