From 1a2eeb2a67e16387d901bcb06657faeb564b4b96 Mon Sep 17 00:00:00 2001 From: Pablo Deputter Date: Wed, 14 Oct 2026 18:14:08 +0200 Subject: [PATCH] feat(attributes): Add object to the `sentry.category` values --- javascript/sentry-conventions/src/attributes.ts | 6 +++++- model/attributes/sentry/sentry__category.json | 5 +++++ python/src/sentry_conventions/attributes.py | 4 ++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/javascript/sentry-conventions/src/attributes.ts b/javascript/sentry-conventions/src/attributes.ts index f5a668e7..7bcb5e1c 100644 --- a/javascript/sentry-conventions/src/attributes.ts +++ b/javascript/sentry-conventions/src/attributes.ts @@ -15974,6 +15974,7 @@ export type SENTRY_CANCELLATION_REASON_TYPE = string; * - `measure` * - `middleware` * - `navigation` + * - `object` * - `pageload` * - `queue` * - `resource` @@ -34096,7 +34097,10 @@ export const ATTRIBUTE_METADATA: Record = { isInOtel: false, visibility: 'public', example: 'db', - changelog: [{ version: '0.4.0', prs: [218] }], + changelog: [ + { version: 'next', description: 'Added object to the enum values' }, + { version: '0.4.0', prs: [218] }, + ], searchAlias: { name: 'span.category', }, diff --git a/model/attributes/sentry/sentry__category.json b/model/attributes/sentry/sentry__category.json index c98fe794..d9f3ada2 100644 --- a/model/attributes/sentry/sentry__category.json +++ b/model/attributes/sentry/sentry__category.json @@ -28,6 +28,7 @@ { "value": "measure" }, { "value": "middleware" }, { "value": "navigation" }, + { "value": "object" }, { "value": "pageload" }, { "value": "queue" }, { "value": "resource" }, @@ -50,6 +51,10 @@ "name": "span.category" }, "changelog": [ + { + "version": "next", + "description": "Added object to the enum values" + }, { "version": "0.4.0", "prs": [218] diff --git a/python/src/sentry_conventions/attributes.py b/python/src/sentry_conventions/attributes.py index bc1cf32c..d6694c59 100644 --- a/python/src/sentry_conventions/attributes.py +++ b/python/src/sentry_conventions/attributes.py @@ -9481,6 +9481,7 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta): - `measure` - `middleware` - `navigation` + - `object` - `pageload` - `queue` - `resource` @@ -25791,6 +25792,9 @@ class ATTRIBUTE_NAMES(metaclass=_AttributeNamesMeta): visibility=Visibility.PUBLIC, example="db", changelog=[ + ChangelogEntry( + version="next", description="Added object to the enum values" + ), ChangelogEntry(version="0.4.0", prs=[218]), ], search_alias=SearchAlias(name="span.category"),