Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TraceAttributes.php

TraceAttributes::FAAS_MAX_MEMORY

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

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).

@example 134217728

File

vendor/open-telemetry/sem-conv/TraceAttributes.php, line 1500

Class

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const FAAS_MAX_MEMORY = 'faas.max_memory';

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal