Sentry Attributes

85 attributes in this category.62 stable·23 deprecated

85 attributes

Stable Attributes

sentry.action

stringScrub: ManualVisibility: PublicOTel: False

Used as a generic attribute representing the action depending on the type of span. For instance, this is the database query operation for DB spans, and the request method for HTTP spans.

ExampleSELECT
Changelog
v0.4.0#212
Raw JSON
{
  "key": "sentry.action",
  "brief": "Used as a generic attribute representing the action depending on the type of span. For instance, this is the database query operation for DB spans, and the request method for HTTP spans.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "SELECT",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.cancellation_reason

stringScrub: NeverVisibility: PublicOTel: False

The reason why a span ended early.

Exampledocument.hidden
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.cancellation_reason",
  "brief": "The reason why a span ended early.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "document.hidden",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.category

stringScrub: NeverVisibility: PublicOTel: False

The high-level category of a span, derived from the span operation or span attributes. This categorizes spans by their general purpose (e.g., database, HTTP, UI). Known values include: 'ai', 'ai.pipeline', 'app', 'browser', 'cache', 'console', 'db', 'event', 'file', 'function.aws', 'function.azure', 'function.gcp', 'function.nextjs', 'function.remix', 'graphql', 'grpc', 'http', 'measure', 'middleware', 'navigation', 'pageload', 'queue', 'resource', 'rpc', 'serialize', 'subprocess', 'template', 'topic', 'ui', 'ui.angular', 'ui.ember', 'ui.react', 'ui.svelte', 'ui.vue', 'view', 'websocket'.

Exampledb
Changelog
v0.4.0#218
Raw JSON
{
  "key": "sentry.category",
  "brief": "The high-level category of a span, derived from the span operation or span attributes. This categorizes spans by their general purpose (e.g., database, HTTP, UI). Known values include: 'ai', 'ai.pipeline', 'app', 'browser', 'cache', 'console', 'db', 'event', 'file', 'function.aws', 'function.azure', 'function.gcp', 'function.nextjs', 'function.remix', 'graphql', 'grpc', 'http', 'measure', 'middleware', 'navigation', 'pageload', 'queue', 'resource', 'rpc', 'serialize', 'subprocess', 'template', 'topic', 'ui', 'ui.angular', 'ui.ember', 'ui.react', 'ui.svelte', 'ui.vue', 'view', 'websocket'.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "db",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        218
      ]
    }
  ]
}

sentry.client_sample_rate

doubleScrub: NeverVisibility: PublicOTel: False

Rate at which a span was sampled in the SDK.

Example0.5
Changelog
v0.1.0#102
Raw JSON
{
  "key": "sentry.client_sample_rate",
  "brief": "Rate at which a span was sampled in the SDK.",
  "type": "double",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 0.5,
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        102
      ]
    }
  ]
}

sentry.description

stringScrub: AutoVisibility: PublicOTel: False

The human-readable description of a span.

Exampleindex view query
Changelog
v0.1.0#135
Raw JSON
{
  "key": "sentry.description",
  "brief": "The human-readable description of a span.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "index view query",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        135
      ]
    }
  ]
}

sentry.dist

stringScrub: NeverVisibility: PublicOTel: False

The sentry dist.

Example1.0
Aliasesdist
Changelog
v0.16.0#489Added dist as an alias
v0.0.0
Raw JSON
{
  "key": "sentry.dist",
  "brief": "The sentry dist.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "1.0",
  "alias": [
    "dist"
  ],
  "changelog": [
    {
      "version": "0.16.0",
      "prs": [
        489
      ],
      "description": "Added dist as an alias"
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.domain

stringScrub: ManualVisibility: PublicOTel: False

Used as a generic attribute representing the domain depending on the type of span. For instance, this is the collection/table name for database spans, and the server address for HTTP spans.

Exampleexample.com
Changelog
v0.4.0#212
Raw JSON
{
  "key": "sentry.domain",
  "brief": "Used as a generic attribute representing the domain depending on the type of span. For instance, this is the collection/table name for database spans, and the server address for HTTP spans.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "example.com",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.dsc.environment

stringScrub: NeverVisibility: InternalOTel: False

The environment from the dynamic sampling context.

Exampleprod
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.environment",
  "brief": "The environment from the dynamic sampling context.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "prod",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.project_id

stringScrub: NeverVisibility: InternalOTel: False

The ID of the project where the trace originated (i.e. the project of the SDK that started the trace). Propagated through the dynamic sampling context and set by Relay during ingestion.

Example12345
Changelog
v0.7.0#358Add sentry.dsc.project_id as an attribute
Raw JSON
{
  "key": "sentry.dsc.project_id",
  "brief": "The ID of the project where the trace originated (i.e. the project of the SDK that started the trace). Propagated through the dynamic sampling context and set by Relay during ingestion.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "12345",
  "changelog": [
    {
      "version": "0.7.0",
      "prs": [
        358
      ],
      "description": "Add sentry.dsc.project_id as an attribute"
    }
  ]
}

sentry.dsc.public_key

stringScrub: ManualVisibility: InternalOTel: False

The public key from the dynamic sampling context.

Examplec51734c603c4430eb57cb0a5728a479d
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.public_key",
  "brief": "The public key from the dynamic sampling context.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "c51734c603c4430eb57cb0a5728a479d",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.release

stringScrub: NeverVisibility: InternalOTel: False

The release identifier from the dynamic sampling context.

Examplefrontend@e8211be71b214afab5b85de4b4c54be3714952bb
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.release",
  "brief": "The release identifier from the dynamic sampling context.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "frontend@e8211be71b214afab5b85de4b4c54be3714952bb",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.sample_rate

stringScrub: NeverVisibility: InternalOTel: False

The sample rate from the dynamic sampling context.

Example1.0
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.sample_rate",
  "brief": "The sample rate from the dynamic sampling context.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "1.0",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.sampled

booleanScrub: NeverVisibility: InternalOTel: False

Whether the event was sampled according to the dynamic sampling context.

Exampletrue
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.sampled",
  "brief": "Whether the event was sampled according to the dynamic sampling context.",
  "type": "boolean",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": true,
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.trace_id

stringScrub: NeverVisibility: InternalOTel: False

The trace ID from the dynamic sampling context.

Example047372980460430cbc78d9779df33a46
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.trace_id",
  "brief": "The trace ID from the dynamic sampling context.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "047372980460430cbc78d9779df33a46",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.transaction

stringScrub: NeverVisibility: InternalOTel: False

The transaction name from the dynamic sampling context.

Example/issues/errors-outages/
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.dsc.transaction",
  "brief": "The transaction name from the dynamic sampling context.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "/issues/errors-outages/",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.environment

stringScrub: NeverVisibility: PublicOTel: False

The sentry environment.

Exampleproduction
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.environment",
  "brief": "The sentry environment.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "production",
  "alias": [
    "environment"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.event.serialized_breadcrumbs

stringScrub: NeverVisibility: InternalOTel: False

JSON-serialized `breadcrumbs` property from a Sentry event.

Changelog
v0.19.0#556
Raw JSON
{
  "key": "sentry.event.serialized_breadcrumbs",
  "brief": "JSON-serialized `breadcrumbs` property from a Sentry event.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        556
      ]
    }
  ]
}

sentry.event.serialized_contexts

stringScrub: NeverVisibility: InternalOTel: False

JSON-serialized `contexts` property from a Sentry event.

Changelog
v0.19.0#556
Raw JSON
{
  "key": "sentry.event.serialized_contexts",
  "brief": "JSON-serialized `contexts` property from a Sentry event.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        556
      ]
    }
  ]
}

