opentelemetry_semantic_conventions::attribute

Constant FAAS_MAX_MEMORY

source
pub const FAAS_MAX_MEMORY: &str = "faas.max_memory";
Expand description

The amount of memory available to the serverless function converted to Bytes.

§Notes

It’s recommended to set this attribute since e.g. too little memory can easily stop a Java AWS Lambda function from working correctly. On AWS Lambda, the environment variable AWS_LAMBDA_FUNCTION_MEMORY_SIZE provides this information (which must be multiplied by 1,048,576).

§Examples

  • 134217728