A boolean that is true if the serverless function is executed for the first time (aka cold-start).
Exampletrue
Changelog
v0.0.0
Raw JSON
{
"key": "faas.coldstart",
"brief": "A boolean that is true if the serverless function is executed for the first time (aka cold-start).",
"type": "boolean",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"example": true,
"changelog": [
{
"version": "0.0.0"
}
]
}
The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name.
{
"key": "faas.document.collection",
"brief": "The name of the source on which the triggering operation was performed. For example, in Cloud Storage or S3 corresponds to the bucket name, and in Cosmos DB to the database name.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"examples": [
"myBucketName",
"myDbName"
],
"changelog": [
{
"version": "0.31.0",
"prs": [
747
],
"description": "Added faas.document.collection attribute"
}
]
}
{
"key": "faas.document.name",
"brief": "The document name/table subjected to the operation. For example, in Cloud Storage or S3 is the name of the file, and in Cosmos DB the table name.",
"type": "string",
"apply_scrubbing": {
"key": "auto"
},
"is_in_otel": true,
"visibility": "public",
"examples": [
"myFile.txt",
"myTableName"
],
"changelog": [
{
"version": "0.31.0",
"prs": [
747
],
"description": "Added faas.document.name attribute"
}
]
}
{
"key": "faas.document.operation",
"brief": "Describes the type of the operation that was performed on the data.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"examples": [
"insert",
"edit",
"delete"
],
"additional_context": [
"Has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.",
"`delete`: When an object is deleted.",
"`edit`: When an object is modified.",
"`insert`: When a new object is created."
],
"changelog": [
{
"version": "0.31.0",
"prs": [
747
],
"description": "Added faas.document.operation attribute"
}
]
}
{
"key": "faas.document.time",
"brief": "A string containing the time when the data was accessed in the ISO 8601 format expressed in UTC.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"examples": [
"2020-01-23T13:47:06Z"
],
"changelog": [
{
"version": "0.31.0",
"prs": [
747
],
"description": "Added faas.document.time attribute"
}
]
}
The Service Account (GCP), IAM Execution Role (AWS), or Managed Identity (Azure) used by the serverless function when interacting with other cloud services
{
"key": "faas.identity",
"brief": "The Service Account (GCP), IAM Execution Role (AWS), or Managed Identity (Azure) used by the serverless function when interacting with other cloud services",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"example": "name@project.iam.gserviceaccount.com (GCP), arn:aws:iam::123456789012:role/role-name (AWS), 00000000-0000-0000-0000-000000000000 (Azure)",
"changelog": [
{
"version": "0.11.0",
"prs": [
403
]
}
]
}
{
"key": "faas.instance",
"brief": "The execution environment ID as a string, that will be potentially reused for other invocations to the same function/function version.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": true,
"visibility": "public",
"examples": [
"2021/06/28/[$LATEST]2f399eb14537447da05ab2a2e39309de"
],
"additional_context": [
"For AWS Lambda, use the (full) log stream name."
],
"changelog": [
{
"version": "0.31.0",
"prs": [
748
],
"description": "Added faas.instance attribute"
}
]
}
This attribute is being deprecated in favor of faas.invocation_id, which is the OTel-aligned replacement.
Status: backfill
Changelog
v0.16.0#473Added faas.execution attribute, deprecated in favor of faas.invocation_id
Raw JSON
{
"key": "faas.execution",
"brief": "The execution ID of the current function execution.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"example": "af9d5aa4-a685-4c5f-a22b-444f80b3cc28",
"deprecation": {
"replacement": "faas.invocation_id",
"reason": "This attribute is being deprecated in favor of faas.invocation_id, which is the OTel-aligned replacement.",
"_status": "backfill"
},
"alias": [
"faas.invocation_id",
"aws.lambda.aws_request_id"
],
"changelog": [
{
"version": "0.16.0",
"prs": [
473
],
"description": "Added faas.execution attribute, deprecated in favor of faas.invocation_id"
}
]
}
This attribute is being deprecated in favor of cloud.resource_id, which is the OTel-aligned replacement (renamed in OTel semantic conventions v1.19.0).
Status: backfill
Changelog
v0.16.0#475Added faas.id attribute, deprecated in favor of cloud.resource_id
Raw JSON
{
"key": "faas.id",
"brief": "The unique ID of the single function that this runtime instance executes.",
"type": "string",
"apply_scrubbing": {
"key": "manual"
},
"is_in_otel": false,
"visibility": "public",
"example": "arn:aws:lambda:REGION:ACCOUNT_ID:function:my-function",
"deprecation": {
"replacement": "cloud.resource_id",
"reason": "This attribute is being deprecated in favor of cloud.resource_id, which is the OTel-aligned replacement (renamed in OTel semantic conventions v1.19.0).",
"_status": "backfill"
},
"alias": [
"cloud.resource_id"
],
"changelog": [
{
"version": "0.16.0",
"prs": [
475
],
"description": "Added faas.id attribute, deprecated in favor of cloud.resource_id"
}
]
}