Sentry Attributes

54 attributes in this category. 49 stable · 5 deprecated

Stable Attributes

sentry.action

string PII: Maybe OTel: 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.

Example SELECT
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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "SELECT",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.cancellation_reason

string PII: False OTel: False

The reason why a span ended early.

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

sentry.category

string PII: False OTel: 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'.

Example db
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "db",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        218
      ]
    }
  ]
}

sentry.client_sample_rate

double PII: False OTel: False

Rate at which a span was sampled in the SDK.

Example 0.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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": 0.5,
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        102
      ]
    }
  ]
}

sentry.description

string PII: Maybe OTel: False

The human-readable description of a span.

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

sentry.dist

string PII: False OTel: False

The sentry dist.

Example 1.0
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.dist",
  "brief": "The sentry dist.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "1.0",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.domain

string PII: Maybe OTel: 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.

Example example.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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "example.com",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.dsc.environment

string PII: False OTel: False

The environment from the dynamic sampling context.

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

sentry.dsc.public_key

string PII: Maybe OTel: False

The public key from the dynamic sampling context.

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

sentry.dsc.release

string PII: False OTel: False

The release identifier from the dynamic sampling context.

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

sentry.dsc.sample_rate

string PII: False OTel: False

The sample rate from the dynamic sampling context.

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

sentry.dsc.sampled

boolean PII: False OTel: False

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

Example true
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": true,
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.dsc.trace_id

string PII: False OTel: False

The trace ID from the dynamic sampling context.

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

sentry.dsc.transaction

string PII: False OTel: 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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "/issues/errors-outages/",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.environment

string PII: False OTel: False

The sentry environment.

Example production
Aliases environment
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.environment",
  "brief": "The sentry environment.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "production",
  "alias": [
    "environment"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.exclusive_time

double PII: Maybe OTel: False

The exclusive time duration of the span in milliseconds.

Example 1234
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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 1234,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        228
      ]
    },
    {
      "version": "0.3.0",
      "prs": [
        160
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.graphql.operation

string PII: Maybe OTel: False

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

Example getUserById
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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "getUserById",
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        190
      ]
    }
  ]
}

sentry.group

string PII: False OTel: 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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.http.prefetch

boolean PII: False OTel: False

If an http request was a prefetch request.

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

sentry.idle_span_finish_reason

string PII: False OTel: False

The reason why an idle span ended early.

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

sentry.is_remote

boolean PII: False OTel: False

Indicates whether a span's parent is remote.

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

sentry.kind

string PII: Maybe OTel: 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.

Example server
Changelog
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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "server",
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        190
      ]
    }
  ]
}

sentry.message.parameter.<key>

string PII: Maybe OTel: 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)

Example sentry.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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "sentry.message.parameter.0='123'",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        116
      ]
    }
  ]
}

sentry.message.template

string PII: Maybe OTel: False

The parameterized template string.

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

sentry.module.<key>

string PII: Maybe OTel: False Dynamic

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

Example sentry.module.brianium/paratest='v7.7.0'
Dynamic Suffix Yes - 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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "sentry.module.brianium/paratest='v7.7.0'",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        103
      ]
    }
  ]
}

sentry.nextjs.ssr.function.route

string PII: False OTel: 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
SDKs javascript
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "/posts/[id]/layout",
  "sdks": [
    "javascript"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        54,
        106
      ]
    }
  ]
}

sentry.nextjs.ssr.function.type

string PII: False OTel: 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.

Example generateMetadata
SDKs javascript
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "generateMetadata",
  "sdks": [
    "javascript"
  ],
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        54,
        106
      ]
    }
  ]
}

sentry.normalized_db_query

string PII: Maybe OTel: False

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

Example SELECT .. 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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "SELECT .. FROM sentry_project WHERE (project_id = %s)",
  "changelog": [
    {
      "version": "0.3.1",
      "prs": [
        194
      ]
    }
  ]
}

sentry.normalized_db_query.hash

string PII: False OTel: 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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        200
      ]
    }
  ]
}

sentry.normalized_description

string PII: Maybe OTel: 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).

Example SELECT .. 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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "SELECT .. FROM sentry_project WHERE (project_id = %s)",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        212
      ]
    }
  ]
}

sentry.observed_timestamp_nanos

string PII: False OTel: False

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

Example 1544712660300000000
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "1544712660300000000",
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        174
      ]
    },
    {
      "version": "0.2.0",
      "prs": [
        137
      ]
    }
  ]
}

sentry.op

string PII: False OTel: False

The operation of a span.

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

sentry.origin

string PII: False OTel: False

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

Example auto.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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "auto.http.otel.fastify",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        68
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.platform

string PII: False OTel: False

The sdk platform that generated the event.

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

sentry.profiler_id

string PII: False OTel: False

