From 46093a4c83a7bbc9d751073bfbdc3315922ebf86 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 3 Sep 2026 09:44:26 +0200 Subject: [PATCH 1/2] fix(descriptions): Add graphql-enhanced http.client span description template --- model/description/http.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/model/description/http.json b/model/description/http.json index f4d106a3..c88bd65c 100644 --- a/model/description/http.json +++ b/model/description/http.json @@ -5,8 +5,14 @@ "name": "Client", "brief": "Operations that represent outgoing HTTP requests.", "ops": ["http.client", "http.client.stream"], - "templates": ["{{http.request.method}} {{url.full}}"], - "examples": ["GET https://api.mydomain.com/users/123?expand=full"] + "templates": [ + "{{http.request.method}} {{url.full}} ({{graphql.operation.type}} {{graphql.operation.name}})", + "{{http.request.method}} {{url.full}}" + ], + "examples": [ + "GET https://api.mydomain.com/users/123?expand=full", + "POST https://api.mydomain.com/graphql (query GetUser)" + ] }, { "name": "Server", From f8cd91d571e0e893700705cd9fedd8804b6b68ab Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 3 Sep 2026 13:55:47 +0200 Subject: [PATCH 2/2] add another template for just graphql.operation.type --- model/description/http.json | 1 + 1 file changed, 1 insertion(+) diff --git a/model/description/http.json b/model/description/http.json index c88bd65c..49346e54 100644 --- a/model/description/http.json +++ b/model/description/http.json @@ -7,6 +7,7 @@ "ops": ["http.client", "http.client.stream"], "templates": [ "{{http.request.method}} {{url.full}} ({{graphql.operation.type}} {{graphql.operation.name}})", + "{{http.request.method}} {{url.full}} ({{graphql.operation.type}})", "{{http.request.method}} {{url.full}}" ], "examples": [