sentry.event.serialized_extra

stringScrub: NeverVisibility: InternalOTel: False

JSON-serialized `extra` property from a Sentry event.

Changelog
v0.19.0#556
Raw JSON
{
  "key": "sentry.event.serialized_extra",
  "brief": "JSON-serialized `extra` property from a Sentry event.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        556
      ]
    }
  ]
}

sentry.exclusive_time

doubleScrub: ManualVisibility: PublicOTel: False

The exclusive time duration of the span in milliseconds.

Example1234
Changelog
v0.4.0#228
v0.3.0#160
v0.0.0
Raw JSON
{
  "key": "sentry.exclusive_time",
  "brief": "The exclusive time duration of the span in milliseconds.",
  "type": "double",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 1234,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        228
      ]
    },
    {
      "version": "0.3.0",
      "prs": [
        160
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.graphql.operation

stringScrub: ManualVisibility: PublicOTel: False

Indicates the type of graphql operation, emitted by the Javascript SDK.

ExamplegetUserById
Changelog
v0.3.1#190
Raw JSON
{
  "key": "sentry.graphql.operation",
  "brief": "Indicates the type of graphql operation, emitted by the Javascript SDK.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "getUserById",
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        190
      ]
    }
  ]
}

sentry.group

stringScrub: NeverVisibility: PublicOTel: False

Stores the hash of `sentry.normalized_description`. This is primarily used for grouping spans in the product end.

Changelog
v0.4.0#212
Raw JSON
{
  "key": "sentry.group",
  "brief": "Stores the hash of `sentry.normalized_description`. This is primarily used for grouping spans in the product end.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.http.prefetch

booleanScrub: NeverVisibility: PublicOTel: False

If an http request was a prefetch request.

Exampletrue
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.http.prefetch",
  "brief": "If an http request was a prefetch request.",
  "type": "boolean",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": true,
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.idle_span_finish_reason

stringScrub: NeverVisibility: PublicOTel: False

The reason why an idle span ended early.

ExampleidleTimeout
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.idle_span_finish_reason",
  "brief": "The reason why an idle span ended early.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "idleTimeout",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.is_remote

booleanScrub: NeverVisibility: PublicOTel: False

Indicates whether a span's parent is remote.

Exampletrue
Changelog
v0.3.1#190
Raw JSON
{
  "key": "sentry.is_remote",
  "brief": "Indicates whether a span's parent is remote.",
  "type": "boolean",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": true,
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        190
      ]
    }
  ]
}

sentry.kind

stringScrub: ManualVisibility: PublicOTel: False

Used to clarify the relationship between parents and children, or to distinguish between spans, e.g. a `server` and `client` span with the same name.

Examplesclientserverproducerconsumerinternal
Aliasesotel.kind
Additional Context
  • Valid attribute values are: "client", "server", "producer", "consumer" and "internal"
Changelog
v0.19.0#517Added more examples and additional_context to the attribute
v0.3.1#190
Raw JSON
{
  "key": "sentry.kind",
  "brief": "Used to clarify the relationship between parents and children, or to distinguish between spans, e.g. a `server` and `client` span with the same name.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "examples": [
    "client",
    "server",
    "producer",
    "consumer",
    "internal"
  ],
  "alias": [
    "otel.kind"
  ],
  "additional_context": [
    "Valid attribute values are: \"client\", \"server\", \"producer\", \"consumer\" and \"internal\""
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        517
      ],
      "description": "Added more examples and additional_context to the attribute"
    },
    {
      "version": "0.3.1",
      "prs": [
        190
      ]
    }
  ]
}

sentry.main_thread

booleanScrub: NeverVisibility: PublicOTel: False

Whether the span or event occurred on the main thread. Computed by Relay and should not be set by SDKs.

