mirror of
https://github.com/standardnotes/server
synced 2026-01-16 20:04:32 -05:00
fix(revisions): add trace id sampler
This commit is contained in:
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(),
|
||||
|
||||
Reference in New Issue
Block a user