ResourceAttributes::FAAS_VERSION
The immutable version of the function being executed.
Depending on the cloud provider and platform, use:<ul> <li><strong>AWS Lambda:</strong> The function version (an integer represented as a decimal string).</li> <li><strong>Google Cloud Run (Services):</strong> The revision (i.e., the function name plus the revision suffix).</li> <li><strong>Google Cloud Functions:</strong> The value of the `K_REVISION` environment variable.</li> <li><strong>Azure Functions:</strong> Not applicable. Do not set this attribute.</li> </ul>
@example 26 @example pinkfroid-00002
File
-
vendor/
open-telemetry/ sem-conv/ ResourceAttributes.php, line 418
Class
Namespace
OpenTelemetry\SemConvCode
public const FAAS_VERSION = 'faas.version';