From 3e9bc38cf39cc9646df57d4d830ffbb795ac0283 Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Wed, 11 Dec 2024 14:44:05 -0800 Subject: [PATCH] Add external reference --- pkg/trace/api/otlp.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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