Skip to main content

AWS Lambda

The following cost calculation tags are required for traces originating from AWS Lambda functions:

Attribute NameExample ValueAllowed Values
aws.lambda.arnarn:aws:lambda:us-east-1:123456789012:function:my_example_functionAny valid arn
aws.lambda.architecturex86_64arm64, x86_64
aws.lambda.memory_size2048Any valid Lambda memory limit
aws.regionus-east-1Any valid Lambda region

Required for CUR Cost Finalization

Costs calculated from the tags above are provisional — estimated from list prices. When you connect your AWS Cost and Usage Report (CUR), Beakpoint Insights replaces provisional costs with your actual billed costs by matching spans to CUR line items. That matching requires one additional tag:

Attribute NameExample ValueAllowed Values
cloud.resource_idarn:aws:lambda:us-east-1:123456789012:function:my_example_functionThe full function ARN (the same value as aws.lambda.arn)
Must be a resource attribute

cloud.resource_id must be set as an OpenTelemetry resource attribute, not a span attribute. Spans sent directly via OTLP will not match your CUR data if this tag only appears at the span level, leaving costs provisional indefinitely.