Faas Attributes

10 attributes in this category. 10 stable

10 attributes

Stable Attributes

faas.coldstart

boolean Scrub: Manual Visibility: Public OTel: True

A boolean that is true if the serverless function is executed for the first time (aka cold-start).

Example true
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"
    }
  ]
}

faas.cron

string Scrub: Manual Visibility: Public OTel: True

A string containing the schedule period as Cron Expression.

Example 0/5 * * * ? *
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "faas.cron",
  "brief": "A string containing the schedule period as Cron Expression.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "0/5 * * * ? *",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

faas.duration_in_ms

integer Scrub: Manual Visibility: Public OTel: False

The duration a function took to run, in milliseconds.

Example 120
Changelog
v0.11.0 #403
Raw JSON
{
  "key": "faas.duration_in_ms",
  "brief": "The duration a function took to run, in milliseconds.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 120,
  "changelog": [
    {
      "version": "0.11.0",
      "prs": [
        403
      ]
    }
  ]
}

faas.entry_point

string Scrub: Manual Visibility: Public OTel: False

The code that's run when the cloud provider invokes your function.

Example my_main_function
Changelog
v0.11.0 #403#415
Raw JSON
{
  "key": "faas.entry_point",
  "brief": "The code that's run when the cloud provider invokes your function.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "my_main_function",
  "changelog": [
    {
      "version": "0.11.0",
      "prs": [
        403,
        415
      ]
    }
  ]
}

faas.identity

string Scrub: Manual Visibility: Public OTel: False

The Service Account (GCP), IAM Execution Role (AWS), or Managed Identity (Azure) used by the serverless function when interacting with other cloud services

Example name@project.iam.gserviceaccount.com (GCP), arn:aws:iam::123456789012:role/role-name (AWS), 00000000-0000-0000-0000-000000000000 (Azure)
Changelog
v0.11.0 #403
Raw JSON
{
  "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
      ]
    }
  ]
}

faas.invocation_id

string Scrub: Manual Visibility: Public OTel: True

The invocation ID of the current function invocation.

Example af9d5aa4-a685-4c5f-a22b-444f80b3cc28
Changelog
v0.11.1 #414#424
Raw JSON
{
  "key": "faas.invocation_id",
  "brief": "The invocation ID of the current function invocation.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "af9d5aa4-a685-4c5f-a22b-444f80b3cc28",
  "alias": [
    "aws.lambda.aws_request_id"
  ],
  "changelog": [
    {
      "version": "0.11.1",
      "prs": [
        414,
        424
      ]
    }
  ]
}

faas.name

string Scrub: Manual Visibility: Public OTel: True

The name of the serverless function

Example my_function
Changelog
v0.11.0 #403#415
Raw JSON
{
  "key": "faas.name",
  "brief": "The name of the serverless function",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "my_function",
  "alias": [
    "aws.lambda.function_name"
  ],
  "changelog": [
    {
      "version": "0.11.0",
      "prs": [
        403,
        415
      ]
    }
  ]
}

faas.time

string Scrub: Manual Visibility: Public OTel: True

A string containing the function invocation time in the ISO 8601 format expressed in UTC.

Example 2020-01-23T13:47:06Z
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "faas.time",
  "brief": "A string containing the function invocation time in the ISO 8601 format expressed in UTC.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "2020-01-23T13:47:06Z",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

faas.trigger

string Scrub: Manual Visibility: Public OTel: True

Type of the trigger which caused this function invocation.

Example timer
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "faas.trigger",
  "brief": "Type of the trigger which caused this function invocation.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "timer",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

faas.version

string Scrub: Manual Visibility: Public OTel: True

The version of the function that was invoked

Example $LATEST
Changelog
v0.11.1 #414#424
Raw JSON
{
  "key": "faas.version",
  "brief": "The version of the function that was invoked",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "$LATEST",
  "alias": [
    "aws.lambda.function_version"
  ],
  "changelog": [
    {
      "version": "0.11.1",
      "prs": [
        414,
        424
      ]
    }
  ]
}