diff --git a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts index 4f653555ed..e6a3d8f35e 100644 --- a/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts +++ b/packages/opentelemetry-semantic-conventions/src/trace/SemanticAttributes.ts @@ -354,6 +354,21 @@ clear whether the exception will escape. */ CODE_LINENO: 'code.lineno', + /** + * The GraphQL document being executed. + */ + GRAPHQL_DOCUMENT: 'graphql.document', + + /** + * The name of the operation being executed. + */ + GRAPHQL_OPERATION_NAME: 'graphql.operation.name', + + /** + * The type of the operation being executed. + */ + GRAPHQL_OPERATION_TYPE: 'graphql.operation.type', + /** * HTTP request method. */