Skip to content

Commit

Permalink
Fix span attribute name.
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Pilkington committed Aug 22, 2023
1 parent 42c6df3 commit 5bb759b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SmokeHTTPClient/HTTPOperationsClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ extension HTTPOperationsClient {

if let span = span {
span.attributes["http.method"] = httpMethod.rawValue
span.attributes["http.target"] = endpoint
span.attributes["http.url"] = endpoint
span.attributes["http.flavor"] = "1.1"
span.attributes["http.user_agent"] = requestHeaders.first(name: "user-agent")
span.attributes["http.request_content_length"] = requestHeaders.first(name: "content-length")
Expand Down

0 comments on commit 5bb759b

Please sign in to comment.