File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ permissions:
7
7
8
8
env :
9
9
CONSOLE_OUTPUT : XTerm
10
+ TRACES_BACKEND : traces/backend/test
11
+ METRICS_BACKEND : metrics/backend/test
10
12
11
13
jobs :
12
14
test :
Original file line number Diff line number Diff line change @@ -165,6 +165,10 @@ def call(request)
165
165
end
166
166
167
167
super . tap do |response |
168
+ if version = response &.version
169
+ span [ 'http.version' ] = version
170
+ end
171
+
168
172
if status = response &.status
169
173
span [ 'http.status_code' ] = status
170
174
end
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ def call(request)
81
81
end
82
82
83
83
attributes = {
84
+ 'http.version' : request . version ,
84
85
'http.method' : request . method ,
85
86
'http.authority' : request . authority ,
86
87
'http.scheme' : request . scheme ,
You can’t perform that action at this time.
0 commit comments