Exampletrue
Changelog
v0.5.0
Raw JSON
{
  "key": "sentry.main_thread",
  "brief": "Whether the span or event occurred on the main thread. Computed by Relay and should not be set by SDKs.",
  "type": "boolean",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": true,
  "changelog": [
    {
      "version": "0.5.0"
    }
  ]
}

sentry.message.parameter.<key>

stringScrub: AutoVisibility: PublicOTel: False

A parameter used in the message template. <key> can either be the number that represent the parameter's position in the template string (sentry.message.parameter.0, sentry.message.parameter.1, etc) or the parameter's name (sentry.message.parameter.item_id, sentry.message.parameter.user_id, etc)

Examplesentry.message.parameter.0='123'
Changelog
v0.1.0#116
Raw JSON
{
  "key": "sentry.message.parameter.<key>",
  "brief": "A parameter used in the message template. <key> can either be the number that represent the parameter's position in the template string (sentry.message.parameter.0, sentry.message.parameter.1, etc) or the parameter's name (sentry.message.parameter.item_id, sentry.message.parameter.user_id, etc)",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "sentry.message.parameter.0='123'",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        116
      ]
    }
  ]
}

sentry.message.template

stringScrub: ManualVisibility: PublicOTel: False

The parameterized template string.

ExampleHello, {name}!
Changelog
v0.1.0#116
Raw JSON
{
  "key": "sentry.message.template",
  "brief": "The parameterized template string.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "Hello, {name}!",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        116
      ]
    }
  ]
}

sentry.metric.source

stringScrub: NeverVisibility: PublicOTel: False

The provenance of a metric. For example, this can be set to indicate if a metric was generated by Relay from a span.

Examplespan
Changelog
v0.16.0#476Added sentry.metric.source attribute
Raw JSON
{
  "key": "sentry.metric.source",
  "brief": "The provenance of a metric.  For example, this can be set to indicate if a metric was generated by Relay from a span.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "span",
  "changelog": [
    {
      "version": "0.16.0",
      "prs": [
        476
      ],
      "description": "Added sentry.metric.source attribute"
    }
  ]
}

sentry.mobile

booleanScrub: NeverVisibility: PublicOTel: False

Whether the application is using a mobile SDK. Computed by Relay and should not be set by SDKs.

Exampletrue
Changelog
v0.5.0
Raw JSON
{
  "key": "sentry.mobile",
  "brief": "Whether the application is using a mobile SDK. Computed by Relay and should not be set by SDKs.",
  "type": "boolean",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": true,
  "changelog": [
    {
      "version": "0.5.0"
    }
  ]
}

sentry.module.<key>

stringScrub: ManualVisibility: PublicOTel: FalseDynamic

A module that was loaded in the process. The key is the name of the module.

Examplesentry.module.brianium/paratest='v7.7.0'
Dynamic SuffixYes - the key contains dynamic parts
Changelog
v0.1.0#103
Raw JSON
{
  "key": "sentry.module.<key>",
  "brief": "A module that was loaded in the process. The key is the name of the module.",
  "has_dynamic_suffix": true,
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "sentry.module.brianium/paratest='v7.7.0'",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        103
      ]
    }
  ]
}

sentry.nextjs.ssr.function.route

stringScrub: NeverVisibility: PublicOTel: False

A parameterized route for a function in Next.js that contributes to Server-Side Rendering. Should be present on spans that track such functions when the file location of the function is known.

Example/posts/[id]/layout
Changelog
v0.1.0#54#106
Raw JSON
{
  "key": "sentry.nextjs.ssr.function.route",
  "brief": "A parameterized route for a function in Next.js that contributes to Server-Side Rendering. Should be present on spans that track such functions when the file location of the function is known.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "/posts/[id]/layout",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        54,
        106
      ]
    }
  ]
}

sentry.nextjs.ssr.function.type

stringScrub: NeverVisibility: PublicOTel: False

A descriptor for a for a function in Next.js that contributes to Server-Side Rendering. Should be present on spans that track such functions.

ExamplegenerateMetadata
Changelog
v0.1.0#54#106
Raw JSON
{
  "key": "sentry.nextjs.ssr.function.type",
  "brief": "A descriptor for a for a function in Next.js that contributes to Server-Side Rendering. Should be present on spans that track such functions.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "generateMetadata",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        54,
        106
      ]
    }
  ]
}

sentry.normalized_db_query

stringScrub: ManualVisibility: PublicOTel: False

The normalized version of `db.query.text`.

ExampleSELECT .. FROM sentry_project WHERE (project_id = %s)
Changelog
v0.3.1#194
Raw JSON
{
  "key": "sentry.normalized_db_query",
  "brief": "The normalized version of `db.query.text`.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "SELECT .. FROM sentry_project WHERE (project_id = %s)",
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        194
      ]
    }
  ]
}

sentry.normalized_db_query.hash

stringScrub: NeverVisibility: PublicOTel: False

The hash of `sentry.normalized_db_query`.

Changelog
v0.4.0#200
Raw JSON
{
  "key": "sentry.normalized_db_query.hash",
  "brief": "The hash of `sentry.normalized_db_query`.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        200
      ]
    }
  ]
}

sentry.normalized_description

stringScrub: AutoVisibility: PublicOTel: False

Used as a generic attribute representing the normalized `sentry.description`. This refers to the legacy use case of `sentry.description` where it holds relevant data depending on the type of span (e.g. database query, resource url, http request description, etc).

