diff --git a/pkg/trace/api/otlp.go b/pkg/trace/api/otlp.go index b76431676a787..557ed5e93898b 100644 --- a/pkg/trace/api/otlp.go +++ b/pkg/trace/api/otlp.go @@ -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