Skip to content

Commit 2e8090d

Browse files
committed
apm: clarify OTLP resource naming test cases
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: b6d01e71-c277-44a3-ade3-83bcd338b9f6
1 parent eebad87 commit 2e8090d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/trace/otel/traceutil/otel_util_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ func TestGetOTelResourceV2_HTTPRequestMethodResource(t *testing.T) {
837837
expected: "POST /api/users/{user_id}",
838838
},
839839
{
840-
name: "URL template takes precedence over route for client",
840+
name: "client uses URL template and ignores route",
841841
sattrs: map[string]string{
842842
"http.request.method": "POST",
843843
"url.template": "/api/users/{user_id}",
@@ -847,7 +847,7 @@ func TestGetOTelResourceV2_HTTPRequestMethodResource(t *testing.T) {
847847
expected: "POST /api/users/{user_id}",
848848
},
849849
{
850-
name: "route takes precedence over URL template for server",
850+
name: "server uses route and ignores URL template",
851851
sattrs: map[string]string{
852852
"http.request.method": "POST",
853853
"url.template": "/api/users/{user_id}",

0 commit comments

Comments
 (0)