ExampleSELECT .. FROM sentry_project WHERE (project_id = %s)
Changelog
v0.4.0#212
Raw JSON
{
  "key": "sentry.normalized_description",
  "brief": "Used as a generic attribute representing the normalized `sentry.description`. This refers to the legacy use case of `sentry.description` where it holds relevant data depending on the type of span (e.g. database query, resource url, http request description, etc).",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "SELECT .. FROM sentry_project WHERE (project_id = %s)",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.observed_timestamp_nanos

stringScrub: NeverVisibility: PublicOTel: False

The timestamp at which an envelope was received by Relay, in nanoseconds.

Example1544712660300000000
Changelog
v0.3.0#174
v0.2.0#137
Raw JSON
{
  "key": "sentry.observed_timestamp_nanos",
  "brief": "The timestamp at which an envelope was received by Relay, in nanoseconds.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "1544712660300000000",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        174
      ]
    },
    {
      "version": "0.2.0",
      "prs": [
        137
      ]
    }
  ]
}

sentry.op

stringScrub: NeverVisibility: PublicOTel: False

The operation of a span.

Examplehttp.client
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.op",
  "brief": "The operation of a span.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "http.client",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.origin

stringScrub: NeverVisibility: PublicOTel: False

The origin of the instrumentation (e.g. span, log, etc.)

Exampleauto.http.otel.fastify
Changelog
v0.1.0#68
v0.0.0
Raw JSON
{
  "key": "sentry.origin",
  "brief": "The origin of the instrumentation (e.g. span, log, etc.)",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "auto.http.otel.fastify",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        68
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.pageload.span_id

stringScrub: ManualVisibility: PublicOTel: False

The id of the pageload span, set by web vital spans and metrics

Examplebf2c8d3df84524de
Changelog
v0.17.0#495Added sentry.pageload.span_id attribute
Raw JSON
{
  "key": "sentry.pageload.span_id",
  "brief": "The id of the pageload span, set by web vital spans and metrics",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "bf2c8d3df84524de",
  "changelog": [
    {
      "version": "0.17.0",
      "prs": [
        495
      ],
      "description": "Added sentry.pageload.span_id attribute"
    }
  ]
}

sentry.platform

stringScrub: NeverVisibility: PublicOTel: False

The sdk platform that generated the event.

Examplephp
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.platform",
  "brief": "The sdk platform that generated the event.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "php",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.profile_id

stringScrub: NeverVisibility: PublicOTel: False

The ID of the Sentry profile the span is associated with. This is only meaningful for transaction-based profiling.

Example123e4567e89b12d3a456426614174000
Aliasesprofile_id
Changelog
v0.19.0#497Added profile_id as an alias
v0.6.0#344Added sentry.profile_id attribute
Raw JSON
{
  "key": "sentry.profile_id",
  "brief": "The ID of the Sentry profile the span is associated with. This is only meaningful for transaction-based profiling.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "123e4567e89b12d3a456426614174000",
  "alias": [
    "profile_id"
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        497
      ],
      "description": "Added profile_id as an alias"
    },
    {
      "version": "0.6.0",
      "prs": [
        344
      ],
      "description": "Added sentry.profile_id attribute"
    }
  ]
}

sentry.profiler_id

stringScrub: NeverVisibility: PublicOTel: False

The id of the currently running profiler (continuous profiling)

Example18779b64dd35d1a538e7ce2dd2d3fad3
Changelog
v0.4.0#242
Raw JSON
{
  "key": "sentry.profiler_id",
  "brief": "The id of the currently running profiler (continuous profiling)",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "18779b64dd35d1a538e7ce2dd2d3fad3",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        242
      ]
    }
  ]
}

sentry.relay.ingress

stringScrub: ManualVisibility: InternalOTel: False

How an item (span, log, &c.) entered Relay.

ExampleOTEL
Changelog
v0.17.0#491Added sentry.relay.ingress attribute
Raw JSON
{
  "key": "sentry.relay.ingress",
  "brief": "How an item (span, log, &c.) entered Relay.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "OTEL",
  "changelog": [
    {
      "version": "0.17.0",
      "prs": [
        491
      ],
      "description": "Added sentry.relay.ingress attribute"
    }
  ]
}

sentry.relay.pipeline

stringScrub: ManualVisibility: InternalOTel: False

An internal descriptor of which processing pipeline an item went through in Relay.

Examplespan v2
Changelog
v0.17.0#491Added sentry.relay.pipeline attribute
Raw JSON
{
  "key": "sentry.relay.pipeline",
  "brief": "An internal descriptor of which processing pipeline an item went through in Relay.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "example": "span v2",
  "changelog": [
    {
      "version": "0.17.0",
      "prs": [
        491
      ],
      "description": "Added sentry.relay.pipeline attribute"
    }
  ]
}

sentry.release

stringScrub: NeverVisibility: PublicOTel: False

The sentry release.

