Skip to content

Commit

Permalink
test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Nov 7, 2024
1 parent e78b186 commit 4aabfe8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/trace/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func (l *Listener) HandlerStarted(ctx context.Context, msg json.RawMessage) cont
tracer.WithLambdaMode(extensionNotRunning),
tracer.WithGlobalTag("_dd.origin", "lambda"),
tracer.WithSendRetries(2),
tracer.WithSamplingRules([]tracer.SamplingRule{tracer.RateRule(0.1)}),
}, l.tracerOptions...)
if l.otelTracerEnabled {
provider := ddotel.NewTracerProvider(
Expand Down

0 comments on commit 4aabfe8

Please sign in to comment.