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

Breadcrumb

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

TraceAttributes::FAAS_NAME

The name of the single function that this runtime instance executes.

This is the name of the function as configured/deployed on the FaaS platform and is usually different from the name of the callback function (which may be stored in the `code.namespace`/`code.function` span attributes).For some cloud providers, the above definition is ambiguous. The following definition of function name MUST be used for this attribute (and consequently the span name) for the listed cloud providers/products:<ul> <li><strong>Azure:</strong> The full name `<FUNCAPP>/<FUNC>`, i.e., function app name followed by a forward slash followed by the function name (this form can also be seen in the resource JSON for the function). This means that a span attribute MUST be used, as an Azure function app can host multiple functions that would usually share a TracerProvider (see also the `cloud.resource_id` attribute).</li> </ul>

@example my-function @example myazurefunctionapp/some-function-name

File

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

Class

TraceAttributes

Namespace

OpenTelemetry\SemConv

Code

public const FAAS_NAME = 'faas.name';

API Navigation

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