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

Breadcrumb

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

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

ResourceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const FAAS_VERSION = 'faas.version';

API Navigation

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