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 2c25759 commit 6f3a82a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/extension/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ func (em *ExtensionManager) SendEndInvocationRequest(ctx context.Context, functi
}
req.Header.Set(string(DdTraceId), fmt.Sprint(functionExecutionSpan.Context().TraceID()))
req.Header.Set(string(DdSpanId), fmt.Sprint(functionExecutionSpan.Context().SpanID()))
if samplingPriority, ok := ctx.Value("_sampling_priority_v1").(string); ok {
fmt.Printf("priority: %s\n", priority)
req.Header.Set(string(DdSamplingPriority), samplingPriority)
}
}
fmt.Printf("[DEBUG lambda] extension.go context: %+v\n", ctx)

Expand Down

0 comments on commit 6f3a82a

Please sign in to comment.