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_examle_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 should be set as an OpenTelemetry resource attribute. Spans sent directly via OTLP will not match your CUR data if the tag only appears at the span level, and their costs will remain provisional indefinitely. (Traces imported from AWS X-Ray have span-level values promoted automatically, but do not rely on this.)