Skip to content

Commit

Permalink
test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
nhulston committed Nov 8, 2024
1 parent 10e338d commit ab88010
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion internal/extension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ func (em *ExtensionManager) SendStartInvocationRequest(ctx context.Context, even
ctx = context.WithValue(ctx, DdParentId, parentId)
}
samplingPriority := response.Header.Get(string(DdSamplingPriority))
samplingPriority = "0.3"
fmt.Printf("[DEBUG] [extension.go] [SendStartInvocationRequest()] Sampling priority: %s\n", samplingPriority)
if samplingPriority != "" {
ctx = context.WithValue(ctx, DdSamplingPriority, samplingPriority)
Expand Down
1 change: 1 addition & 0 deletions internal/trace/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ func startFunctionExecutionSpan(ctx context.Context, mergeXrayTraces bool, isDdS
resourceName = string(extension.DdSeverlessSpan)
}

fmt.Printf("[DEBUG] [lambda-go] startFunctionExecutionSpan() context: %+v\n", parentSpanContext)
span := tracer.StartSpan(
"aws.lambda", // This operation name will be replaced with the value of the service tag by the Forwarder
tracer.SpanType("serverless"),
Expand Down

0 comments on commit ab88010

Please sign in to comment.