General Attributes

15 attributes in this category. 6 stable · 9 deprecated

Stable Attributes

app_start_type

string PII: Maybe OTel: False

Mobile app start variant. Either cold or warm.

Example cold
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"
}

blocked_main_thread

boolean PII: False OTel: False

Whether the main thread was blocked by the span.

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

channel

string PII: Maybe OTel: False

The channel name that is being used.

Example mail
SDKs php-laravel
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"
  ]
}

id

string PII: False OTel: False

A unique identifier for the span.

Example f47ac10b58cc4372a5670e02b2c3d479
SDKs php-laravel
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"
  ]
}

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

type

string PII: False OTel: False

More granular type of the operation happening.

Example fetch
SDKs javascript-browserjavascript-node
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"
  ]
}

Deprecated Attributes

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

environment Deprecated

string PII: Maybe OTel: False

The sentry environment.

Example production
Aliases sentry.environment

Use sentry.environment instead.

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

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.

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

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.

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

profile_id Deprecated

string PII: False OTel: False

The id of the sentry profile.

Example 123e4567e89b12d3a456426614174000
Aliases sentry.profile_id

Use sentry.profile_id instead.

Raw JSON
{
  "key": "profile_id",
  "brief": "The id of the sentry profile.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "123e4567e89b12d3a456426614174000",
  "deprecation": {
    "replacement": "sentry.profile_id",
    "_status": null
  },
  "alias": [
    "sentry.profile_id"
  ]
}

release Deprecated

string PII: Maybe OTel: False

The sentry release.

Example production
Aliases sentry.release

Use sentry.release instead.

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

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.

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

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.

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

transaction Deprecated

string PII: Maybe OTel: False

The sentry transaction (segment name).

Example GET /
Aliases sentry.transaction

Use sentry.transaction instead.

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

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.

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