Faas Attributes

8 attributes in this category. 8 stable

8 attributes

Stable Attributes

faas.coldstart

boolean PII: False 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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": true,
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

faas.cron

string PII: Maybe 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",
  "pii": {
    "key": "maybe"
  },
  "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 PII: False Visibility: Public OTel: False

The duration a function took to run, in milliseconds.

Example 120
Changelog
next
Raw JSON
{
  "key": "faas.duration_in_ms",
  "brief": "The duration a function took to run, in milliseconds.",
  "type": "integer",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 120,
  "changelog": [
    {
      "version": "next"
    }
  ]
}

faas.entry_point

string PII: Maybe Visibility: Public OTel: False

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

Example my_main_function
Changelog
next
Raw JSON
{
  "key": "faas.entry_point",
  "brief": "The code that's run when the cloud provider invokes your function.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "my_main_function",
  "changelog": [
    {
      "version": "next"
    }
  ]
}

faas.identity

string PII: True 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
next
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",
  "pii": {
    "key": "true"
  },
  "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": "next"
    }
  ]
}

faas.name

string PII: Maybe Visibility: Public OTel: True

The name of the serverless function

Example my_function
Changelog
next #403#415
Raw JSON
{
  "key": "faas.name",
  "brief": "The name of the serverless function",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "my_function",
  "changelog": [
    {
      "version": "next",
      "prs": [
        403,
        415
      ]
    }
  ]
}

faas.time

string PII: Maybe 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",
  "pii": {
    "key": "maybe"
  },
  "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 PII: Maybe 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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": true,
  "visibility": "public",
  "example": "timer",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}