Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyzhao2018 committed Dec 11, 2023
1 parent a6c8db3 commit c46f75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/serverless/invocationlifecycle/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ func (lp *LifecycleProcessor) endExecutionSpan(endDetails *InvocationEndDetails)
}

if len(executionSpan.Meta) > 1000 {
log.Warn("The number of span tags for the aws.lambda span is over 1000. This may cause unexpected behaviours such as missing spans. Please consider setting DD_CAPTURE_LAMBDA_PAYLOAD_MAX_DEPTH to limit the number of span tags used for capturing payloads.")
log.Warn("The number of span tags for the aws.lambda span is over 1000. This may cause unexpected behaviours such as missing spans. Please consider setting DD_CAPTURE_LAMBDA_PAYLOAD_MAX_DEPTH to reduce the number of span tags used for capturing payloads.")
}

return executionSpan
Expand Down

0 comments on commit c46f75b

Please sign in to comment.