pub const FAAS_VERSION: &str = "faas.version";
Expand description
The immutable version of the function being executed.
§Notes
Depending on the cloud provider and platform, use:
- AWS Lambda: The function version (an integer represented as a decimal string).
- Google Cloud Run (Services): 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"