The id of the currently running profiler (continuous profiling)

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

sentry.release

string PII: False OTel: False

The sentry release.

Example 7.0.0
Aliases service.versionrelease
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.release",
  "brief": "The sentry release.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "7.0.0",
  "alias": [
    "service.version",
    "release"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.replay_id

string PII: False OTel: False

The id of the sentry replay.

Example 123e4567e89b12d3a456426614174000
Aliases replay_id
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.replay_id",
  "brief": "The id of the sentry replay.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "123e4567e89b12d3a456426614174000",
  "alias": [
    "replay_id"
  ],
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.replay_is_buffering

boolean PII: False OTel: False

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

Example true
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": true,
  "changelog": [
    {
      "version": "0.3.0",
      "prs": [
        185
      ]
    }
  ]
}

sentry.sdk.integrations

string[] PII: False OTel: 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[]",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": [
    "InboundFilters",
    "FunctionToString",
    "BrowserApiErrors",
    "Breadcrumbs"
  ],
  "changelog": [
    {
      "version": "0.0.0",
      "prs": [
        42
      ]
    }
  ]
}

sentry.sdk.name

string PII: False OTel: 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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "@sentry/react",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.sdk.version

string PII: False OTel: False

The sentry sdk version.

Example 7.0.0
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.sdk.version",
  "brief": "The sentry sdk version.",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "7.0.0",
  "changelog": [
    {
      "version": "0.0.0"
    }
  ]
}

sentry.segment.id

string PII: False OTel: False

The segment ID of a span

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

sentry.segment.name

string PII: Maybe OTel: False

The segment name of a span

Example GET /user
Changelog
v0.1.0 #104
Raw JSON
{
  "key": "sentry.segment.name",
  "brief": "The segment name of a span",
  "type": "string",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": "GET /user",
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        104
      ]
    }
  ]
}

sentry.server_sample_rate

double PII: False OTel: False

Rate at which a span was sampled in Relay.

Example 0.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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": 0.5,
  "changelog": [
    {
      "version": "0.1.0",
      "prs": [
        102
      ]
    }
  ]
}

sentry.span.source

string PII: False OTel: 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.

Example route
Changelog
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "route",
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        214
      ]
    },
    {
      "version": "0.0.0"
    }
  ]
}

sentry.status_code

integer PII: Maybe OTel: False

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

Example 200
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",
  "pii": {
    "key": "maybe"
  },
  "is_in_otel": false,
  "example": 200,
  "changelog": [
    {
      "version": "0.4.0",
      "prs": [
        223,
        228
      ]
    }
  ]
}

sentry.status.message

string PII: Maybe OTel: False

The from OTLP extracted status message.

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

sentry.timestamp.sequence

integer PII: False OTel: 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.

Example 0
Changelog
next #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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": 0,
  "changelog": [
    {
      "version": "next",
      "prs": [
        262
      ]
    }
  ]
}

sentry.transaction

string PII: False OTel: False

The sentry transaction (segment name).

Example GET /
Aliases transaction
Changelog
v0.0.0
Raw JSON
{
  "key": "sentry.transaction",
  "brief": "The sentry transaction (segment name).",
  "type": "string",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "GET /",
  "alias": [
    "transaction"
  ],
  "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.

sentry.browser.name Deprecated

string PII: Maybe OTel: False

The name of the browser.

Example Chrome
Aliases browser.name

Use browser.name instead.

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

sentry.browser.version Deprecated

string PII: Maybe OTel: False

The version of the browser.

Example 120.0.6099.130
Aliases browser.version

Use browser.version instead.

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

sentry.segment_id Deprecated

string PII: False OTel: False

The segment ID of a span

Example 051581bf3cb55c13
Aliases sentry.segment.id

Use sentry.segment.id instead.

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

sentry.source Deprecated

string PII: False OTel: 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.

Example route

Use sentry.span.source instead.

This attribute is being deprecated in favor of sentry.span.source

Status: backfill

Changelog
next
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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "route",
  "deprecation": {
    "replacement": "sentry.span.source",
    "reason": "This attribute is being deprecated in favor of sentry.span.source",
    "_status": "backfill"
  },
  "changelog": [
    {
      "version": "next"
    }
  ]
}

sentry.trace.parent_span_id Deprecated

string PII: False OTel: 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.

Example b0e6f15b45c36b12

No replacement available at this time.

Changelog
next #287 Deprecate `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",
  "pii": {
    "key": "false"
  },
  "is_in_otel": false,
  "example": "b0e6f15b45c36b12",
  "deprecation": {
    "_status": null
  },
  "changelog": [
    {
      "version": "next",
      "prs": [
        287
      ],
      "description": "Deprecate `sentry.trace.parent_span_id`"
    },
    {
      "version": "0.1.0",
      "prs": [
        116
      ]
    }
  ]
}