type: faas
Description: A serverless instance.
Attribute | Type | Description | Example | Required |
---|---|---|---|---|
faas.name |
string | The name of the function being executed. | my-function |
Yes |
faas.id |
string | The unique ID of the function being executed. [1] | arn:aws:lambda:us-west-2:123456789012:function:my-function |
Yes |
faas.version |
string | The version string of the function being executed as defined in Version Attributes. | 2.0.0 |
No |
faas.instance |
string | The execution environment ID as a string. | my-function:instance-0001 |
No |
[1]: For example, in AWS Lambda this field corresponds to the ARN value, in GCP to the URI of the resource, and in Azure to the FunctionDirectory field.
Note: The resource attribute faas.instance
differs from the span attribute faas.execution
. For more information see the Semantic conventions for FaaS spans.