From 1b136db755cd43fdda286577ce9e74781e9ad583 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Fri, 24 Jul 2026 11:05:16 +0200 Subject: [PATCH] ref(opentelemetry): Use `sentry.graphql.operation` from conventions --- .../tracing/graphql/vendored/instrumentation.ts | 11 ++++++----- packages/opentelemetry/src/exports.ts | 2 -- packages/opentelemetry/src/semanticAttributes.ts | 3 --- .../opentelemetry/src/utils/parseSpanDescription.ts | 4 ++-- 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/packages/node/src/integrations/tracing/graphql/vendored/instrumentation.ts b/packages/node/src/integrations/tracing/graphql/vendored/instrumentation.ts index fd2459cb372c..e7e3a99b8b8e 100644 --- a/packages/node/src/integrations/tracing/graphql/vendored/instrumentation.ts +++ b/packages/node/src/integrations/tracing/graphql/vendored/instrumentation.ts @@ -65,8 +65,9 @@ import { startInactiveSpan, withActiveSpan, } from '@sentry/core'; -import { SEMANTIC_ATTRIBUTE_SENTRY_GRAPHQL_OPERATION } from '@sentry/opentelemetry'; + import type { GraphQLInstrumentationConfig, GraphQLInstrumentationParsedConfig } from './types'; +import { SENTRY_GRAPHQL_OPERATION } from '@sentry/conventions/attributes'; const PACKAGE_NAME = '@sentry/instrumentation-graphql'; @@ -267,7 +268,7 @@ export class GraphQLInstrumentation extends InstrumentationBase