Example7.0.0
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.release",
  "brief": "The sentry release.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "7.0.0",
  "alias": [
    "service.version",
    "release"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.replay_id

stringScrub: NeverVisibility: PublicOTel: False

The id of the sentry replay.

Example123e4567e89b12d3a456426614174000
Aliasesreplay_id
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.replay_id",
  "brief": "The id of the sentry replay.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "123e4567e89b12d3a456426614174000",
  "alias": [
    "replay_id"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.replay_is_buffering

booleanScrub: NeverVisibility: PublicOTel: False

A sentinel attribute on log events indicating whether the current Session Replay is being buffered (onErrorSampleRate).

Exampletrue
Changelog
v0.3.0#185
Raw JSON
{
  "key": "sentry.replay_is_buffering",
  "brief": "A sentinel attribute on log events indicating whether the current Session Replay is being buffered (onErrorSampleRate).",
  "type": "boolean",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": true,
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.sdk.integrations

string[]Scrub: NeverVisibility: PublicOTel: False

A list of names identifying enabled integrations. The list shouldhave all enabled integrations, including default integrations. Defaultintegrations are included because different SDK releases may contain differentdefault integrations.

Example["InboundFilters","FunctionToString","BrowserApiErrors","Breadcrumbs"]
Changelog
v0.0.0#42
Raw JSON
{
  "key": "sentry.sdk.integrations",
  "brief": "A list of names identifying enabled integrations. The list shouldhave all enabled integrations, including default integrations. Defaultintegrations are included because different SDK releases may contain differentdefault integrations.",
  "type": "string[]",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": [
    "InboundFilters",
    "FunctionToString",
    "BrowserApiErrors",
    "Breadcrumbs"
  ],
  "changelog": [
    {
      "version": "0.0.0",
      "prs": [
        42
      ]
    }
  ]
}

sentry.sdk.name

stringScrub: NeverVisibility: PublicOTel: False

The sentry sdk name.

Example@sentry/react
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.sdk.name",
  "brief": "The sentry sdk name.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "@sentry/react",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.sdk.version

stringScrub: NeverVisibility: PublicOTel: False

The sentry sdk version.

Example7.0.0
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.sdk.version",
  "brief": "The sentry sdk version.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "7.0.0",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.segment.id

stringScrub: NeverVisibility: PublicOTel: False

The segment ID of a span

Example051581bf3cb55c13
Changelog
v0.1.0#107#124
Raw JSON
{
  "key": "sentry.segment.id",
  "brief": "The segment ID of a span",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "051581bf3cb55c13",
  "alias": [
    "sentry.segment_id"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        107,
        124
      ]
    }
  ]
}

sentry.segment.name

stringScrub: ManualVisibility: PublicOTel: False

The segment name of a span

ExampleGET /user
Changelog
v0.6.0#345Added sentry.transaction and transaction aliases
v0.1.0#104
Raw JSON
{
  "key": "sentry.segment.name",
  "brief": "The segment name of a span",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "GET /user",
  "alias": [
    "sentry.transaction",
    "transaction"
  ],
  "changelog": [
    {
      "version": "0.6.0",
      "prs": [
        345
      ],
      "description": "Added sentry.transaction and transaction aliases"
    },
    {
      "version": "0.1.0",
      "prs": [
        104
      ]
    }
  ]
}

sentry.segment.name.source

stringScrub: ManualVisibility: InternalOTel: False

The source of the segment span name. Should only be set on segment spans. Known values are: `'custom'`, `'url'`, `'route'`, `'component'`, `'view'`, `'task'`.

Examplesroutecomponentviewtaskcustomurl
Additional Context
  • This attribute is the replacement for `transaction_info.source` on transactions.
  • Should we bring back clustering for segment names (like we do for transaction names), this attribute will be used to determine if a segment name should be clustered.
Changelog
v0.19.0#466Added sentry.segment.name.source
Raw JSON
{
  "key": "sentry.segment.name.source",
  "brief": "The source of the segment span name. Should only be set on segment spans. Known values are:  `'custom'`, `'url'`, `'route'`, `'component'`, `'view'`, `'task'`.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "internal",
  "examples": [
    "route",
    "component",
    "view",
    "task",
    "custom",
    "url"
  ],
  "additional_context": [
    "This attribute is the replacement for `transaction_info.source` on transactions.",
    "Should we bring back clustering for segment names (like we do for transaction names), this attribute will be used to determine if a segment name should be clustered."
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        466
      ],
      "description": "Added sentry.segment.name.source"
    }
  ]
}

sentry.server_sample_rate

doubleScrub: NeverVisibility: PublicOTel: False

Rate at which a span was sampled in Relay.

Example0.5
Changelog
v0.1.0#102
Raw JSON
{
  "key": "sentry.server_sample_rate",
  "brief": "Rate at which a span was sampled in Relay.",
  "type": "double",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 0.5,
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        102
      ]
    }
  ]
}

sentry.status

stringScrub: NeverVisibility: PublicOTel: False

The span's status (either "ok" or "error"). Older SDKs may set this to a more specific error, but this behaviour is deprecated.

Exampleok
Changelog
v0.14.0#453
Raw JSON
{
  "key": "sentry.status",
  "brief": "The span's status (either \"ok\" or \"error\"). Older SDKs may set this to a more specific error, but this behaviour is deprecated.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "ok",
  "changelog": [
    {
      "version": "0.14.0",
      "prs": [
        453
      ]
    }
  ]
}

sentry.status_code

integerScrub: ManualVisibility: PublicOTel: False

The HTTP status code used in Sentry Insights. Typically set by Sentry during ingestion, rather than by clients.

Example200
Changelog
v0.4.0#223#228
Raw JSON
{
  "key": "sentry.status_code",
  "brief": "The HTTP status code used in Sentry Insights. Typically set by Sentry during ingestion, rather than by clients.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 200,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        223,
        228
      ]
    }
  ]
}

sentry.status.message

stringScrub: ManualVisibility: PublicOTel: False

The from OTLP extracted status message.

Examplefoobar
Changelog
v0.3.1#190
Raw JSON
{
  "key": "sentry.status.message",
  "brief": "The from OTLP extracted status message.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "foobar",
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        190
      ]
    }
  ]
}

sentry.timestamp.sequence

integerScrub: NeverVisibility: PublicOTel: False

A sequencing counter for deterministic ordering of logs or metrics when timestamps share the same integer millisecond. Starts at 0 on SDK initialization, increments by 1 for each captured item, and resets to 0 when the integer millisecond of the current item differs from the previous one.

