General Attributes

22 attributes in this category. 6 stable · 16 deprecated

Stable Attributes

app_start_type

string PII: Maybe OTel: False

Mobile app start variant. Either cold or warm.

Example cold
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "app_start_type",
  "brief": "Mobile app start variant. Either cold or warm.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "cold",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

blocked_main_thread

boolean PII: False OTel: False

Whether the main thread was blocked by the span.

Example true
Changelog
v0.0.0
Raw JSON
{
  "key": "blocked_main_thread",
  "brief": "Whether the main thread was blocked by the span.",
  "type": "boolean",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": true,
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

channel

string PII: Maybe OTel: False

The channel name that is being used.

Example mail
SDKs php-laravel
Changelog
v0.1.0 #127
v0.0.0
Raw JSON
{
  "key": "channel",
  "brief": "The channel name that is being used.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "mail",
  "sdks": [
    "php-laravel"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

id

string PII: False OTel: False

A unique identifier for the span.

Example f47ac10b58cc4372a5670e02b2c3d479
SDKs php-laravel
Changelog
v0.0.0
Raw JSON
{
  "key": "id",
  "brief": "A unique identifier for the span.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "f47ac10b58cc4372a5670e02b2c3d479",
  "sdks": [
    "php-laravel"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

previous_route

string PII: Maybe OTel: False

Also used by mobile SDKs to indicate the previous route in the application.

Example HomeScreen
SDKs javascript-reactnative
Changelog
v0.1.0 #74
v0.0.0
Raw JSON
{
  "key": "previous_route",
  "brief": "Also used by mobile SDKs to indicate the previous route in the application.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "HomeScreen",
  "sdks": [
    "javascript-reactnative"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        74
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

type

string PII: False OTel: False

More granular type of the operation happening.

Example fetch
SDKs javascript-browserjavascript-node
Changelog
v0.0.0
Raw JSON
{
  "key": "type",
  "brief": "More granular type of the operation happening.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "fetch",
  "sdks": [
    "javascript-browser",
    "javascript-node"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

Deprecated Attributes

These attributes are deprecated and should not be used in new code. See each attribute for migration guidance.

cls Deprecated

double PII: Maybe OTel: False

The value of the recorded Cumulative Layout Shift (CLS) web vital

Example 0.2361
Aliases browser.web_vital.cls.value
SDKs javascript-browser

Use browser.web_vital.cls.value instead.

The CLS web vital is now recorded as a browser.web_vital.cls.value attribute.

Status: backfill

Changelog
next #229 Added and deprecated attribute to document JS SDK's current behaviour
Raw JSON
{
  "key": "cls",
  "brief": "The value of the recorded Cumulative Layout Shift (CLS) web vital",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 0.2361,
  "deprecation": {
    "replacement": "browser.web_vital.cls.value",
    "reason": "The CLS web vital is now recorded as a browser.web_vital.cls.value attribute.",
    "_status": "backfill"
  },
  "alias": [
    "browser.web_vital.cls.value"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        229
      ],
      "description": "Added and deprecated attribute to document JS SDK's current behaviour"
    }
  ]
}

deviceMemory Deprecated

string PII: Maybe OTel: False

The estimated total memory capacity of the device, only a rough estimation in gigabytes.

Example 8 GB
Aliases device.memory.estimated_capacity
SDKs javascript-browser

Use device.memory.estimated_capacity instead.

Old namespace-less attribute, to be replaced with device.memory.estimated_capacity for span-first future

Status: backfill

Changelog
next #281 Added and deprecated attribute to document JS SDK's current behaviour
Raw JSON
{
  "key": "deviceMemory",
  "brief": "The estimated total memory capacity of the device, only a rough estimation in gigabytes.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "8 GB",
  "deprecation": {
    "replacement": "device.memory.estimated_capacity",
    "reason": "Old namespace-less attribute, to be replaced with device.memory.estimated_capacity for span-first future",
    "_status": "backfill"
  },
  "alias": [
    "device.memory.estimated_capacity"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        281
      ],
      "description": "Added and deprecated attribute to document JS SDK's current behaviour"
    }
  ]
}

environment Deprecated

string PII: Maybe OTel: False

The sentry environment.

Example production
Aliases sentry.environment

Use sentry.environment instead.

Changelog
v0.1.0 #61#127
v0.0.0
Raw JSON
{
  "key": "environment",
  "brief": "The sentry environment.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "production",
  "deprecation": {
    "replacement": "sentry.environment",
    "_status": null
  },
  "alias": [
    "sentry.environment"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61,
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

fcp Deprecated

double PII: Maybe OTel: False

The time it takes for the browser to render the first piece of meaningful content on the screen

Example 547.6951
Aliases browser.web_vital.fcp.value
SDKs javascript-browser

Use browser.web_vital.fcp.value instead.

This attribute is being deprecated in favor of browser.web_vital.fcp.value

Status: backfill

Changelog
next #235
Raw JSON
{
  "key": "fcp",
  "brief": "The time it takes for the browser to render the first piece of meaningful content on the screen",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 547.6951,
  "deprecation": {
    "replacement": "browser.web_vital.fcp.value",
    "reason": "This attribute is being deprecated in favor of browser.web_vital.fcp.value",
    "_status": "backfill"
  },
  "alias": [
    "browser.web_vital.fcp.value"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}

fp Deprecated

double PII: Maybe OTel: False

The time it takes for the browser to render the first pixel on the screen

Example 477.1926
Aliases browser.web_vital.fp.value
SDKs javascript-browser

Use browser.web_vital.fp.value instead.

This attribute is being deprecated in favor of browser.web_vital.fp.value

Status: backfill

Changelog
next #235
Raw JSON
{
  "key": "fp",
  "brief": "The time it takes for the browser to render the first pixel on the screen",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 477.1926,
  "deprecation": {
    "replacement": "browser.web_vital.fp.value",
    "reason": "This attribute is being deprecated in favor of browser.web_vital.fp.value",
    "_status": "backfill"
  },
  "alias": [
    "browser.web_vital.fp.value"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}

fs_error Deprecated

string PII: Maybe OTel: False

The error message of a file system error.

Example ENOENT: no such file or directory
SDKs javascript-node

Use error.type instead.

This attribute is not part of the OpenTelemetry specification and error.type fits much better.

Changelog
v0.1.0 #61#127
v0.0.0
Raw JSON
{
  "key": "fs_error",
  "brief": "The error message of a file system error.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "ENOENT: no such file or directory",
  "deprecation": {
    "replacement": "error.type",
    "reason": "This attribute is not part of the OpenTelemetry specification and error.type fits much better.",
    "_status": null
  },
  "sdks": [
    "javascript-node"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61,
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

hardwareConcurrency Deprecated

string PII: Maybe OTel: False

The number of logical CPU cores available.

Example 14
Aliases device.cpu.logical_core_count
SDKs javascript-browser

Use device.cpu.logical_core_count instead.

Old namespace-less attribute, to be replaced with device.cpu.logical_core_count for span-first future

Status: backfill

Changelog
next #281 Added and deprecated attribute to document JS SDK's current behaviour
Raw JSON
{
  "key": "hardwareConcurrency",
  "brief": "The number of logical CPU cores available.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "14",
  "deprecation": {
    "replacement": "device.cpu.logical_core_count",
    "reason": "Old namespace-less attribute, to be replaced with device.cpu.logical_core_count for span-first future",
    "_status": "backfill"
  },
  "alias": [
    "device.cpu.logical_core_count"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        281
      ],
      "description": "Added and deprecated attribute to document JS SDK's current behaviour"
    }
  ]
}

inp Deprecated

double PII: Maybe OTel: False

The value of the recorded Interaction to Next Paint (INP) web vital

Example 200
Aliases browser.web_vital.inp.value
SDKs javascript-browser

Use browser.web_vital.inp.value instead.

The INP web vital is now recorded as a browser.web_vital.inp.value attribute.

Status: backfill

Changelog
next #229 Added and deprecated attribute to document JS SDK's current behaviour
Raw JSON
{
  "key": "inp",
  "brief": "The value of the recorded Interaction to Next Paint (INP) web vital",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 200,
  "deprecation": {
    "replacement": "browser.web_vital.inp.value",
    "reason": "The INP web vital is now recorded as a browser.web_vital.inp.value attribute.",
    "_status": "backfill"
  },
  "alias": [
    "browser.web_vital.inp.value"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        229
      ],
      "description": "Added and deprecated attribute to document JS SDK's current behaviour"
    }
  ]
}

lcp Deprecated

double PII: Maybe OTel: False

The value of the recorded Largest Contentful Paint (LCP) web vital

Example 2500
Aliases browser.web_vital.lcp.value
SDKs javascript-browser

Use browser.web_vital.lcp.value instead.

The LCP web vital is now recorded as a browser.web_vital.lcp.value attribute.

Status: backfill

Changelog
next #229 Added and deprecated attribute to document JS SDK's current behaviour
Raw JSON
{
  "key": "lcp",
  "brief": "The value of the recorded Largest Contentful Paint (LCP) web vital",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 2500,
  "deprecation": {
    "replacement": "browser.web_vital.lcp.value",
    "reason": "The LCP web vital is now recorded as a browser.web_vital.lcp.value attribute.",
    "_status": "backfill"
  },
  "alias": [
    "browser.web_vital.lcp.value"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        229
      ],
      "description": "Added and deprecated attribute to document JS SDK's current behaviour"
    }
  ]
}

method Deprecated

string PII: Maybe OTel: False

The HTTP method used.

Example GET
Aliases http.request.method
SDKs javascript-browserjavascript-node

Use http.request.method instead.

Changelog
v0.1.0 #61#127
v0.0.0
Raw JSON
{
  "key": "method",
  "brief": "The HTTP method used.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "GET",
  "deprecation": {
    "replacement": "http.request.method",
    "_status": null
  },
  "alias": [
    "http.request.method"
  ],
  "sdks": [
    "javascript-browser",
    "javascript-node"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61,
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

release Deprecated

string PII: Maybe OTel: False

The sentry release.

Example production
Aliases sentry.release

Use sentry.release instead.

Changelog
v0.1.0 #61#127
v0.0.0
Raw JSON
{
  "key": "release",
  "brief": "The sentry release.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "production",
  "deprecation": {
    "replacement": "sentry.release",
    "_status": null
  },
  "alias": [
    "sentry.release"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61,
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

replay_id Deprecated

string PII: False OTel: False

The id of the sentry replay.

Example 123e4567e89b12d3a456426614174000
Aliases sentry.replay_id

Use sentry.replay_id instead.

Changelog
v0.1.0 #61
v0.0.0
Raw JSON
{
  "key": "replay_id",
  "brief": "The id of the sentry replay.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "123e4567e89b12d3a456426614174000",
  "deprecation": {
    "replacement": "sentry.replay_id",
    "_status": null
  },
  "alias": [
    "sentry.replay_id"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

route Deprecated

string PII: Maybe OTel: False

The matched route, that is, the path template in the format used by the respective server framework. Also used by mobile SDKs to indicate the current route in the application.

Example App\Controller::indexAction
Aliases http.route
SDKs php-laraveljavascript-reactnative

Use http.route instead.

Changelog
v0.1.0 #61#74
v0.0.0
Raw JSON
{
  "key": "route",
  "brief": "The matched route, that is, the path template in the format used by the respective server framework. Also used by mobile SDKs to indicate the current route in the application.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "App\\Controller::indexAction",
  "deprecation": {
    "replacement": "http.route",
    "_status": null
  },
  "alias": [
    "http.route"
  ],
  "sdks": [
    "php-laravel",
    "javascript-reactnative"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61,
        74
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

transaction Deprecated

string PII: Maybe OTel: False

The sentry transaction (segment name).

Example GET /
Aliases sentry.transaction

Use sentry.transaction instead.

Changelog
v0.1.0 #61#127
v0.0.0
Raw JSON
{
  "key": "transaction",
  "brief": "The sentry transaction (segment name).",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "GET /",
  "deprecation": {
    "replacement": "sentry.transaction",
    "_status": null
  },
  "alias": [
    "sentry.transaction"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61,
        127
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

ttfb Deprecated

double PII: Maybe OTel: False

The value of the recorded Time To First Byte (TTFB) web vital in milliseconds

Example 194
Aliases browser.web_vital.ttfb.value
SDKs javascript-browser

Use browser.web_vital.ttfb.value instead.

This attribute is being deprecated in favor of browser.web_vital.ttfb.value

Status: backfill

Changelog
next #235
Raw JSON
{
  "key": "ttfb",
  "brief": "The value of the recorded Time To First Byte (TTFB) web vital in milliseconds",
  "type": "double",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 194,
  "deprecation": {
    "replacement": "browser.web_vital.ttfb.value",
    "reason": "This attribute is being deprecated in favor of browser.web_vital.ttfb.value",
    "_status": "backfill"
  },
  "alias": [
    "browser.web_vital.ttfb.value"
  ],
  "sdks": [
    "javascript-browser"
  ],
  "changelog": [
    {
      "version": "next",
      "prs": [
        235
      ]
    }
  ]
}

url Deprecated

string PII: Maybe OTel: False

The URL of the resource that was fetched.

Example https://example.com/test?foo=bar#buzz
Aliases url.fullhttp.url
SDKs javascript-browserjavascript-node

Use url.full instead.

Changelog
v0.1.0 #61
v0.0.0
Raw JSON
{
  "key": "url",
  "brief": "The URL of the resource that was fetched.",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "https://example.com/test?foo=bar#buzz",
  "deprecation": {
    "replacement": "url.full",
    "_status": null
  },
  "alias": [
    "url.full",
    "http.url"
  ],
  "sdks": [
    "javascript-browser",
    "javascript-node"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        61
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}