pub const FAAS_VERSION: Key;
Expand description

The immutable version of the function being executed.

Depending on the cloud provider and platform, use:

  • AWS Lambda: The function version (an integer represented as a decimal string).
  • Google Cloud Run: The revision (i.e., the function name plus the revision suffix).
  • Google Cloud Functions: The value of the K_REVISION environment variable.
  • Azure Functions: Not applicable. Do not set this attribute.

Examples

  • 26
  • pinkfroid-00002