From 87a6e3c261de78636239db4172cbf256e2bc1264 Mon Sep 17 00:00:00 2001 From: Michael Hoffmann Date: Fri, 6 Nov 2026 01:37:09 +0100 Subject: [PATCH] docs: Point Sentry Conventions links to conventions.sentry.dev Co-Authored-By: Claude Opus 5.5 --- .../sdk/foundations/client/data-collection/index.mdx | 2 +- .../foundations/client/integrations/mcp/tracing.mdx | 10 +++++----- .../coordination/managing-linear-projects.mdx | 2 +- develop-docs/sdk/telemetry/spans/index.mdx | 4 ++-- develop-docs/sdk/telemetry/traces/index.mdx | 4 ++-- develop-docs/sdk/telemetry/traces/sql-transactions.mdx | 2 +- .../dart/common/tracing/streamed-spans/index.mdx | 2 +- .../javascript/common/migration/v10-to-v11/index.mdx | 2 +- docs/platforms/python/tracing/streamed-spans/index.mdx | 2 +- .../python/tracing/streamed-spans/index__v2.x.mdx | 2 +- .../migration/javascript-v11/span-name-changes.mdx | 2 +- platform-includes/metrics/usage/rust.mdx | 2 +- 12 files changed, 18 insertions(+), 18 deletions(-) diff --git a/develop-docs/sdk/foundations/client/data-collection/index.mdx b/develop-docs/sdk/foundations/client/data-collection/index.mdx index 7b203fc8c13d8..4c16fa0c5e696 100644 --- a/develop-docs/sdk/foundations/client/data-collection/index.mdx +++ b/develop-docs/sdk/foundations/client/data-collection/index.mdx @@ -250,7 +250,7 @@ When SDKs parse a cookie header, the following rules apply: - A segment without `"="` is a nameless cookie: the bare token is its **value**, not its name ([RFC 6265bis](https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis)). The SDK **MUST** replace the element with `"[Filtered]"`. - `Set-Cookie` attributes such as `Max-Age`, `Path`, or `HttpOnly` are metadata, not cookies, and **MUST NOT** appear as cookie pairs. -For example, `Cookie: user_session=abc; theme=dark-mode;opaque-token` and `Set-Cookie: theme=light-mode; HttpOnly` become (based on [`http.request.header.`](https://getsentry.github.io/sentry-conventions/attributes/http/#http-request-header-key)): +For example, `Cookie: user_session=abc; theme=dark-mode;opaque-token` and `Set-Cookie: theme=light-mode; HttpOnly` become (based on [`http.request.header.`](https://conventions.sentry.dev/attributes/http/#http-request-header-key)): ``` http.request.header.cookie: ["user_session=[Filtered]", "theme=dark-mode", "[Filtered]"] diff --git a/develop-docs/sdk/foundations/client/integrations/mcp/tracing.mdx b/develop-docs/sdk/foundations/client/integrations/mcp/tracing.mdx index f8f0654a057fd..88870e5907cb1 100644 --- a/develop-docs/sdk/foundations/client/integrations/mcp/tracing.mdx +++ b/develop-docs/sdk/foundations/client/integrations/mcp/tracing.mdx @@ -9,7 +9,7 @@ The MCP Server module is the instrumentation for the [anthropic MCP](https://www For your MCP Server data to show up in Sentry, specific spans must be created with well-defined names and data attributes. See below. -Span naming conventions for MCP spans are defined in the [Sentry Conventions](https://getsentry.github.io/sentry-conventions/names/#mcp) repo. Refer to that document for how to construct span names (operation values, naming templates, and examples). Sentry conventions follow OTel conventions closely, but we should keep an eye on how OTel's conventions change. The rest of this page covers the data attributes that **MUST** or **SHOULD** be set on each span type. +Span naming conventions for MCP spans are defined in the [Sentry Conventions](https://conventions.sentry.dev/names/#mcp) repo. Refer to that document for how to construct span names (operation values, naming templates, and examples). Sentry conventions follow OTel conventions closely, but we should keep an eye on how OTel's conventions change. The rest of this page covers the data attributes that **MUST** or **SHOULD** be set on each span type. ### Common Span Attributes @@ -95,7 +95,7 @@ MCP Server spans use the operation value `"mcp.server"` and fall into these cate ### Tool Call Span -Describes MCP tool execution requests from clients. See [Sentry Conventions](https://getsentry.github.io/sentry-conventions/names/#mcp) for the span naming pattern. +Describes MCP tool execution requests from clients. See [Sentry Conventions](https://conventions.sentry.dev/names/#mcp) for the span naming pattern. - The span `op` **MUST** be `"mcp.server"`. - The `mcp.method.name` attribute **MUST** be `"tools/call"`. @@ -116,7 +116,7 @@ Additional attributes on the span: ### Prompt Span -Describes MCP prompt requests from clients. See [Sentry Conventions](https://getsentry.github.io/sentry-conventions/names/#mcp) for the span naming pattern. +Describes MCP prompt requests from clients. See [Sentry Conventions](https://conventions.sentry.dev/names/#mcp) for the span naming pattern. - The span `op` **MUST** be `"mcp.server"`. - The `mcp.method.name` attribute **MUST** be `"prompts/get"`. @@ -131,7 +131,7 @@ Additional attributes on the span: ### Resource Span -Describes MCP resource access requests from clients. See [Sentry Conventions](https://getsentry.github.io/sentry-conventions/names/#mcp) for the span naming pattern. +Describes MCP resource access requests from clients. See [Sentry Conventions](https://conventions.sentry.dev/names/#mcp) for the span naming pattern. - The span `op` **MUST** be `"mcp.server"`. - The `mcp.method.name` attribute **MUST** be `"resources/read"`. @@ -162,7 +162,7 @@ Additional attributes on the span: ### Notification Span -Describes MCP notification messages (one-way messages that don't expect a response). See [Sentry Conventions](https://getsentry.github.io/sentry-conventions/names/#mcp) for the span naming pattern. +Describes MCP notification messages (one-way messages that don't expect a response). See [Sentry Conventions](https://conventions.sentry.dev/names/#mcp) for the span naming pattern. - The span `op` **MUST** be `"mcp.notification.client_to_server"` or `"mcp.notification.server_to_client"`. - The `mcp.method.name` attribute **MUST** be set to the notification method. (e.g. `"notifications/cancelled"`) diff --git a/develop-docs/sdk/getting-started/playbooks/coordination/managing-linear-projects.mdx b/develop-docs/sdk/getting-started/playbooks/coordination/managing-linear-projects.mdx index 9981cded9301e..5f77b7d77b154 100644 --- a/develop-docs/sdk/getting-started/playbooks/coordination/managing-linear-projects.mdx +++ b/develop-docs/sdk/getting-started/playbooks/coordination/managing-linear-projects.mdx @@ -151,7 +151,7 @@ Use this template as a starting point for the project description. For cross-SDK - [ ] [Public docs](https://docs.sentry.io/) - [ ] [Develop Docs](https://develop.sentry.dev) -- [ ] [Sentry Conventions](https://getsentry.github.io/sentry-conventions/) +- [ ] [Sentry Conventions](https://conventions.sentry.dev/) - [ ] [Sentry CLI](https://github.com/getsentry/cli) - [ ] Public SDK example projects - [ ] In-product prompts/onboarding diff --git a/develop-docs/sdk/telemetry/spans/index.mdx b/develop-docs/sdk/telemetry/spans/index.mdx index 93ecb3d684592..110dee480aeab 100644 --- a/develop-docs/sdk/telemetry/spans/index.mdx +++ b/develop-docs/sdk/telemetry/spans/index.mdx @@ -537,7 +537,7 @@ To associate an attachment with a span, submit a [trace attachment](/sdk/telemet Attributes outside the [common attribute keys](#common-attribute-keys) list **MUST** only be attached to the span they conceptually belong on, and **MUST NOT** be propagated to children. Attributes mirroring transaction context data **SHOULD** only be set on the segment span. -All attributes set on a streamed span **MUST** use keys defined in [Sentry Conventions](https://getsentry.github.io/sentry-conventions/) before introduction in an SDK. +All attributes set on a streamed span **MUST** use keys defined in [Sentry Conventions](https://conventions.sentry.dev/) before introduction in an SDK. Empty attributes **MUST** be omitted. @@ -547,7 +547,7 @@ Guidelines for specific attributes: #### HTTP Headers -HTTP headers **MUST** be emitted following the [`http.request.header.`](https://getsentry.github.io/sentry-conventions/attributes/http/#http-request-header-key) and [`http.response.header.`](https://getsentry.github.io/sentry-conventions/attributes/http/#http-response-header-key) conventions: +HTTP headers **MUST** be emitted following the [`http.request.header.`](https://conventions.sentry.dev/attributes/http/#http-request-header-key) and [`http.response.header.`](https://conventions.sentry.dev/attributes/http/#http-response-header-key) conventions: - `` **MUST** be the lowercased, but otherwise unchanged, header name. - The value **MUST** be a string array, even if the header has a single value. Multiple values for the same header **MUST** be emitted as separate array elements. diff --git a/develop-docs/sdk/telemetry/traces/index.mdx b/develop-docs/sdk/telemetry/traces/index.mdx index deeb0e8966f62..beff926e31c3a 100644 --- a/develop-docs/sdk/telemetry/traces/index.mdx +++ b/develop-docs/sdk/telemetry/traces/index.mdx @@ -108,7 +108,7 @@ The option controls if attributes with code source information are set on databa The following attributes, or a subset thereof, SHOULD be set on database query spans if the threshold is exceeded. Values for some of the attributes below may be unavailable in some situations for the SDK, and in these cases a subset MAY be provided. -The attributes are described in Sentry's Span Convention Documentation. +The attributes are described in Sentry's Span Convention Documentation. - code.file.path - code.function.name @@ -132,7 +132,7 @@ When enabled, the attributes SHOULD be attached only when the time to receive th The following attributes, or a subset thereof, SHOULD be set if the threshold is exceeded. Values for some of the attributes below may be unavailable in some situations for the SDK, and in these cases a subset MAY be provided. -The attributes are described in Sentry's Span Convention Documentation. +The attributes are described in Sentry's Span Convention Documentation. - code.file.path - code.function.name diff --git a/develop-docs/sdk/telemetry/traces/sql-transactions.mdx b/develop-docs/sdk/telemetry/traces/sql-transactions.mdx index 4d91793032c11..c2c9c31da164b 100644 --- a/develop-docs/sdk/telemetry/traces/sql-transactions.mdx +++ b/develop-docs/sdk/telemetry/traces/sql-transactions.mdx @@ -13,7 +13,7 @@ Transaction statements SHOULD produce spans whether they are issued through a da ### Span Data -Refer to Database Span Data Conventions for a full list of attributes that database spans should have. +Refer to Database Span Data Conventions for a full list of attributes that database spans should have. The SDK SHOULD set the - db.system.name diff --git a/docs/platforms/dart/common/tracing/streamed-spans/index.mdx b/docs/platforms/dart/common/tracing/streamed-spans/index.mdx index c0df776307acf..aafd31b09baff 100644 --- a/docs/platforms/dart/common/tracing/streamed-spans/index.mdx +++ b/docs/platforms/dart/common/tracing/streamed-spans/index.mdx @@ -226,7 +226,7 @@ You can set attributes when starting a span: -Sentry automatically sets several standard attributes on spans. To avoid accidentally overwriting these, refer to our Sentry Attribute Conventions. +Sentry automatically sets several standard attributes on spans. To avoid accidentally overwriting these, refer to our Sentry Attribute Conventions. diff --git a/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx b/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx index 036dcba013049..de3dff34a2fda 100644 --- a/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx +++ b/docs/platforms/javascript/common/migration/v10-to-v11/index.mdx @@ -348,7 +348,7 @@ Scope `tags` and `extra` [aren't carried over to streamed spans](#scope-tags-and ### Span Names Are Low Cardinality -In stream mode, span names follow the [Sentry span name conventions](https://getsentry.github.io/sentry-conventions/names/). URLs, route parameters, and other client-supplied values are no longer part of the name: +In stream mode, span names follow the [Sentry span name conventions](https://conventions.sentry.dev/names/). URLs, route parameters, and other client-supplied values are no longer part of the name: | Span op | Before | After | | ------------------------ | --------------------------------------- | ---------------------------------------- | diff --git a/docs/platforms/python/tracing/streamed-spans/index.mdx b/docs/platforms/python/tracing/streamed-spans/index.mdx index 9e4b0f2cff46b..c0d5aa58de390 100644 --- a/docs/platforms/python/tracing/streamed-spans/index.mdx +++ b/docs/platforms/python/tracing/streamed-spans/index.mdx @@ -129,7 +129,7 @@ Attach structured metadata to spans using `attributes`, which can be `str`, `int -Sentry automatically sets several standard attributes on spans. To avoid accidentally overwriting these, refer to our Sentry Attribute Conventions. +Sentry automatically sets several standard attributes on spans. To avoid accidentally overwriting these, refer to our Sentry Attribute Conventions. diff --git a/docs/platforms/python/tracing/streamed-spans/index__v2.x.mdx b/docs/platforms/python/tracing/streamed-spans/index__v2.x.mdx index 85fc406a0d044..78b0b980c1f82 100644 --- a/docs/platforms/python/tracing/streamed-spans/index__v2.x.mdx +++ b/docs/platforms/python/tracing/streamed-spans/index__v2.x.mdx @@ -138,7 +138,7 @@ Attach structured metadata to spans using `attributes`, which can be `str`, `int -Sentry automatically sets several standard attributes on spans. To avoid accidentally overwriting these, refer to our Sentry Attribute Conventions. +Sentry automatically sets several standard attributes on spans. To avoid accidentally overwriting these, refer to our Sentry Attribute Conventions. diff --git a/includes/migration/javascript-v11/span-name-changes.mdx b/includes/migration/javascript-v11/span-name-changes.mdx index 89653cdaa5532..062c933948013 100644 --- a/includes/migration/javascript-v11/span-name-changes.mdx +++ b/includes/migration/javascript-v11/span-name-changes.mdx @@ -9,7 +9,7 @@ platformCategory: all order: 85 --- -In stream mode, span names follow the [Sentry span name conventions](https://getsentry.github.io/sentry-conventions/names/). URLs, route parameters, and other client-supplied values are no longer part of the name: +In stream mode, span names follow the [Sentry span name conventions](https://conventions.sentry.dev/names/). URLs, route parameters, and other client-supplied values are no longer part of the name: | Span op | Before | After | | ------------------------ | --------------------------------------- | ---------------------------------------- | diff --git a/platform-includes/metrics/usage/rust.mdx b/platform-includes/metrics/usage/rust.mdx index ac21ddcecd4eb..8f76bcca8d010 100644 --- a/platform-includes/metrics/usage/rust.mdx +++ b/platform-includes/metrics/usage/rust.mdx @@ -45,4 +45,4 @@ metrics::distribution("http.response_time", 187.5) Attributes let you filter and group metrics in Sentry. Add them with `.attribute(key, value)` before you call `.capture()`. You can add multiple attributes by chaining calls to `.attribute`. -When possible, use [Sentry Semantic Conventions](https://getsentry.github.io/sentry-conventions/) for attribute keys. +When possible, use [Sentry Semantic Conventions](https://conventions.sentry.dev/) for attribute keys.