Skip to content

Commit

Permalink
Add external reference
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc committed Dec 11, 2024
1 parent e715bb7 commit 3e9bc38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/trace/api/otlp.go
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,8 @@ func resourceFromTags(meta map[string]string) string {
return m + " " + svc
}
return m
// Enrich GraphQL query resource names
// Enrich GraphQL query resource names.
// See https://github.com/open-telemetry/semantic-conventions/blob/v1.29.0/docs/graphql/graphql-spans.md
} else if typ := meta[semconv117.AttributeGraphqlOperationType]; typ != "" {
if name := meta[semconv117.AttributeGraphqlOperationName]; name != "" {
return typ + " " + name
Expand Down

0 comments on commit 3e9bc38

Please sign in to comment.