Example0
Changelog
v0.5.0#262
Raw JSON
{
  "key": "sentry.timestamp.sequence",
  "brief": "A sequencing counter for deterministic ordering of logs or metrics when timestamps share the same integer millisecond. Starts at 0 on SDK initialization, increments by 1 for each captured item, and resets to 0 when the integer millisecond of the current item differs from the previous one.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 0,
  "changelog": [
    {
      "version": "0.5.0",
      "prs": [
        262
      ]
    }
  ]
}

sentry.trace_lifecycle

stringScrub: ManualVisibility: PublicOTel: False

Indicates the chosen trace lifecycle mode of the SDK (stream or static)

Examplestream
Changelog
v0.13.0#442Added sentry.trace_lifecycle attribute
Raw JSON
{
  "key": "sentry.trace_lifecycle",
  "brief": "Indicates the chosen trace lifecycle mode of the SDK (stream or static)",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "stream",
  "changelog": [
    {
      "version": "0.13.0",
      "prs": [
        442
      ],
      "description": "Added sentry.trace_lifecycle attribute"
    }
  ]
}

sentry.trace.status

stringScrub: NeverVisibility: PublicOTel: False

The segment's status (either "ok" or "error"). Older SDKs may set this to a more specific error, but this behaviour is deprecated.

Exampleok
Changelog
v0.14.0#453
Raw JSON
{
  "key": "sentry.trace.status",
  "brief": "The segment's status (either \"ok\" or \"error\"). Older SDKs may set this to a more specific error, but this behaviour is deprecated.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "ok",
  "changelog": [
    {
      "version": "0.14.0",
      "prs": [
        453
      ]
    }
  ]
}

Deprecated Attributes

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

sentry.browser.nameDeprecated

stringScrub: ManualVisibility: PublicOTel: False

The name of the browser.

ExampleChrome

Use browser.name instead.

Changelog
v0.1.0#139
Raw JSON
{
  "key": "sentry.browser.name",
  "brief": "The name of the browser.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "Chrome",
  "deprecation": {
    "replacement": "browser.name",
    "_status": null
  },
  "alias": [
    "browser.name"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        139
      ]
    }
  ]
}

sentry.browser.versionDeprecated

stringScrub: ManualVisibility: PublicOTel: False

The version of the browser.

Example120.0.6099.130

Use browser.version instead.

Changelog
v0.1.0#139
Raw JSON
{
  "key": "sentry.browser.version",
  "brief": "The version of the browser.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "120.0.6099.130",
  "deprecation": {
    "replacement": "browser.version",
    "_status": null
  },
  "alias": [
    "browser.version"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        139
      ]
    }
  ]
}

sentry.frames.frozenDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The number of frozen frames rendered during the lifetime of the span.

Example3

Use app.vitals.frames.frozen.count instead.

Replaced by app.vitals.frames.frozen.count to align with the app.vitals.* namespace for mobile performance attributes

Status: backfill

Changelog
v0.19.0#500Added sentry.frames.frozen attribute
Raw JSON
{
  "key": "sentry.frames.frozen",
  "brief": "The number of frozen frames rendered during the lifetime of the span.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 3,
  "deprecation": {
    "replacement": "app.vitals.frames.frozen.count",
    "reason": "Replaced by app.vitals.frames.frozen.count to align with the app.vitals.* namespace for mobile performance attributes",
    "_status": "backfill"
  },
  "alias": [
    "app.vitals.frames.frozen.count",
    "frames.frozen"
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        500
      ],
      "description": "Added sentry.frames.frozen attribute"
    }
  ]
}

sentry.frames.slowDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The number of slow frames rendered during the lifetime of the span.

Example1

Use app.vitals.frames.slow.count instead.

Replaced by app.vitals.frames.slow.count to align with the app.vitals.* namespace for mobile performance attributes

Status: backfill

Changelog
v0.19.0#500Added sentry.frames.slow attribute
Raw JSON
{
  "key": "sentry.frames.slow",
  "brief": "The number of slow frames rendered during the lifetime of the span.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 1,
  "deprecation": {
    "replacement": "app.vitals.frames.slow.count",
    "reason": "Replaced by app.vitals.frames.slow.count to align with the app.vitals.* namespace for mobile performance attributes",
    "_status": "backfill"
  },
  "alias": [
    "app.vitals.frames.slow.count",
    "frames.slow"
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        500
      ],
      "description": "Added sentry.frames.slow attribute"
    }
  ]
}

sentry.frames.totalDeprecated

integerScrub: ManualVisibility: PublicOTel: False

The number of total frames rendered during the lifetime of the span.

Example60

Use app.vitals.frames.total.count instead.

Replaced by app.vitals.frames.total.count to align with the app.vitals.* namespace for mobile performance attributes

Status: backfill

Changelog
v0.19.0#500Added sentry.frames.total attribute
Raw JSON
{
  "key": "sentry.frames.total",
  "brief": "The number of total frames rendered during the lifetime of the span.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 60,
  "deprecation": {
    "replacement": "app.vitals.frames.total.count",
    "reason": "Replaced by app.vitals.frames.total.count to align with the app.vitals.* namespace for mobile performance attributes",
    "_status": "backfill"
  },
  "alias": [
    "app.vitals.frames.total.count",
    "frames.total"
  ],
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        500
      ],
      "description": "Added sentry.frames.total attribute"
    }
  ]
}

sentry.report_eventDeprecated

stringScrub: ManualVisibility: PublicOTel: False

(Deprecated) The event that caused the SDK to report CLS or LCP (pagehide or navigation)

Examplepagehide

No replacement available at this time.

The report event is now recorded as a browser.web_vital.lcp.report_event or browser.web_vital.cls.report_event attribute. No backfill required.

