Semantic conventions for GraphQL Server
This document defines semantic conventions to apply when instrumenting the GraphQL implementation. They map GraphQL operations to attributes on a Span.
The span name MUST be of the format
<graphql.operation.type> <graphql.operation.name> provided that
graphql.operation.name are available. If
graphql.operation.name is not available, the
span SHOULD be named
<graphql.operation.type> is not available,
MAY be used as span name.
|string||The name of the operation being executed.||Recommended|
|string||The type of the operation being executed.||Recommended|
|string||The GraphQL document being executed. ||Recommended|
: The value may be sanitized to exclude sensitive information.
graphql.operation.type MUST be one of the following: