Skip to content

Commit

Permalink
Merge branch 'main' into poc/mpsc-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
tbuchaillot authored Jul 5, 2024
2 parents ea883aa + 545b959 commit 0e5c57e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions semconv/v1.0.0/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import (
)

const (
// GraphQLPrefix is the base prefix for all GraphQL attributes
GraphQLPrefix = "graphql."
// GraphQLOperationPrefix is the base prefix for all the GraphQL operation attributes
GraphQLOperationPrefix = "operation."
GraphQLOperationPrefix = GraphQLPrefix + "operation."
)

const (
Expand All @@ -20,7 +22,7 @@ const (

const (
// GraphQLDocumentKey represents The GraphQL document being executed.
GraphQLDocumentKey = attribute.Key("document")
GraphQLDocumentKey = attribute.Key(GraphQLPrefix + "document")
)

// GraphQLOperationName returns an attribute KeyValue conforming to the
Expand Down

0 comments on commit 0e5c57e

Please sign in to comment.