Changelog
v0.5.0#320Added sentry.report_event attribute
Raw JSON
{
  "key": "sentry.report_event",
  "brief": "(Deprecated) The event that caused the SDK to report CLS or LCP (pagehide or navigation)",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "pagehide",
  "deprecation": {
    "reason": "The report event is now recorded as a browser.web_vital.lcp.report_event or browser.web_vital.cls.report_event attribute. No backfill required.",
    "_status": null
  },
  "changelog": [
    {
      "version": "0.5.0",
      "prs": [
        320
      ],
      "description": "Added sentry.report_event attribute"
    }
  ]
}

sentry.segment_idDeprecated

stringScrub: NeverVisibility: PublicOTel: False

The segment ID of a span

Example051581bf3cb55c13

Use sentry.segment.id instead.

Status: backfill

Changelog
v0.1.0#124
Raw JSON
{
  "key": "sentry.segment_id",
  "brief": "The segment ID of a span",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "051581bf3cb55c13",
  "deprecation": {
    "replacement": "sentry.segment.id",
    "_status": "backfill"
  },
  "alias": [
    "sentry.segment.id"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        124
      ]
    }
  ]
}

sentry.sourceDeprecated

stringScrub: NeverVisibility: PublicOTel: False

The source of a span, also referred to as transaction source. Known values are: `'custom'`, `'url'`, `'route'`, `'component'`, `'view'`, `'task'`. '`source`' describes a parametrized route, while `'url'` describes the full URL, potentially containing identifiers.

Exampleroute

No replacement available at this time.

This attribute is superseded by sentry.segment.name.source, which only needs to be set on segment spans.

Changelog
v0.19.0#510Removed the sentry.span.source replacement
v0.5.0
Raw JSON
{
  "key": "sentry.source",
  "brief": "The source of a span, also referred to as transaction source. Known values are:  `'custom'`, `'url'`, `'route'`, `'component'`, `'view'`, `'task'`. '`source`' describes a parametrized route, while `'url'` describes the full URL, potentially containing identifiers.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "route",
  "deprecation": {
    "reason": "This attribute is superseded by sentry.segment.name.source, which only needs to be set on segment spans.",
    "_status": null
  },
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        510
      ],
      "description": "Removed the sentry.span.source replacement"
    },
    {
      "version": "0.5.0"
    }
  ]
}

sentry.span.sourceDeprecated

stringScrub: NeverVisibility: PublicOTel: False

The source of a span, also referred to as transaction source. Known values are: `'custom'`, `'url'`, `'route'`, `'component'`, `'view'`, `'task'`. '`source`' describes a parametrized route, while `'url'` describes the full URL, potentially containing identifiers.

Exampleroute

No replacement available at this time.

This attribute is superseded by sentry.segment.name.source, which only needs to be set on segment spans.

