Skip to content

Commit

Permalink
add lambda span to trace context
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Feb 11, 2025
1 parent 4e98576 commit 1cfa7c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ internal static Scope CreatePlaceholderScope(Tracer tracer, NameValueHeadersColl
tags: null,
parent: context.SpanContext,
serviceName: PlaceholderServiceName,
addToTraceContext: false);
addToTraceContext: true);

TelemetryFactory.Metrics.RecordCountSpanCreated(MetricTags.IntegrationName.AwsLambda);
return tracer.TracerManager.ScopeManager.Activate(span, false);
Expand Down

0 comments on commit 1cfa7c8

Please sign in to comment.