OpenTelemetry SDK
    Preparing search index...

    Variable ATTR_FAAS_NAMEConst Experimental

    ATTR_FAAS_NAME: "faas.name" = ...

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

    my-function
    
    myazurefunctionapp/some-function-name
    

    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.name 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:

    • Azure: 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).

    This attribute is experimental and is subject to breaking changes in minor releases of @opentelemetry/semantic-conventions.