Changelog
v0.19.0#510Deprecated; superseded by sentry.segment.name.source on segment spans
v0.4.0#214
v0.0.0
Raw JSON
{
  "key": "sentry.span.source",
  "brief": "The source of a span, also referred to as transaction source. Known values are:  `'custom'`, `'url'`, `'route'`, `'component'`, `'view'`, `'task'`. '`source`' describes a parametrized route, while `'url'` describes the full URL, potentially containing identifiers.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "route",
  "deprecation": {
    "reason": "This attribute is superseded by sentry.segment.name.source, which only needs to be set on segment spans.",
    "_status": null
  },
  "changelog": [
    {
      "version": "0.19.0",
      "prs": [
        510
      ],
      "description": "Deprecated; superseded by sentry.segment.name.source on segment spans"
    },
    {
      "version": "0.4.0",
      "prs": [
        214
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.sveltekit.navigation.fromDeprecated

stringScrub: AutoVisibility: PublicOTel: False

the navigation origin (sveltekit router)

Example/home

Use navigation.origin instead.

Use the more generic attribute instead

Status: backfill

Changelog
v0.16.0#467Added sentry.sveltekit.navigation.from attribute
Raw JSON
{
  "key": "sentry.sveltekit.navigation.from",
  "brief": "the navigation origin (sveltekit router)",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "/home",
  "deprecation": {
    "replacement": "navigation.origin",
    "reason": "Use the more generic attribute instead",
    "_status": "backfill"
  },
  "alias": [
    "navigation.origin"
  ],
  "changelog": [
    {
      "version": "0.16.0",
      "prs": [
        467
      ],
      "description": "Added sentry.sveltekit.navigation.from attribute"
    }
  ]
}

sentry.sveltekit.navigation.toDeprecated

stringScrub: AutoVisibility: PublicOTel: False

the navigation destination

Example/users/:id

No replacement available at this time.

the navigation destination is already covered by url.* attributes

Changelog
v0.16.0#467Added sentry.sveltekit.navigation.to attribute
Raw JSON
{
  "key": "sentry.sveltekit.navigation.to",
  "brief": "the navigation destination",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "/users/:id",
  "deprecation": {
    "reason": "the navigation destination is already covered by url.* attributes",
    "_status": null
  },
  "changelog": [
    {
      "version": "0.16.0",
      "prs": [
        467
      ],
      "description": "Added sentry.sveltekit.navigation.to attribute"
    }
  ]
}

sentry.sveltekit.navigation.typeDeprecated

stringScrub: ManualVisibility: PublicOTel: False

The type of navigation event emitted from the sveltekit client router

Examplelink

Use navigation.type instead.

Use the more generic attribute instead

Status: backfill

Changelog
v0.16.0#467Added sentry.sveltekit.navigation.type attribute
Raw JSON
{
  "key": "sentry.sveltekit.navigation.type",
  "brief": "The type of navigation event emitted from the sveltekit client router",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "link",
  "deprecation": {
    "replacement": "navigation.type",
    "reason": "Use the more generic attribute instead",
    "_status": "backfill"
  },
  "alias": [
    "navigation.type"
  ],
  "changelog": [
    {
      "version": "0.16.0",
      "prs": [
        467
      ],
      "description": "Added sentry.sveltekit.navigation.type attribute"
    }
  ]
}

sentry.thread.idDeprecated

integerScrub: ManualVisibility: PublicOTel: False

Current “managed” thread ID.

Example56

Use thread.id instead.

This attribute is being deprecated in favor of the OTel-standard thread.id

Status: backfill

Changelog
v0.13.0#451
Raw JSON
{
  "key": "sentry.thread.id",
  "brief": "Current “managed” thread ID.",
  "type": "integer",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": 56,
  "deprecation": {
    "replacement": "thread.id",
    "reason": "This attribute is being deprecated in favor of the OTel-standard thread.id",
    "_status": "backfill"
  },
  "changelog": [
    {
      "version": "0.13.0",
      "prs": [
        451
      ]
    }
  ]
}

sentry.trace.parent_span_idDeprecated

stringScrub: NeverVisibility: PublicOTel: False

The span id of the span that was active when the log was collected. This should not be set if there was no active span.

Exampleb0e6f15b45c36b12

No replacement available at this time.

Changelog
v0.5.0#287Deprecate `sentry.trace.parent_span_id`
v0.1.0#116
Raw JSON
{
  "key": "sentry.trace.parent_span_id",
  "brief": "The span id of the span that was active when the log was collected. This should not be set if there was no active span.",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "b0e6f15b45c36b12",
  "deprecation": {
    "_status": null
  },
  "changelog": [
    {
      "version": "0.5.0",
      "prs": [
        287
      ],
      "description": "Deprecate `sentry.trace.parent_span_id`"
    },
    {
      "version": "0.1.0",
      "prs": [
        116
      ]
    }
  ]
}

sentry.transactionDeprecated

stringScrub: NeverVisibility: PublicOTel: False

The sentry transaction (segment name).

ExampleGET /

Use sentry.segment.name instead.

This attribute is being deprecated in favor of sentry.segment.name

Status: backfill

Changelog
v0.6.0#345Deprecated sentry.transaction in favor of sentry.segment.name
v0.0.0
Raw JSON
{
  "key": "sentry.transaction",
  "brief": "The sentry transaction (segment name).",
  "type": "string",
  "apply_scrubbing": {
    "key": "never"
  },
  "is_in_otel": false,
  "visibility": "public",
  "example": "GET /",
  "deprecation": {
    "replacement": "sentry.segment.name",
    "reason": "This attribute is being deprecated in favor of sentry.segment.name",
    "_status": "backfill"
  },
  "alias": [
    "sentry.segment.name",
    "transaction"
  ],
  "changelog": [
    {
      "version": "0.6.0",
      "prs": [
        345
      ],
      "description": "Deprecated sentry.transaction in favor of sentry.segment.name"
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.user.emailDeprecated

stringScrub: AutoVisibility: PublicOTel: False

User email address.

Aliasesuser.email

Use user.email instead.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.email",
  "brief": "User email address.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.email",
    "_status": null
  },
  "alias": [
    "user.email"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.geo.cityDeprecated

stringScrub: ManualVisibility: PublicOTel: False

Human readable city name.

Use user.geo.city instead.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.geo.city",
  "brief": "Human readable city name.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.geo.city",
    "_status": null
  },
  "alias": [
    "user.geo.city"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.geo.country_codeDeprecated

stringScrub: ManualVisibility: PublicOTel: False

Two-letter country code (ISO 3166-1 alpha-2).

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.geo.country_code",
  "brief": "Two-letter country code (ISO 3166-1 alpha-2).",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.geo.country_code",
    "_status": null
  },
  "alias": [
    "user.geo.country_code"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.geo.regionDeprecated

stringScrub: ManualVisibility: PublicOTel: False

Human readable region name or code.

Use user.geo.region instead.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.geo.region",
  "brief": "Human readable region name or code.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.geo.region",
    "_status": null
  },
  "alias": [
    "user.geo.region"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.geo.subdivisionDeprecated

stringScrub: ManualVisibility: PublicOTel: False

Human readable subdivision name.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.geo.subdivision",
  "brief": "Human readable subdivision name.",
  "type": "string",
  "apply_scrubbing": {
    "key": "manual"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.geo.subdivision",
    "_status": null
  },
  "alias": [
    "user.geo.subdivision"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.idDeprecated

stringScrub: AutoVisibility: PublicOTel: False

Unique identifier of the user.

Aliasesuser.id

Use user.id instead.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.id",
  "brief": "Unique identifier of the user.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.id",
    "_status": null
  },
  "alias": [
    "user.id"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.ipDeprecated

stringScrub: AutoVisibility: PublicOTel: False

The IP address of the user.

Use user.ip_address instead.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.ip",
  "brief": "The IP address of the user.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.ip_address",
    "_status": null
  },
  "alias": [
    "user.ip_address"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}

sentry.user.usernameDeprecated

stringScrub: AutoVisibility: PublicOTel: False

Short name or login/username of the user.

Aliasesuser.name

Use user.name instead.

Changelog
v0.10.0#406
Raw JSON
{
  "key": "sentry.user.username",
  "brief": "Short name or login/username of the user.",
  "type": "string",
  "apply_scrubbing": {
    "key": "auto"
  },
  "is_in_otel": false,
  "visibility": "public",
  "deprecation": {
    "replacement": "user.name",
    "_status": null
  },
  "alias": [
    "user.name"
  ],
  "changelog": [
    {
      "version": "0.10.0",
      "prs": [
        406
      ]
    }
  ]
}