Skip to content

Commit

Permalink
Change default sampling rate from 100% to 0%
Browse files Browse the repository at this point in the history
Refer to #14318

Signed-off-by: Benjamin Wang <[email protected]>
  • Loading branch information
ahrtr committed Aug 6, 2022
1 parent e0c1109 commit 17b0c77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/embed/config_tracing.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ func setupTracingExporter(ctx context.Context, cfg *Config) (exporter tracesdk.S
tracesdk.NewTracerProvider(
tracesdk.WithBatcher(exporter),
tracesdk.WithResource(res),
tracesdk.WithSampler(tracesdk.ParentBased(tracesdk.NeverSample())),
),
),
)
Expand Down

0 comments on commit 17b0c77

Please sign in to comment.